5 #ifndef CglAllDifferent_H 6 #define CglAllDifferent_H 29 virtual void generateCuts(
const OsiSolverInterface & si, OsiCuts & cs,
102 int numberDifferent_;
112 int * originalWhich_;
virtual ~CglAllDifferent()
Destructor.
virtual void generateCuts(const OsiSolverInterface &si, OsiCuts &cs, const CglTreeInfo info=CglTreeInfo())
This fixes (or reduces bounds) on sets of all different variables.
Information about where the cut generator is invoked from.
CglAllDifferent & operator=(const CglAllDifferent &rhs)
Assignment operator.
virtual bool mayGenerateRowCutsInTree() const
Returns true if may generate Row cuts in tree (rather than root node).
int getLogLevel() const
Get log level.
CglAllDifferent()
Default constructor.
virtual std::string generateCpp(FILE *fp)
Create C++ lines to get to current state.
Cut Generator Base Class.
void setMaxLook(int value)
Set Maximum number of sets to look at at once.
virtual CglCutGenerator * clone() const
Clone.
int getMaxLook() const
Get Maximum number of sets to look at at once.
void setLogLevel(int value)
Set log level.
AllDifferent Cut Generator Class This has a number of sets.
virtual void refreshSolver(OsiSolverInterface *solver)
This can be used to refresh any inforamtion.