CONOPT
|
the constraint data More...
#include <conopt.hpp>
Public Member Functions | |
ConoptConstraint (int idx, ConoptConstraintType type, double bound, int slackstat) | |
Data Fields | |
int | index |
ConoptConstraintType | constype |
double | rhs |
int | slackstatus |
the constraint data
This struct is used internally for supplying the variable data to CONOPT. The user is able to query this data from the ConoptModelData object. However, the user is not able to change the data after the variable has been added to CONOPT.
Definition at line 584 of file conopt.hpp.
|
inline |
Definition at line 586 of file conopt.hpp.
int ConoptConstraint::index |
the index of the constraint in the problem
Definition at line 594 of file conopt.hpp.
ConoptConstraintType ConoptConstraint::constype |
0: equality, 1: greater than or equal, 2: less than or equal, 3: free row
Definition at line 595 of file conopt.hpp.
double ConoptConstraint::rhs |
the right hand side of the constraint
Definition at line 596 of file conopt.hpp.
int ConoptConstraint::slackstatus |
the initial status of the slacks. This depends on the COIDEF_IniStat setting.
Definition at line 597 of file conopt.hpp.