To store extra cuts generated by columns from which they origin. More...
#include <CglLandPUtils.hpp>
Public Member Functions | |
Cuts () | |
int | insertAll (OsiCuts &cs, CoinRelFltEq eq) |
Puts all the cuts into an OsiCuts. | |
~Cuts () | |
Destructor. | |
OsiRowCut * | rowCut (unsigned int i) |
Access to row cut indexed by i. | |
const OsiRowCut * | rowCut (unsigned int i) const |
const access to row cut indexed by i | |
void | insert (int i, OsiRowCut *cut) |
insert a cut for variable i and count number of cuts. | |
int | numberCuts () |
Access to number of cuts. | |
void | resize (unsigned int i) |
resize vector. | |
Private Attributes | |
int | numberCuts_ |
Stores the number of cuts. | |
std::vector< OsiRowCut * > | cuts_ |
Store the cuts by index of the generating simple disjunction. |
To store extra cuts generated by columns from which they origin.
Definition at line 53 of file CglLandPUtils.hpp.
LAP::Cuts::Cuts | ( | ) | [inline] |
Definition at line 54 of file CglLandPUtils.hpp.
LAP::Cuts::~Cuts | ( | ) | [inline] |
Destructor.
Definition at line 59 of file CglLandPUtils.hpp.
int LAP::Cuts::insertAll | ( | OsiCuts & | cs, | |
CoinRelFltEq | eq | |||
) |
Puts all the cuts into an OsiCuts.
OsiRowCut* LAP::Cuts::rowCut | ( | unsigned int | i | ) | [inline] |
const OsiRowCut* LAP::Cuts::rowCut | ( | unsigned int | i | ) | const [inline] |
const access to row cut indexed by i
Definition at line 65 of file CglLandPUtils.hpp.
References cuts_.
void LAP::Cuts::insert | ( | int | i, | |
OsiRowCut * | cut | |||
) |
insert a cut for variable i and count number of cuts.
int LAP::Cuts::numberCuts | ( | ) | [inline] |
void LAP::Cuts::resize | ( | unsigned int | i | ) | [inline] |
int LAP::Cuts::numberCuts_ [private] |
Stores the number of cuts.
Definition at line 80 of file CglLandPUtils.hpp.
Referenced by numberCuts().
std::vector<OsiRowCut *> LAP::Cuts::cuts_ [private] |
Store the cuts by index of the generating simple disjunction.
Definition at line 82 of file CglLandPUtils.hpp.