30 #ifndef BlisConGenerator_h_
31 #define BlisConGenerator_h_
133 const char *
name = NULL,
137 bool infeasible =
false);
int calls_
The times of calling this generator.
void addTime(double t)
Increase Cpu time used.
int numConsGenerated_
Number of cons generated.
void addCalls(int n=1)
Increase the number of called.
void setStrategy(int value)
Set the con generation strategy.
BlisModel * model_
The client model.
bool normal_
Whether to call the generator in the normal place.
bool whenInfeasible() const
Get whether the con generator should be called when the subproblem is found to be infeasible...
~BlisConGenerator()
Destructor.
bool whenInfeasible_
Whether to call generator when a subproblem is found to be infeasible.
bool generateCons(OsiCuts &cs, bool fullScan)
Generate cons for the client model.
bool normal() const
Get whether the con generator should be called in the normal place.
BlisConGenerator & operator=(const BlisConGenerator &rhs)
Assignment operator.
char * name_
Name of generator.
void setNormal(bool value)
Set whether the con generator should be called in the normal place.
Collections of row cuts and column cuts.
void refreshModel(BlisModel *model)
Set the client model.
int numConsGenerated()
Get number of generated cons.
Interface between Blis and Cut Generation Library.
int numConsUsed()
Get number of used cons.
void addNumConsUsed(int n)
Increase the number of generated cons.
BlisConGenerator()
Default constructor.
bool atSolution() const
Get whether the con generator should be called when a solution is found.
int strategy_
When to call CglCutGenerator::generateCuts routine.
int calls()
Number called.
void addNumConsGenerated(int n)
Increase the number of generated cons.
Cut Generator Base Class.
void setWhenInfeasible(bool value)
Set whether the con generator should be called when the subproblem is found to be infeasible...
bool atSolution_
Whether to call the generator when a new solution is found.
const char * name() const
return name of generator.
void addNoConsCalls(int n=1)
Increase the number of no cons called.
Validate cuts against a known solution.
double time()
Cpu time used.
void setAtSolution(bool value)
Set whether the con generator should be called when a solution is found.
double time_
Used CPU/User time.
int numConsUsed_
Number of cons used.
int strategy() const
Get the con generation interval.
int noConsCalls_
The times of calling this generator and no cons found.
CglCutGenerator * generator_
The CglCutGenerator object.
int noConsCalls()
Number called and no cons found.
CglCutGenerator * generator() const
Get the CglCutGenerator bound to this BlisConGenerator.