Minotaur 0.4.1
Docs for developers
|
#include <LexicoBrancher.h>
Public Member Functions | |
LexicoBrancher () | |
Default constructor. | |
LexicoBrancher (EnvPtr env, HandlerVector handlers) | |
Construct with an environment. | |
~LexicoBrancher () | |
Destroy. | |
Branches | findBranches (RelaxationPtr rel, NodePtr node, ConstSolutionPtr sol, SolutionPoolPtr s_pool, BrancherStatus &br_status, ModVector &mods) |
void | writeStats (std::ostream &out) const |
Write the statistics. More... | |
std::string | getName () const |
Return name. 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 the first branching candidate that is avialable. Can be used for demonstration or when we don't have any idea how to branch.
|
virtual |
Find a branching candidate. Returns NULL if x does not have any fractional values for integer constrained variables.
Implements Minotaur::Brancher.
|
virtual |
Return name.
Implements Minotaur::Brancher.
|
virtual |
Write the statistics.
Reimplemented from Minotaur::Brancher.