Scilab Function sifoptim - apply optim function to a SIF problem
Calling Sequence
- [fopt,xopt,gopt,report]=sifoptim(siffile,algo,Stop)
Parameters
- siffile
: path of the SIF problem file
- algo
: string "qn" or "gc" optim method selection
- Stop
: vector [nap iter epsg epsf] which gives the maximum number of
function calls the maximum number of iteration to do, the
threshold on gradient norm and the threshold controlling
decreasing of the criterion (see optim)
- fopt
: scalar, criterion at the found optimum
- gopt
: vector, Gradient at the found optimum
- xopt
: vector, optimum location
- report
: vector of string giving the summary of the computation
[problem_name, dimension, number_of_constraints,
number_of_calls, optimum_value,norm_of_gradient,c]
Description
The sifoptim function decodes, compile, link the given problem and
then call the Scilab function optim in order to solve the given
problem. At the end the problem is removed out of scilab.
Examples
p=get_sif_path()
[fopt,xopt,gopt,report]=sifoptim(p+'/sif/BROWNDEN.SIF','qn')
Authors
Bruno Durand, INRIA
Serge Steer, INRIA