CONOPT
Loading...
Searching...
No Matches

Data Structures

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

Functions

 conopt.ModelData.numVar (self)
 returns the number of variables in the model
 
 conopt.ModelData.numCons (self)
 returns the number of constraints in the model
 
 conopt.ModelData.numHessianNonzeros (self)
 returns the number of non-zeros in the Hessian
 
 conopt.ModelData.getVariable (self, *args)
 Overload 1: returns a reference to the variable object
 
 conopt.ModelData.getConstraint (self, *args)
 Overload 1: returns a reference to the constraint object
 

Detailed Description

Methods to query information about the model.

Function Documentation

◆ numVar()

conopt.ModelData.numVar ( self)

returns the number of variables in the model

Reimplemented from conopt.ConoptModelData.

Definition at line 2611 of file conopt.py.

◆ numCons()

conopt.ModelData.numCons ( self)

returns the number of constraints in the model

Reimplemented from conopt.ConoptModelData.

Definition at line 2620 of file conopt.py.

◆ numHessianNonzeros()

conopt.ModelData.numHessianNonzeros ( self)

returns the number of non-zeros in the Hessian

Reimplemented from conopt.ConoptModelData.

Definition at line 2629 of file conopt.py.

◆ getVariable()

conopt.ModelData.getVariable ( self,
* args )

Overload 1: returns a reference to the variable object

|

Overload 2: returns a reference to the variable object

Reimplemented from conopt.ConoptModelData.

Definition at line 2638 of file conopt.py.

◆ getConstraint()

conopt.ModelData.getConstraint ( self,
* args )

Overload 1: returns a reference to the constraint object

|

Overload 2: returns a reference to the constraint object

Reimplemented from conopt.ConoptModelData.

Definition at line 2656 of file conopt.py.