10 #ifndef CbcEventHandler_H 11 #define CbcEventHandler_H 215 (*eaMap_)[
event] = action ;
Pretend solution never happened.
A solution will be found unless user takes action (thorough check).
CbcEventHandler & operator=(const CbcEventHandler &rhs)
Assignment.
A tree status interval has arrived.
CbcModel * model_
Pointer to associated CbcModel.
CbcAction dfltAction_
Default action.
Restart — restart branch-and-cut search; do not undo root node processing.
const CbcModel * getModel() const
Get model.
RestartRoot — undo root node and start branch-and-cut afresh.
CbcEvent
Events known to cbc.
eaMapPair * eaMap_
Pointer to a map that holds non-default event/action pairs.
Base class for Cbc event handling.
A solution has been found.
std::map< CbcEvent, CbcAction > eaMapPair
Data type for event/action pairs.
CbcEventHandler(CbcModel *model=0)
Default constructor.
After a pass of heuristic.
void setModel(CbcModel *model)
Set model.
A solution will be found unless user takes action (first check).
void setAction(CbcEvent event, CbcAction action)
Set the action code associated with an event.
Stop — abort the current run at the next opportunity.
Continue — no action required.
void setDfltAction(CbcAction action)
Set the default action.
CbcAction
Action codes returned by the event handler.
A heuristic solution has been found.
When converting constraints to cuts.
virtual CbcEventHandler * clone() const
Clone (virtual) constructor.
virtual CbcAction event(CbcEvent whichEvent)
Return the action to be taken for an event.
Processing of the current node is complete.
Simple Branch and bound class.
Take action on modified data.
On entry to small branch and bound.
virtual ~CbcEventHandler()
Destructor.