GAMSlinks  0.4
Public Member Functions | Public Attributes | List of all members
GamsBCH::Cut Class Reference

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...
 

Detailed Description

Structure to store a Cut generated by a Gams BCH cut generator.

Definition at line 28 of file GamsBCH.hpp.

Constructor & Destructor Documentation

GamsBCH::Cut::Cut ( )

Constructor.

Initializes lb and ub to 0! indices and coeff are set to NULL, nnz to -1.

GamsBCH::Cut::~Cut ( )

Destructor.

Member Data Documentation

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.


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