CONOPT
Loading...
Searching...
No Matches

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
 

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 584 of file conopt.hpp.

Constructor & Destructor Documentation

◆ ConoptConstraint()

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

Definition at line 586 of file conopt.hpp.

Field Documentation

◆ index

int ConoptConstraint::index

the index of the constraint in the problem

Definition at line 594 of file conopt.hpp.

◆ constype

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.

◆ rhs

double ConoptConstraint::rhs

the right hand side of the constraint

Definition at line 596 of file conopt.hpp.

◆ slackstatus

int ConoptConstraint::slackstatus

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

Definition at line 597 of file conopt.hpp.


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