|
Minotaur 0.4.1
Docs for developers
|
A class to select a variable for branching using maximum-violated branching. More...
#include <MaxVioBrancher.h>


Public Member Functions | |
| MaxVioBrancher (EnvPtr env, HandlerVector &handlers) | |
| Construct using an environment pointer and initialize . | |
| ~MaxVioBrancher () | |
| Destroy. | |
| Branches | findBranches (RelaxationPtr rel, NodePtr node, ConstSolutionPtr sol, SolutionPoolPtr s_pool, BrancherStatus &br_status, ModVector &mods) |
| Find a branching candidate. | |
| virtual void | updateAfterSolve (NodePtr, ConstSolutionPtr) |
| Update pseudo-cost/other information after branching. | |
| void | writeStats (std::ostream &out) const |
| Write statistics to the given out stream. | |
| std::string | getName () const |
| Return name. | |
Public Member Functions inherited from Minotaur::Brancher | |
| Brancher () | |
| Default constructor. | |
| virtual | ~Brancher () |
| Destroy. | |
Additional Inherited Members | |
Protected Attributes inherited from Minotaur::Brancher | |
| LoggerPtr | logger_ |
| Log manager. | |
A class to select a variable for branching using maximum-violated branching.
|
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 name.
Implements Minotaur::Brancher.
|
virtual |
Update pseudo-cost/other information after branching.
Reimplemented from Minotaur::Brancher.
|
virtual |
Write statistics to the given out stream.
Reimplemented from Minotaur::Brancher.