Scilab Function uofg - unconstrained tool, evaluation of function and possibly gradient.
Calling Sequence
- [F,G] = uofg(X)
Parameters
- X
: real vector, variables of the problem
- F
: value of the objective function at the point X.
- G
: real vector, gradient of the objective function at the point X.
Description
The uofg subroutine evaluates the value of the objective function
of the current SIF problem (see usetup) at the point
X, and possibly its gradient in the case where the only possible
constraints are bound constraints.
Examples
sifdecode(get_sif_path()+'sif/AKIVA.SIF',TMPDIR+'/AKIVA')
buildprob(TMPDIR+'/AKIVA')
[X,BL,BU]=usetup(TMPDIR+'/AKIVA/OUTSDIF.d');
[f,g]=uofg(X)
X=[-0.053109827466;-0.237575444849];
[f,g]=uofg(X)
See Also
Authors
Bruno Durand, INRIA
Serge Steer, INRIA
Bibliography
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