CONOPT
|
Data Structures | |
struct | ConoptVariable |
the variable data More... | |
struct | ConoptConstraint |
the constraint data More... | |
Functions | |
int | ConoptModelData::numVar () const |
returns the number of variables in the model | |
int | ConoptModelData::numCons () const |
returns the number of constraints in the model | |
int | ConoptModelData::numHessianNonzeros () const |
returns the number of non-zeros in the Hessian | |
const ConoptVariable & | ConoptModelData::getVariable (int index) const |
returns a reference to the variable object | |
const ConoptConstraint & | ConoptModelData::getConstraint (int index) const |
returns a reference to the constraint object | |
Methods to query information about the model.
int ConoptModelData::numVar | ( | ) | const |
returns the number of variables in the model
int ConoptModelData::numCons | ( | ) | const |
returns the number of constraints in the model
int ConoptModelData::numHessianNonzeros | ( | ) | const |
returns the number of non-zeros in the Hessian
const ConoptVariable & ConoptModelData::getVariable | ( | int | index | ) | const |
returns a reference to the variable object
const ConoptConstraint & ConoptModelData::getConstraint | ( | int | index | ) | const |
returns a reference to the constraint object