CONOPT
Loading...
Searching...
No Matches
qp4.QPModelData Class Reference

Public Member Functions

 __init__ (self)
 
 buildModel (self)
 adding the variables and constraints to the model
 
 setLagrangianStructure (self)
 define the lagrangian structure and supplies it to CONOPT
 
 evaluateNonlinearTerm (self, x, rowno, ignerr, thread)
 callback method for evaluating the nonlinear terms in a given row
 
 evaluateNonlinearJacobian (self, x, rowno, jacnum, ignerr, thread)
 callback method for evaluating the jacobian for the nonlinear terms in a given row
 
 evaluateDirectionalSD (self, x, dx, rowno, jacnum, thread)
 computes the directional second derivative for a single constraint
 
 evaluateSDLagrangian (self, x, u, hessianrow, hessiancol)
 Computes and returns the numerical values of the Lagrangian of the Hessian.
 

Data Fields

int NN = 1000
 
int NQ = self.NN * 2 - 1
 
list target = [10] * self.NN
 
list Qdiag = [1] * self.NN
 
list Qlowerdiag = [0.1] * (self.NN - 1)
 

Detailed Description

Definition at line 17 of file qp4.py.

Constructor & Destructor Documentation

◆ __init__()

qp4.QPModelData.__init__ ( self)

Definition at line 18 of file qp4.py.

Field Documentation

◆ NN

qp4.QPModelData.NN = 1000

Definition at line 19 of file qp4.py.

◆ NQ

int qp4.QPModelData.NQ = self.NN * 2 - 1

Definition at line 20 of file qp4.py.

◆ target

list qp4.QPModelData.target = [10] * self.NN

Definition at line 25 of file qp4.py.

◆ Qdiag

list qp4.QPModelData.Qdiag = [1] * self.NN

Definition at line 26 of file qp4.py.

◆ Qlowerdiag

list qp4.QPModelData.Qlowerdiag = [0.1] * (self.NN - 1)

Definition at line 27 of file qp4.py.


The documentation for this class was generated from the following file: