Minotaur 0.4.1
Docs for developers
|
#include <QPDProcessor.h>
Public Member Functions | |
QPDProcessor () | |
Default constructor. | |
QPDProcessor (EnvPtr env, ProblemPtr p, EnginePtr e, EnginePtr qe, HandlerVector &handlers) | |
Create the processor using options from an environment. | |
~QPDProcessor () | |
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 | processRootNode (NodePtr node, RelaxationPtr rel, SolutionPoolPtr s_pool) |
Process the root node. More... | |
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. | |
QPDProcessor is a derived class of NodeProcessor. It is meant to solve QPs at each node. Sometimes it also solves NLPs.
|
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 |
Process the root node.
Reimplemented from Minotaur::NodeProcessor.
|
inlinevirtual |
Write statistics to our own logger.
Reimplemented from Minotaur::NodeProcessor.
|
virtual |
Write statistics to a given output stream.
Reimplemented from Minotaur::NodeProcessor.