CONOPT
|
the constraint data More...
#include <modeldata.h>
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 109 of file modeldata.h.
|
inline |
Definition at line 111 of file modeldata.h.
int ConoptConstraint::index |
the index of the constraint in the problem
Definition at line 119 of file modeldata.h.
ConoptConstraintType ConoptConstraint::constype |
0: equality, 1: greater than or equal, 2: less than or equal, 3: free row
Definition at line 120 of file modeldata.h.
double ConoptConstraint::rhs |
the right hand side of the constraint
Definition at line 121 of file modeldata.h.
int ConoptConstraint::slackstatus |
the initial status of the slacks. This depends on the COIDEF_IniStat setting.
Definition at line 122 of file modeldata.h.