|
synchronized void | delete () |
|
void | swigReleaseOwnership () |
|
void | swigTakeOwnership () |
|
| ModelData () |
|
double | evaluateNonlinearTerm (double[] x, int rowno, boolean ignerr, int thread) |
| callback method for evaluating the nonlinear terms in a given row
|
|
void | evaluateNonlinearJacobian (double[] x, double[] jac, int rowno, int[] jacnum, boolean ignerr, int thread) |
| callback method for evaluating the jacobian for the nonlinear terms in a given row
|
|
void | initFDEvaluation (double[] x, int[] rowlist, EvaluationMode mode, int numthread, boolean ignerr) |
| callback method for initialising the first derivative evaluation.
|
|
void | endFDEvaluation (boolean ignerr) |
| Optional function, if defined, it will be called at the end of the function evaluation stage. This can be used to clean up any user data generated, such as in FDEvalIni , that was used to improve the efficiency of the function and derivative evaluation.
|
|
void | evaluateSDLagrangian (double[] x, double[] u, int[] hessianrow, int[] hessiancol, double[] hessianval) |
| Computes and returns the numerical values of the Lagrangian of the Hessian.
|
|
void | evaluateSDDirLagrangian (double[] x, double[] dx, double[] u, double[] d2g, boolean newpoint) |
| computes the directional second derivative for the Lagrangian
|
|
void | evaluateDirectionalSD (double[] x, double[] dx, double[] d2g, int rowno, int[] jacnum, int thread) |
| computes the directional second derivative for a single constraint
|
|
void | initDirectionalSDEval (double[] x, double[] dx, int[] rowlist, int numthread, boolean newpoint) |
| a callback for the initialisation of the second derivative evaluation.
|
|
void | endDirectionalSDEval () |
| called by CONOPT after a sequence of evaluateDirectionalSD() calls each time either the point or the direction changes.
|
|
void | errorInEvaluation () |
| reports that an error occurred in the evaluation.
|
|
void | setProblemDimension (long numvar, long numcons, long numnz, long numnlnz) |
|
int | addConstraint (ConstraintType constype, double rhs, int slackstatus) |
|
int | addConstraint (ConstraintType constype, double rhs) |
|
int | addConstraint (ConstraintType constype, double rhs, int[] varindex, double[] value, int[] nlflag, int slackstatus) |
|
int | addConstraint (ConstraintType constype, double rhs, int[] varindex, double[] value, int[] nlflag) |
|
int | addVariable (double lower, double upper, double curr, int varstatus) |
|
int | addVariable (double lower, double upper, double curr) |
|
int | addVariable (double lower, double upper) |
|
int | addVariable (double lower, double upper, int[] consindex, double[] value, int[] nlflag, double curr, int varstatus) |
|
int | addVariable (double lower, double upper, int[] consindex, double[] value, int[] nlflag, double curr) |
|
int | addVariable (double lower, double upper, int[] consindex, double[] value, int[] nlflag) |
|
void | setObjectiveElement (ObjectiveElement elem, int elemindex) |
|
void | setOptimizationSense (Sense sense) |
|
void | setInitialStatusOption (int inistat) |
|
int | numVar () |
|
int | numCons () |
|
int | numHessianNonzeros () |
|
Variable | getVariable (int index) |
|
Constraint | getConstraint (int index) |
|
void | setSDEvaluationType (SDEvaluationType sdevaltype) |
|
void | setSDLagrangianStructure (int[] rownum, int[] colnum) |
|
| ConoptModelData () |
|
int | readMatrix (SWIGTYPE_p_double lower, SWIGTYPE_p_double curr, SWIGTYPE_p_double upper, SWIGTYPE_p_int vsta, SWIGTYPE_p_int type, SWIGTYPE_p_double rhs, SWIGTYPE_p_int esta, SWIGTYPE_p_int colsta, SWIGTYPE_p_int rowno, SWIGTYPE_p_double value, SWIGTYPE_p_int nlflag, int numvar, int numcon, int numnz) |
|
int[] | getSDLagrangianRowNumbers () |
|
int[] | getSDLagrangianColumnNumbers () |
|
A class that can be extended to build and solve a model using Conopt.
This class is the base class that is used for the extended interfaces for Conopt, namely Python and Java. The virtual methods included in this class can be redefined in the native languages.
Definition at line 23 of file ModelData.java.