indicates whether fCon
or fCon or both must be assigned during the present call
of funcon (0
mode
2). This
parameter can be ignored if Derivative linesearch is
selected (the default) and if Derivative level = 2 or
3. In this
case, mode will always have the value 2, and all elements
of fCon and fCon must be assigned (except
perhaps constant elements of fCon).
Otherwise, snopt will call funcon with mode =0, 1 or 2. You may test mode to decide what to do:
If mode = 2, assign fCon and the known components of gCon.
If mode = 1, assign the known components of gCon; fCon is not required and is ignored.
If mode = 0, only fCon need be assigned; gCon is ignored.
is the number of nonlinear constraints (nnCon > 0). These must be the first nnCon constraints in the problem.
is the number of variables
involved in F(x) (0 < nnJac
n). These must be the first nnJac
variables in the problem.
is the value nnCon*nnJac.
contains the nonlinear Jacobian variables x. The array x must not be altered.
is used as in funobj.
are the same as in funobj.