CONOPT
Loading...
Searching...
No Matches

Data Structures

class  pyconopt.Variable
 the variable data More...
 
class  pyconopt.Constraint
 the constraint data More...
 

Functions

 pyconopt.ModelData.numVar (self)
 returns the number of variables in the model
 
 pyconopt.ModelData.numCons (self)
 returns the number of constraints in the model
 
 pyconopt.ModelData.numHessianNonzeros (self)
 returns the number of non-zeros in the Hessian
 
 pyconopt.ModelData.getVariable (self, index)
 returns a reference to the variable object
 
 pyconopt.ModelData.getConstraint (self, index)
 returns a reference to the constraint object
 

Detailed Description

Methods to query information about the model.

Function Documentation

◆ numVar()

pyconopt.ModelData.numVar ( self)

returns the number of variables in the model

Reimplemented from pyconopt.ConoptModelData.

Definition at line 2803 of file pyconopt.py.

◆ numCons()

pyconopt.ModelData.numCons ( self)

returns the number of constraints in the model

Reimplemented from pyconopt.ConoptModelData.

Definition at line 2812 of file pyconopt.py.

◆ numHessianNonzeros()

pyconopt.ModelData.numHessianNonzeros ( self)

returns the number of non-zeros in the Hessian

Reimplemented from pyconopt.ConoptModelData.

Definition at line 2821 of file pyconopt.py.

◆ getVariable()

pyconopt.ModelData.getVariable ( self,
index )

returns a reference to the variable object

Reimplemented from pyconopt.ConoptModelData.

Definition at line 2830 of file pyconopt.py.

◆ getConstraint()

pyconopt.ModelData.getConstraint ( self,
index )

returns a reference to the constraint object

Reimplemented from pyconopt.ConoptModelData.

Definition at line 2839 of file pyconopt.py.