cofg - Evaluate objective function and possibly its gradient
f=cofg(x) returns the value of the objective function in f.
[f,g]=cofg(x) also returns the gradient vector in g.
sifdecode(get_sif_path()+'sif/BT1.SIF',TMPDIR+'/BT1') buildprob(TMPDIR+'/BT1') [x,bl,bu,v,cl,cu,equatn,linear] = csetup(TMPDIR+'/BT1/OUTSDIF.d'); [F,G]=cofg(x)
Nicholas I.M. Gould - n.gould@rl.ac.uk - RAL
Dominique Orban - orban@ece.northwestern.edu - Northwestern
Philippe L. Toint - Philippe.Toint@fundp.ac.be - FUNDP
see http://hsl.rl.ac.uk/cuter-www