|
| VrpHeurTSP () |
| Default Constructor. More...
|
|
| VrpHeurTSP (VrpModel *model, const char *name, BlisHeurStrategy strategy, int freq) |
| Constructor with model. More...
|
|
| ~VrpHeurTSP () |
| Destructor. More...
|
|
virtual bool | searchSolution (double &objectiveValue, double *newSolution) |
| Returns 0 if no solution, 1 if valid solution. More...
|
|
| BlisHeuristic () |
| Default Constructor. More...
|
|
| BlisHeuristic (BlisModel *model, const char *name, int strategy) |
| Useful constructor. More...
|
|
virtual | ~BlisHeuristic () |
| Distructor. More...
|
|
| BlisHeuristic (const BlisHeuristic &rhs) |
| Copy constructor. More...
|
|
virtual void | setModel (BlisModel *model) |
| update model (This is needed if cliques update matrix etc). More...
|
|
| BlisHeuristic () |
| Default Constructor. More...
|
|
| BlisHeuristic (BlisModel *model, const char *name, BlisHeurStrategy strategy, int heurCallFrequency) |
| Useful constructor. More...
|
|
virtual | ~BlisHeuristic () |
| Distructor. More...
|
|
| BlisHeuristic (const BlisHeuristic &rhs) |
| Copy constructor. More...
|
|
virtual void | setModel (BlisModel *model) |
| update model (This is needed if cliques update matrix etc). More...
|
|
virtual void | setStrategy (int strategy) |
| Get/set strategy. More...
|
|
virtual int | strategy () |
| Get/set strategy. More...
|
|
virtual BlisHeuristic * | clone () const =0 |
| Clone a heuristic. More...
|
|
virtual int | searchSolution (double &objectiveValue, double *newSolution, OsiCuts &cs) |
| returns 0 if no solution, 1 if valid solution, -1 if just returning an estimate of best possible solution with better objective value than one passed in Sets solution values if good, sets objective value (only if nonzero code) This is called at same time as cut generators - so can add cuts Default is do nothing More...
|
|
int | numSolutions () |
| Number of solutions found. More...
|
|
double | time () |
| Cpu time used. More...
|
|
int | calls () |
| Cpu time used. More...
|
|
virtual void | setStrategy (BlisHeurStrategy strategy) |
| Get/set strategy. More...
|
|
virtual BlisHeurStrategy | strategy () const |
| Get/set strategy. More...
|
|
virtual void | setHeurCallFrequency (int freq) |
| Get/set call frequency. More...
|
|
virtual int | heurCallFrequency () const |
| Get/set strategy. More...
|
|
virtual BlisHeuristic * | clone () const |
| Clone a heuristic. More...
|
|
virtual bool | searchSolution (double &objectiveValue, double *newSolution, OsiCuts &cs) |
| returns 0 if no solution, 1 if valid solution, -1 if just returning an estimate of best possible solution with better objective value than one passed in Sets solution values if good, sets objective value (only if nonzero code) This is called at same time as cut generators - so can add cuts Default is do nothing More...
|
|
const char * | name () const |
| return name of generator. More...
|
|
void | addNumSolutions (int num=1) |
| Record number of solutions found. More...
|
|
int | numSolutions () const |
| Number of solutions found. More...
|
|
void | addTime (double t=0.0) |
| Record Cpu time used. More...
|
|
double | time () const |
| Cpu time used. More...
|
|
void | addCalls (int c=1) |
| Record number of times called. More...
|
|
int | calls () const |
| Number of times called. More...
|
|
int | noSolCalls () const |
| Number called and no cons found. More...
|
|
void | addNoSolCalls (int n=1) |
| Increase the number of no cons called. More...
|
|
Definition at line 54 of file VrpHeurTSP.h.