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

Public Member Functions

 __init__ (self)
 
 buildModel (self)
 adding the variables and constraints to the model
 
 evaluateNonlinearTerm (self, x, rowno, ignerr, thread)
 
 evaluateNonlinearJacobian (self, x, rowno, jacnum, ignerr, thread)
 
 evaluateDirectionalSD (self, x, dx, rowno, jacnum, thread)
 

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 qp2.py.

Constructor & Destructor Documentation

◆ __init__()

qp2.QPModelData.__init__ ( self)

Definition at line 18 of file qp2.py.

Field Documentation

◆ NN

qp2.QPModelData.NN = 1000

Definition at line 19 of file qp2.py.

◆ NQ

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

Definition at line 20 of file qp2.py.

◆ target

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

Definition at line 25 of file qp2.py.

◆ Qdiag

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

Definition at line 26 of file qp2.py.

◆ Qlowerdiag

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

Definition at line 27 of file qp2.py.


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