CONOPT
Loading...
Searching...
No Matches
qp3.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
 
 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 qp3.py.

Constructor & Destructor Documentation

◆ __init__()

qp3.QPModelData.__init__ ( self)

Definition at line 18 of file qp3.py.

Field Documentation

◆ NN

qp3.QPModelData.NN = 1000

Definition at line 19 of file qp3.py.

◆ NQ

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

Definition at line 20 of file qp3.py.

◆ target

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

Definition at line 25 of file qp3.py.

◆ Qdiag

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

Definition at line 26 of file qp3.py.

◆ Qlowerdiag

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

Definition at line 27 of file qp3.py.


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