Minotaur 0.4.1
Docs for developers
|
Default node processor used in solver for now. More...
#include <PCBProcessor.h>
Public Member Functions | |
PCBProcessor () | |
Default constructor. | |
PCBProcessor (EnvPtr env, EnginePtr engine, HandlerVector handlers_) | |
Constructor with a given engine. | |
~PCBProcessor () | |
Destroy. | |
void | addHeur (HeurPtr h) |
bool | foundNewSolution () |
Branches | getBranches () |
Find branches that will be used to branch at this node. More... | |
WarmStartPtr | getWarmStart () |
void | process (NodePtr node, RelaxationPtr rel, SolutionPoolPtr s_pool) |
void | setCutManager (CutManager *cutman) |
void | writeStats (std::ostream &out) const |
Write statistics to a given output stream. More... | |
void | writeStats () const |
Write statistics to our own logger. More... | |
![]() | |
NodeProcessor () | |
Default constructor. | |
virtual | ~NodeProcessor () |
Destroy. | |
virtual void | setBrancher (BrancherPtr brancher) |
Set the brancher that will be used with this node processor. | |
virtual void | processRootNode (NodePtr node, RelaxationPtr rel, SolutionPoolPtr s_pool) |
Process the root node. More... | |
virtual void | process (NodePtr node, RelaxationPtr rel, SolutionPoolPtr s_pool)=0 |
virtual Branches | getBranches ()=0 |
Find branches that will be used to branch at this node. More... | |
virtual bool | foundNewSolution ()=0 |
virtual WarmStartPtr | getWarmStart ()=0 |
virtual BrancherPtr | getBrancher () |
Return brancher. | |
virtual void | writeStats (std::ostream &) const |
Write statistics to a given output stream. More... | |
virtual void | writeStats () const |
Write statistics to our own logger. More... | |
virtual void | setCutManager (CutManager *) |
Additional Inherited Members | |
![]() | |
BrancherPtr | brancher_ |
What brancher is used for this processor. | |
Default node processor used in solver for now.
PCBProcessor is a derived class of NodeProcessor. It is meant to solve LPs at each node. It is used in a simple MILP branch-and-bound. As a stop-gap measure, it is being used for MINLP branch-and-bound as well.
|
virtual |
True if the node processor found at least one feasible solution while processing this node.
Implements Minotaur::NodeProcessor.
|
virtual |
Find branches that will be used to branch at this node.
Implements Minotaur::NodeProcessor.
|
virtual |
Return the warm start information that will be used to start processing children.
Implements Minotaur::NodeProcessor.
|
virtual |
Process relaxation at the given node. If a solution is found, it must be added to the solution pool.
Implements Minotaur::NodeProcessor.
|
virtual |
Reimplemented from Minotaur::NodeProcessor.
|
virtual |
Write statistics to our own logger.
Reimplemented from Minotaur::NodeProcessor.
|
virtual |
Write statistics to a given output stream.
Reimplemented from Minotaur::NodeProcessor.