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.
virtual CglCutGenerator * clone() const
Clone.
CglAllDifferent & operator=(const CglAllDifferent &rhs)
Assignment operator.
CglAllDifferent()
Default constructor.
virtual std::string generateCpp(FILE *fp)
Create C++ lines to get to current state.
int getLogLevel() const
Get log level.
Cut Generator Base Class.
void setMaxLook(int value)
Set Maximum number of sets to look at at once.
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 bool mayGenerateRowCutsInTree() const
Returns true if may generate Row cuts in tree (rather than root node).
virtual void refreshSolver(OsiSolverInterface *solver)
This can be used to refresh any inforamtion.