unconstrained tool, function evaluation.
F = ufn(X)
real vector, variables of the problem
objective function evaluated at X
ufn evaluates the objective function of the problem decoded into OUTSDIF.d at the point X, in the case where the only possible constraints are bound constraints.
sifdecode(get_sif_path()+'sif/AKIVA.SIF',TMPDIR+'/AKIVA') buildprob(TMPDIR+'/AKIVA') [X,BL,BU] = usetup(TMPDIR+'/AKIVA/OUTSDIF.d'); x = linspace(-1,0.1,30);y=linspace(-2,2,50); function z=f(x, y),z=ufn([x;y]),endfunction clf(); plot3d(x,y,feval(x,y,f)/100,theta=92,alpha=37) unlink('siftools') //remove problem out of Scilab | ![]() | ![]() |
Based on CUTEr authored by
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