CCIFG − CUTEr tool to evaluate a single constraint function value and possibly gradient. |
CALL CCIFG( N, ICON, X, CI, GCI, GRAD ) |
The CCIFG subroutine evaluates the value of a particular constraint function of the problem decoded into OUTSDIF.d at the point X, and possibly its gradient in the constrained minimization case. |
The arguments of CCIFG are as follows |
N [in] - integer |
the number of variables for the problem, |
ICON [in] - integer |
the index of the constraint function to be evaluated, |
X [in] - real/double precision |
an array which gives the current estimate of the solution of the problem, |
CI [out] - real/double precision |
the value of constraint function ICON at X, |
GCI [out] - real/double precision |
an array which gives the gradient of constraint function ICON evaluated at X, |
GRAD [in] - logical |
a logical variable which should be set .TRUE. if the gradient of the constraint functions are required and .FALSE. otherwise. |
I. Bongartz, A.R. Conn, N.I.M. Gould, D. Orban and Ph.L. Toint |
CUTEr (and SifDec): A Constrained and Unconstrained Testing Environment, revisited, N.I.M. Gould, D. Orban and Ph.L. Toint, ACM TOMS, 29:4, pp.373-394, 2003. CUTE: Constrained and Unconstrained Testing Environment, I. Bongartz, A.R. Conn, N.I.M. Gould and Ph.L. Toint, TOMS, 21:1, pp.123-160, 1995. |