Alps
2.0.2
|
Heuristic base class. More...
#include <AbcHeuristic.h>
Public Member Functions | |
AbcHeuristic () | |
AbcHeuristic (AbcModel &model) | |
virtual | ~AbcHeuristic () |
virtual void | setModel (AbcModel *model) |
update model (This is needed if cliques update matrix etc) More... | |
virtual AbcHeuristic * | clone () const =0 |
Clone. More... | |
virtual int | solution (double &objectiveValue, double *newSolution)=0 |
returns 0 if no solution, 1 if valid solution with better objective value than one passed in Sets solution values if good, sets objective value This is called after cuts have been added - so can not add cuts More... | |
virtual int | solution (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... | |
AbcHeuristic () | |
AbcHeuristic (AbcModel &model) | |
virtual | ~AbcHeuristic () |
virtual void | setModel (AbcModel *model) |
update model (This is needed if cliques update matrix etc) More... | |
virtual AbcHeuristic * | clone () const =0 |
Clone. More... | |
virtual int | solution (double &objectiveValue, double *newSolution)=0 |
returns 0 if no solution, 1 if valid solution with better objective value than one passed in Sets solution values if good, sets objective value This is called after cuts have been added - so can not add cuts More... | |
virtual int | solution (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... | |
AbcHeuristic () | |
AbcHeuristic (AbcModel &model) | |
virtual | ~AbcHeuristic () |
virtual void | setModel (AbcModel *model) |
update model (This is needed if cliques update matrix etc) More... | |
virtual AbcHeuristic * | clone () const =0 |
Clone. More... | |
virtual int | solution (double &objectiveValue, double *newSolution)=0 |
returns 0 if no solution, 1 if valid solution with better objective value than one passed in Sets solution values if good, sets objective value This is called after cuts have been added - so can not add cuts More... | |
virtual int | solution (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... | |
Protected Attributes | |
AbcModel * | model_ |
Model. More... | |
Private Member Functions | |
AbcHeuristic & | operator= (const AbcHeuristic &rhs) |
Illegal Assignment operator. More... | |
AbcHeuristic & | operator= (const AbcHeuristic &rhs) |
Illegal Assignment operator. More... | |
AbcHeuristic & | operator= (const AbcHeuristic &rhs) |
Illegal Assignment operator. More... | |
Heuristic base class.
Definition at line 45 of file AbcHeuristic.h.
AbcHeuristic::AbcHeuristic | ( | ) |
AbcHeuristic::AbcHeuristic | ( | AbcModel & | model | ) |
|
virtual |
AbcHeuristic::AbcHeuristic | ( | ) |
AbcHeuristic::AbcHeuristic | ( | AbcModel & | model | ) |
|
virtual |
AbcHeuristic::AbcHeuristic | ( | ) |
AbcHeuristic::AbcHeuristic | ( | AbcModel & | model | ) |
|
virtual |
|
virtual |
update model (This is needed if cliques update matrix etc)
Reimplemented in AbcRounding, AbcRounding, and AbcRounding.
|
pure virtual |
Clone.
Implemented in AbcRounding, AbcRounding, and AbcRounding.
|
pure virtual |
returns 0 if no solution, 1 if valid solution with better objective value than one passed in Sets solution values if good, sets objective value This is called after cuts have been added - so can not add cuts
Implemented in AbcRounding, AbcRounding, and AbcRounding.
|
inlinevirtual |
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
Definition at line 76 of file AbcHeuristic.h.
|
private |
Illegal Assignment operator.
|
virtual |
update model (This is needed if cliques update matrix etc)
Reimplemented in AbcRounding, AbcRounding, and AbcRounding.
|
pure virtual |
Clone.
Implemented in AbcRounding, AbcRounding, and AbcRounding.
|
pure virtual |
returns 0 if no solution, 1 if valid solution with better objective value than one passed in Sets solution values if good, sets objective value This is called after cuts have been added - so can not add cuts
Implemented in AbcRounding, AbcRounding, and AbcRounding.
|
inlinevirtual |
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
Definition at line 76 of file AbcHeuristic.h.
|
private |
Illegal Assignment operator.
|
virtual |
update model (This is needed if cliques update matrix etc)
Reimplemented in AbcRounding, AbcRounding, and AbcRounding.
|
pure virtual |
Clone.
Implemented in AbcRounding, AbcRounding, and AbcRounding.
|
pure virtual |
returns 0 if no solution, 1 if valid solution with better objective value than one passed in Sets solution values if good, sets objective value This is called after cuts have been added - so can not add cuts
Implemented in AbcRounding, AbcRounding, and AbcRounding.
|
inlinevirtual |
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
Definition at line 76 of file AbcHeuristic.h.
|
private |
Illegal Assignment operator.
|
protected |
Model.
Definition at line 83 of file AbcHeuristic.h.