Go to the documentation of this file.
31 #ifndef AbcCutGenerator_h_
32 #define AbcCutGenerator_h_
34 #include "OsiSolverInterface.hpp"
35 #include "OsiCuts.hpp"
39 class OsiRowCutDebugger;
40 class CglCutGenerator;
104 int howOften=1,
const char * name=NULL,
106 bool infeasible=
false);
void setNormal(bool value)
Set whether the cut generator should be called in the normal place.
~AbcCutGenerator()
Destructor.
CglCutGenerator * generator_
bool atSolution_
Whether to call the generator when a new solution is found.
char * generatorName_
Name of generator.
void refreshModel(AbcModel *model)
Set the client model.
bool whenInfeasible_
Whether to call generator when a subproblem is found to be infeasible.
AbcCutGenerator & operator=(const AbcCutGenerator &rhs)
Assignment operator.
const char * cutGeneratorName() const
return name of generator
bool normal() const
Get whether the cut generator should be called in the normal place.
bool generateCuts(OsiCuts &cs, bool fullScan)
Generate cuts for the client model.
AbcCutGenerator()
Default constructor.
void setAtSolution(bool value)
Set whether the cut generator should be called when a solution is found.
bool whenInfeasible() const
Get whether the cut generator should be called when the subproblem is found to be infeasible.
int whenCutGenerator_
Number of nodes between calls to the CglCutGenerator::generateCuts routine.
CglCutGenerator * generator() const
Get the CglCutGenerator bound to this AbcCutGenerator.
void setHowOften(int value)
Set the cut generation interval.
Model class for ALPS Branch and Cut.
AbcModel * model_
The client model.
int howOften() const
Get the cut generation interval.
Interface between Abc and Cut Generation Library.
bool atSolution() const
Get whether the cut generator should be called when a solution is found.
void setWhenInfeasible(bool value)
Set whether the cut generator should be called when the subproblem is found to be infeasible.
bool normal_
Whether to call the generator in the normal place.