CONOPT
|
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 | |
Methods to query information about the model.
conopt.ModelData.numVar | ( | self | ) |
returns the number of variables in the model
Reimplemented from conopt.ConoptModelData.
conopt.ModelData.numCons | ( | self | ) |
returns the number of constraints in the model
Reimplemented from conopt.ConoptModelData.
conopt.ModelData.numHessianNonzeros | ( | self | ) |
returns the number of non-zeros in the Hessian
Reimplemented from conopt.ConoptModelData.
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.
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.