A class to select a variable for branching using maximum-frequency branching.
More...
|
| MaxFreqBrancher (EnvPtr env, HandlerVector &handlers) |
| Construct using an environment pointer and initialize .
|
|
| ~MaxFreqBrancher () |
| Destroy.
|
|
Branches | findBranches (RelaxationPtr rel, NodePtr node, ConstSolutionPtr sol, SolutionPoolPtr s_pool, BrancherStatus &br_status, ModVector &mods) |
| Find a branching candidate. More...
|
|
virtual void | updateAfterSolve (NodePtr, ConstSolutionPtr) |
| Update pseudo-costs after LP is solved. More...
|
|
void | writeStats (std::ostream &out) const |
| Write statistics to the given out stream. More...
|
|
std::string | getName () const |
| Return the name of this brancher. More...
|
|
void | initialize (RelaxationPtr rel) |
| Initialize data structures. More...
|
|
| Brancher () |
| Default constructor.
|
|
virtual | ~Brancher () |
| Destroy.
|
|
virtual Branches | findBranches (RelaxationPtr rel, NodePtr node, ConstSolutionPtr sol, SolutionPoolPtr s_pool, BrancherStatus &br_status, ModVector &mods)=0 |
| Find a branching candidate. More...
|
|
virtual std::string | getName () const =0 |
| Return the name of this brancher. More...
|
|
virtual void | updateAfterSolve (NodePtr node, ConstSolutionPtr sol) |
| Update pseudo-costs after LP is solved. More...
|
|
virtual void | writeStats (std::ostream &) const |
| Write statistics to the given out stream. More...
|
|
A class to select a variable for branching using maximum-frequency branching.