CONOPT
Loading...
Searching...
No Matches

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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ConoptConstraint()

ConoptConstraint::ConoptConstraint ( int idx,
ConoptConstraintType type,
double bound,
int slackstat )
inline

Definition at line 111 of file modeldata.h.

Field Documentation

◆ index

int ConoptConstraint::index

the index of the constraint in the problem

Definition at line 119 of file modeldata.h.

◆ constype

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.

◆ rhs

double ConoptConstraint::rhs

the right hand side of the constraint

Definition at line 121 of file modeldata.h.

◆ slackstatus

int ConoptConstraint::slackstatus

the initial status of the slacks. This depends on the COIDEF_IniStat setting.

Definition at line 122 of file modeldata.h.


The documentation for this struct was generated from the following file: