CFN − CUTEr tool to evaluate function and constraints values. |
CALL CFN( N, M, X, F, LC, C ) |
The CFN subroutine evaluates the value of the objective function and general constraint functions of the problem decoded into OUTSDIF.d at the point X, in the constrained programming case. |
The arguments of CFN are as follows |
N [in] - integer |
the number of variables for the problem, |
M [in] - integer |
the total number of general constraints, |
X [in] - real/double precision |
an array which gives the current estimate of the solution of the problem, |
F [out] - real/double precision |
the value of the objective function evaluated at X, |
C [out] - real/double precision |
an array which gives the values of the general constraint functions evaluated at X. The i-th component of C will contain the value of c_i (x), |
LC [in] - integer |
is the actual declared dimension of C, with LC no smaller than M. |
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. ufn(3M). |