Dip
0.92.4
|
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. More... | |
~Cuts () | |
Destructor. More... | |
OsiRowCut * | rowCut (unsigned int i) |
Access to row cut indexed by i. More... | |
const OsiRowCut * | rowCut (unsigned int i) const |
const access to row cut indexed by i More... | |
void | insert (int i, OsiRowCut *cut) |
insert a cut for variable i and count number of cuts. More... | |
int | numberCuts () |
Access to number of cuts. More... | |
void | resize (unsigned int i) |
resize vector. More... | |
Private Attributes | |
int | numberCuts_ |
Stores the number of cuts. More... | |
std::vector< OsiRowCut * > | cuts_ |
Store the cuts by index of the generating simple disjunction. More... | |
To store extra cuts generated by columns from which they origin.
Definition at line 59 of file CglLandPUtils.hpp.
|
inline |
Definition at line 61 of file CglLandPUtils.hpp.
|
inline |
Destructor.
Definition at line 67 of file CglLandPUtils.hpp.
int LAP::Cuts::insertAll | ( | OsiCuts & | cs, |
CoinRelFltEq & | eq | ||
) |
Puts all the cuts into an OsiCuts.
|
inline |
|
inline |
const access to row cut indexed by i
Definition at line 74 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.
|
inline |
|
inline |
|
private |
Stores the number of cuts.
Definition at line 92 of file CglLandPUtils.hpp.
Referenced by numberCuts().
|
private |
Store the cuts by index of the generating simple disjunction.
Definition at line 94 of file CglLandPUtils.hpp.