Go to the documentation of this file.
6 #ifndef ClpEventHandler_H
7 #define ClpEventHandler_H
147 virtual bool check()
const = 0;
This solves LPs using the simplex method.
@ startOfStatusOfProblemInDual
virtual ClpEventHandler * clone() const
Clone.
ClpDisasterHandler(ClpSimplex *model=NULL)
Default constructor.
ClpSimplex * simplex() const
Get model.
ClpDisasterHandler & operator=(const ClpDisasterHandler &)
virtual bool check() const =0
Checks if disaster.
virtual int event(Event whichEvent)
This can do whatever it likes.
void setSimplex(ClpSimplex *model)
set model.
@ modifyMatrixInMiniPostsolve
Base class for Clp disaster handling.
@ modifyMatrixInMiniPresolve
virtual int eventWithInfo(Event whichEvent, void *info)
This can do whatever it likes.
virtual ClpDisasterHandler * clone() const =0
Clone.
@ beforeStatusOfProblemInDual
Event
enums for what sort of event.
ClpSimplex * model_
Pointer to simplex.
ClpSimplex * simplex() const
Get model.
virtual int typeOfDisaster()
Type of disaster 0 can fix, 1 abort.
virtual void intoSimplex()=0
Into simplex.
Base class for Clp event handling.
virtual void saveInfo()=0
saves information for next attempt
virtual ~ClpEventHandler()
Destructor.
void setSimplex(ClpSimplex *model)
set model.
ClpSimplex * model_
Pointer to simplex.
ClpEventHandler(ClpSimplex *model=NULL)
Default constructor.
@ startOfStatusOfProblemInPrimal
virtual ~ClpDisasterHandler()
Destructor.
@ presolveAfterFirstSolve
ClpEventHandler & operator=(const ClpEventHandler &)
@ beforeStatusOfProblemInPrimal