CONOPT
Loading...
Searching...
No Matches
qp1.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)
 

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 16 of file qp1.py.

Constructor & Destructor Documentation

◆ __init__()

qp1.QPModelData.__init__ ( self)

Definition at line 17 of file qp1.py.

Field Documentation

◆ NN

qp1.QPModelData.NN = 1000

Definition at line 18 of file qp1.py.

◆ NQ

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

Definition at line 19 of file qp1.py.

◆ target

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

Definition at line 24 of file qp1.py.

◆ Qdiag

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

Definition at line 25 of file qp1.py.

◆ Qlowerdiag

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

Definition at line 26 of file qp1.py.


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