Scilab Function

ucost - Evaluate objective function and gradient

Calling Sequence

[f,gred,ind] = ucost(X,ind)

Parameters

Description

ubanh returns functon and gradient evaluation. ucost is designed to put aside evaluation on fixed variables. print: Set print to 0 if you don't want intermediate results Set print to n if you want results every n iterations. (default) no output genarted if print omitted. ind: See optim about costf for more details.

Examples

See Also

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