5 #ifndef CglLiftAndProject_H
6 #define CglLiftAndProject_H
15 const std::string mpdDir );
38 if (oneOrMinusOne==1 || oneOrMinusOne==-1){
39 beta_=
static_cast<double>(oneOrMinusOne);
42 throw CoinError(
"Unallowable value. Beta must be 1 or -1",
43 "cutGeneration",
"CglLiftAndProject");
102 const std::string mpdDir );
Error Class thrown by an exception.
virtual std::string generateCpp(FILE *fp)
Create C++ lines to get to current state.
virtual void generateCuts(const OsiSolverInterface &si, OsiCuts &cs, const CglTreeInfo info=CglTreeInfo())
Generate lift-and-project cuts for the model of the solver interface, si.
double beta_
The normalization is beta_=1 or beta_=-1.
Information about where the cut generator is invoked from.
void CglLiftAndProjectUnitTest(const OsiSolverInterface *siP, const std::string mpdDir)
A function that tests the methods in the CglLiftAndProject class.
Collections of row cuts and column cuts.
Lift And Project Cut Generator Class.
Abstract Base Class for describing an interface to a solver.
double getBeta() const
Get the normalization : Either beta=+1 or beta=-1.
Cut Generator Base Class.
friend void CglLiftAndProjectUnitTest(const OsiSolverInterface *siP, const std::string mpdDir)
A function that tests the methods in the CglLiftAndProject class.
void setBeta(int oneOrMinusOne)
Set the normalization : Either beta=+1 or beta=-1.
CglLiftAndProject & operator=(const CglLiftAndProject &rhs)
Assignment operator.
virtual ~CglLiftAndProject()
Destructor.
CglLiftAndProject()
Default constructor.
virtual CglCutGenerator * clone() const
Clone.