CONOPT
|
Functions | |
tutorial2str.TutModelData.buildModel (self) | |
adding the variables and constraints to the model | |
tutorial2str.TutModelData.tapeFunction (self, x, rowno) | |
evaluates the nonlinear function and records a tape is necessary | |
tutorial2str.TutModelData.initialiseAutoDiff (self) | |
initialises the automatic differentiation | |
tutorial2str.TutModelData.computeHessianStructure (self) | |
uses the automatic differentiation methods to compute the Hessian structure | |
tutorial2str.TutModelData.evaluateNonlinearTerm (self, x, rowno, ignerr, thread) | |
tutorial2str.TutModelData.evaluateNonlinearJacobian (self, x, rowno, jacnum, ignerr, thread) | |
tutorial2str.TutModelData.evaluateSDLagrangian (self, x, u, hessianrow, hessiancol) | |
this extends the tutorial by including the computation of the structure of the Hessian and the value of the Lagrangian of the Hessian.
tutorial2str.TutModelData.buildModel | ( | self | ) |
adding the variables and constraints to the model
Definition at line 30 of file tutorial2str.py.
tutorial2str.TutModelData.tapeFunction | ( | self, | |
x, | |||
rowno ) |
evaluates the nonlinear function and records a tape is necessary
x | current point to be evaluated |
rowno | the index of the constraint. This is also used for the trace tag. |
Definition at line 62 of file tutorial2str.py.
tutorial2str.TutModelData.initialiseAutoDiff | ( | self | ) |
initialises the automatic differentiation
Definition at line 95 of file tutorial2str.py.
tutorial2str.TutModelData.computeHessianStructure | ( | self | ) |
uses the automatic differentiation methods to compute the Hessian structure
Definition at line 108 of file tutorial2str.py.
tutorial2str.TutModelData.evaluateNonlinearTerm | ( | self, | |
x, | |||
rowno, | |||
ignerr, | |||
thread ) |
Definition at line 140 of file tutorial2str.py.
tutorial2str.TutModelData.evaluateNonlinearJacobian | ( | self, | |
x, | |||
rowno, | |||
jacnum, | |||
ignerr, | |||
thread ) |
Definition at line 153 of file tutorial2str.py.
tutorial2str.TutModelData.evaluateSDLagrangian | ( | self, | |
x, | |||
u, | |||
hessianrow, | |||
hessiancol ) |
Definition at line 170 of file tutorial2str.py.