text_combined: zero curve generator uk gilts anjam model fitting term structure uk gilts basic idea follows dirty price _ ith gilt sum _ j c _ 2 discount factor _ j 100 discount factor _ ni using five parameters analytical form discount factors minimizing sum absolute errors derive smooth zero curve model needs initial guess parameters may require experience log file help see well optimization works let know questions zimin