GAMSlinks
0.4
|
Structure to store a Cut generated by a Gams BCH cut generator. More...
#include <GamsBCH.hpp>
Public Member Functions | |
Cut () | |
Constructor. More... | |
~Cut () | |
Destructor. More... | |
Public Attributes | |
double | lb |
Lower bound of cut. More... | |
double | ub |
Upper bound of cut. More... | |
int | nnz |
Number of nonzero coefficients. More... | |
int * | indices |
Indices of nonzero coefficients. More... | |
double * | coeff |
Nonzero coefficients. More... | |
Structure to store a Cut generated by a Gams BCH cut generator.
Definition at line 28 of file GamsBCH.hpp.
GamsBCH::Cut::Cut | ( | ) |
Constructor.
Initializes lb and ub to 0! indices and coeff are set to NULL, nnz to -1.
GamsBCH::Cut::~Cut | ( | ) |
Destructor.
double GamsBCH::Cut::lb |
Lower bound of cut.
Definition at line 31 of file GamsBCH.hpp.
double GamsBCH::Cut::ub |
Upper bound of cut.
Definition at line 33 of file GamsBCH.hpp.
int GamsBCH::Cut::nnz |
Number of nonzero coefficients.
Definition at line 35 of file GamsBCH.hpp.
int* GamsBCH::Cut::indices |
Indices of nonzero coefficients.
Definition at line 37 of file GamsBCH.hpp.
double* GamsBCH::Cut::coeff |
Nonzero coefficients.
Definition at line 39 of file GamsBCH.hpp.