CONOPT
Loading...
Searching...
No Matches
largeres2.LargeResModelData Class Reference

Public Member Functions

 __init__ (self)
 
 buildModel (self)
 adding the variables and constraints to the model
 
 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
 

Data Fields

 varidx
 
 considx = self.addConstraint(co.ConstraintType_Eq, 10, [0], [0], [1])
 

Detailed Description

Definition at line 18 of file largeres2.py.

Constructor & Destructor Documentation

◆ __init__()

largeres2.LargeResModelData.__init__ ( self)

Definition at line 19 of file largeres2.py.

Field Documentation

◆ varidx

largeres2.LargeResModelData.varidx
Initial value:
= self.addVariable(
-co.Conopt.Infinity, co.Conopt.Infinity, 100.0
)

Definition at line 28 of file largeres2.py.

◆ considx

largeres2.LargeResModelData.considx = self.addConstraint(co.ConstraintType_Eq, 10, [0], [0], [1])

Definition at line 33 of file largeres2.py.


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