CONOPT
|
Functions | |
int | jconopt.Conopt.fVincLin (int fvinclin) |
include the linear terms in function evaluations. | |
int | jconopt.Conopt.fVforAll (int fvforall) |
call the FDEval for all constraints, including linear constraints. | |
Before any model data can be loaded into CONOPT, the dimensions of the problem must be first specified.
This includes the number of variables, the number of constraints, the number of non-zeros, etc. The routines for registering the problem sizes are given in this section. These sizes are used in callbacks when loading the problem matrix and evaluating the first derivatives.
|
inline |
include the linear terms in function evaluations.
CONOPT assumes that the function values returned by the user defined callback routine FDEval
only include nonlinear terms, i.e. terms that correspond to variables that appear nonlinearly in the particular constraint.
If you prefer your FDEval
routine to return function values as the sum of both linear and nonlinear terms then you must inform CONOPT by calling this method with FVincLin = 1
. FVincLin = 0
will return CONOPT to the default behavior.
fvinclin | the linear terms in functions |
Definition at line 386 of file Conopt.java.
|
inline |
call the FDEval for all constraints, including linear constraints.
CONOPT will usually only call the user provided FDEval
routine for nonlinear constraints. However, some models may have constant terms included in FDEval
instead of in the right hand side, also for linear constraints.
FDEval
routine is programmed this way you must tell CONOPT to call FDEval
for all constraints, linear as well as nonlinear, by calling this method with FVforAll = 1
. Calling again with FVforAll = 0
will return CONOPT to its default behavior.fvforall | the linear constraints in functions |
Definition at line 397 of file Conopt.java.