|
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. | |
| void | writeStats (std::ostream &out) const |
| Write statistics to the given out stream. | |
| std::string | getName () const |
| Return the name of this brancher. | |
Public Member Functions inherited from Minotaur::Brancher | |
| Brancher () | |
| Default constructor. | |
| virtual | ~Brancher () |
| Destroy. | |
| virtual void | updateAfterSolve (NodePtr node, ConstSolutionPtr sol) |
| Update pseudo-costs after LP is solved. | |
Additional Inherited Members | |
Protected Attributes inherited from Minotaur::Brancher | |
| 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.