<< ccfsg CUTEr ccifsg >>

CUTEr >> CUTEr > ccifg

ccifg

Evaluates a particular constraint function and possibly its gradient

Calling Sequence

[ci,gci] = ccifg(x,i)

Parameters

x

real vector

i

integer, constraint number

ci

value of constraint number i

gci

value of the gradient of constraint number i

Description

ccifg Evaluates a particular constraint function and possibly its gradient at x. [ci,gci]=ccifg(x,i) returns the value of constraint number i at x in ci and its gradient in gci. ci=ccifg(x,i) returns the value of constraint number i at x in ci.

Examples

sifdecode(get_sif_path()+'sif/BT1.SIF',TMPDIR+'/BT1')
buildprob(TMPDIR+'/BT1')
[x,bl,bu,v,cl,cu,equatn,linear] = csetup(TMPDIR+'/BT1/OUTSDIF.d');
[ci,gci] = ccifg(x,1)

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
<< ccfsg CUTEr ccifsg >>