CONOPT
|
Functions | |
conopt.ModelData.evaluateNonlinearTerm (self, x, rowno, ignerr, thread) | |
callback method for evaluating the nonlinear terms in a given row | |
conopt.ModelData.evaluateNonlinearJacobian (self, x, rowno, jacnum, ignerr, thread) | |
callback method for evaluating the jacobian for the nonlinear terms in a given row | |
conopt.ModelData.endFDEvaluation (self, ignerr) | |
Optional function, if defined, it will be called at the end of the function evaluation stage. | |
Virtual functions to be implemented by the user for the evaluation of non-linear functions and derivatives.
conopt.ModelData.evaluateNonlinearTerm | ( | self, | |
x, | |||
rowno, | |||
ignerr, | |||
thread ) |
callback method for evaluating the nonlinear terms in a given row
x | the solution vector that needs to be evaluated. |
rowno | the number for the row in which the nonlinear term exists. |
ignerr | a boolean to indicate whether the current point is safe or unsafe. |
thread | the index of the thread from which this method is being called from. |
Notes: an error in the evaluation is reported by calling errorInEvaluation()
conopt.ModelData.evaluateNonlinearJacobian | ( | self, | |
x, | |||
rowno, | |||
jacnum, | |||
ignerr, | |||
thread ) |
callback method for evaluating the jacobian for the nonlinear terms in a given row
x | the solution vector that needs to be evaluated. |
rowno | the number for the row in which the nonlinear term exists. |
jacnum | vector with a list of column numbers for the nonlinear nonzero Jacobian elements in the row. |
ignerr | a boolean to indicate whether the current point is safe or unsafe. |
thread | the index of the thread from which this method is being called from. |
Notes: an error in the evaluation is reported by calling errorInEvaluation()
conopt.ModelData.endFDEvaluation | ( | self, | |
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.
ignerr | a boolean to indicate whether the current point is safe or unsafe. |
Notes: an error in the evaluation is reported by calling errorInEvaluation()