<< cdimsj CUTEr cgr >>

CUTEr >> CUTEr > cfn

cfn

Evaluate objective function and general constraint functions

Calling Sequence

[f,c] = cfn(x)

Parameters

x

real vector, variable

f

value of the objective function

c

vector of general constraint values

Description

[f,c]=cfn(x) returns the value of the objective function in f and returns the vector of general constraint values in c.

See Also

Examples

sifdecode(get_sif_path()+'sif/DEMBO7.SIF',TMPDIR+'/DEMBO7');
buildprob(TMPDIR+'/DEMBO7');
[x,bl,bu,v,cl,cu,equatn,linear] = csetup(TMPDIR+'/DEMBO7/OUTSDIF.d');
[f,c] = cfn(x)

Authors

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


Report an issue
<< cdimsj CUTEr cgr >>