Minotaur 0.4.1
Docs for developers
|
A class to select random branching candidate from the available ones. More...
#include <RandomBrancher.h>
Public Member Functions | |
RandomBrancher () | |
Default constructor. | |
RandomBrancher (EnvPtr env, HandlerVector handlers) | |
Construct with an environment. | |
~RandomBrancher () | |
Destroy. | |
Branches | findBranches (RelaxationPtr rel, NodePtr node, ConstSolutionPtr sol, SolutionPoolPtr s_pool, BrancherStatus &br_status, ModVector &mods) |
Find a branching candidate. 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... | |
![]() | |
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... | |
Additional Inherited Members | |
![]() | |
LoggerPtr | logger_ |
Log manager. | |
A class to select random branching candidate from the available ones.
|
virtual |
Find a branching candidate.
[in] | rel | Relaxation at the current node. |
[in] | node | The current node. |
[in] | sol | The solution at the current node. |
[in] | s_pool | Solution pool containing known feasible solutions. |
[out] | br_status | Status returned by this brancher. |
[out] | mods | Modification returned by this brancher. NULL if none found. |
Implements Minotaur::Brancher.
|
virtual |
Return the name of this brancher.
Implements Minotaur::Brancher.
|
virtual |
Write statistics to the given out stream.
Reimplemented from Minotaur::Brancher.