6 #ifndef CglDuplicateRow_H 7 #define CglDuplicateRow_H 40 virtual void generateCuts(
const OsiSolverInterface & si, OsiCuts & cs,
44 void generateCuts12(
const OsiSolverInterface & si, OsiCuts & cs,
47 void generateCuts4(
const OsiSolverInterface & si, OsiCuts & cs,
50 void generateCuts8(
const OsiSolverInterface & si, OsiCuts & cs,
120 inline int mode()
const void setMaximumDominated(int value)
Set.
int maximumDominated_
Check dominated columns if less than this number of candidates.
CoinPackedMatrix matrixByRow_
Matrix by row.
int maximumRhs_
Check duplicates if effective rhs <= this.
void setMode(int value)
Set mode.
Stored Cut Generator Class.
int * lower_
To allow for <= rows.
virtual void generateCuts(const OsiSolverInterface &si, OsiCuts &cs, const CglTreeInfo info=CglTreeInfo())
Fix variables and find duplicate/dominated rows for the model of the solver interface, si.
Information about where the cut generator is invoked from.
CglStored * storedCuts_
Stored cuts if we found dominance cuts.
int mode_
1 do rows, 2 do columns, 3 do both
int * rhs_
Possible rhs (if 0 then not possible)
void setLogLevel(int value)
virtual std::string generateCpp(FILE *fp)
Create C++ lines to get to current state.
const int * duplicate() const
Get duplicate row list, -1 means still in, -2 means out (all fixed), k>= means same as row k...
virtual CglCutGenerator * clone() const
Clone.
int maximumRhs() const
Get.
CglDuplicateRow()
Default constructor.
Cut Generator Base Class.
int numberOriginalRows() const
Number of rows in original problem.
CglDuplicateRow & operator=(const CglDuplicateRow &rhs)
Assignment operator.
void setMaximumRhs(int value)
Set.
int sizeDynamic_
Size of dynamic program.
CglStored * outDuplicates(OsiSolverInterface *solver)
Fix variables and find duplicate/dominated rows for the model of the solver interface, si.
virtual ~CglDuplicateRow()
Destructor.
CoinPackedMatrix matrix_
Matrix.
DuplicateRow Cut Generator Class.
int sizeDynamic() const
Size of dynamic program.
int logLevel() const
logLevel
int mode() const
Get mode.
int * duplicate_
Marks duplicate rows.
int maximumDominated() const
Get.
int logLevel_
Controls print out.
virtual void refreshSolver(OsiSolverInterface *solver)
This can be used to refresh any information.