10 class CoinWarmStartBasis;
14 const std::string mpdDir );
32 virtual void generateCuts(
const OsiSolverInterface & si, OsiCuts & cs,
38 const CoinPackedMatrix & columnCopy,
39 const CoinPackedMatrix & rowCopy,
40 const double * colsol,
41 const double * colLower,
const double * colUpper,
42 const double * rowLower,
const double * rowUpper,
44 const CoinWarmStartBasis* warm,
50 const CoinPackedMatrix & columnCopy,
51 const double * colsol,
52 const double * colLower,
const double * colUpper,
53 const double * rowLower,
const double * rowUpper,
55 const CoinWarmStartBasis* warm,
179 const std::string mpdDir );
double getLargestFactorMultiplier() const
Get LargestFactorMultiplier.
double largestFactorMultiplier_
Multiplier for largest factor cut relaxation.
CglGomory & operator=(const CglGomory &rhs)
Assignment operator.
bool alternativeFactorization() const
Get whether alternative factorization being used.
double awayAtRoot_
Only investigate if more than this away from integrality (at root)
void setLimit(int limit)
Set.
int getLimit() const
Get.
virtual CglCutGenerator * clone() const
Clone.
void CglGomoryUnitTest(const OsiSolverInterface *siP, const std::string mpdDir)
A function that tests the methods in the CglGomory class.
int alternateFactorization_
nonzero to use alternative factorization
CglGomory()
Default constructor.
virtual std::string generateCpp(FILE *fp)
Create C++ lines to get to current state.
double getAwayAtRoot() const
Get away at root.
double getAway() const
Get away.
double getConditionNumberMultiplier() const
Get ConditionNumberMultiplier.
int dynamicLimitInTree_
Dynamic limit in tree.
double away_
Only investigate if more than this away from integrality.
double conditionNumberMultiplier_
Multiplier for conditionNumber cut relaxation.
void useAlternativeFactorization(bool yes=true)
Set/unset alternative factorization.
int limitAtRoot_
Limit - only generate if fewer than this in cut (at root)
Gomory Cut Generator Class.
int limit_
Limit - only generate if fewer than this in cut.
Cut Generator Base Class.
void setLargestFactorMultiplier(double value)
Set LargestFactorMultiplier.
void setAwayAtRoot(double value)
Set away at root.
virtual ~CglGomory()
Destructor.
virtual int maximumLengthOfCutInTree() const
Return maximum length of cut in tree.
virtual void generateCuts(const OsiSolverInterface &si, OsiCuts &cs, const CglTreeInfo info=CglTreeInfo()) const
Generate Mixed Integer Gomory cuts for the model of the solver interface, si.
void setAway(double value)
Set away.
int getLimitAtRoot() const
Get at root.
void setLimitAtRoot(int limit)
Set at root (if
friend void CglGomoryUnitTest(const OsiSolverInterface *siP, const std::string mpdDir)
A function that tests the methods in the CglGomory class.
Information about where the cut generator is invoked from.
int numberTimesStalled_
Number of times stalled.
virtual bool needsOptimalBasis() const
Return true if needs optimal basis to do cuts (will return true)
void setConditionNumberMultiplier(double value)
Set ConditionNumberMultiplier.