CbcStopNow Class Reference

This allows the use of a call back class to decide whether to stop. More...

#include <CbcSolver.hpp>

List of all members.

Public Member Functions

Decision methods



virtual int callBack (CbcModel *currentSolver, int whereFrom)
 Import - 0 if good.
Constructors and destructors etc



 CbcStopNow ()
 Default Constructor.
 CbcStopNow (const CbcStopNow &rhs)
 Copy constructor .
CbcStopNowoperator= (const CbcStopNow &rhs)
 Assignment operator.
virtual CbcStopNowclone () const
 Clone.
virtual ~CbcStopNow ()
 Destructor.

Detailed Description

This allows the use of a call back class to decide whether to stop.

Definition at line 282 of file CbcSolver.hpp.


Constructor & Destructor Documentation

CbcStopNow::CbcStopNow (  ) 

Default Constructor.

CbcStopNow::CbcStopNow ( const CbcStopNow rhs  ) 

Copy constructor .

virtual CbcStopNow::~CbcStopNow (  )  [virtual]

Destructor.


Member Function Documentation

virtual int CbcStopNow::callBack ( CbcModel currentSolver,
int  whereFrom 
) [inline, virtual]

Import - 0 if good.

Meaning of whereFrom: 1 after initial solve by dualsimplex etc 2 after preprocessing 3 just before branchAndBound (so user can override) 4 just after branchAndBound (before postprocessing) 5 after postprocessing 6 after a user called heuristic phase nonzero return code to stop

Definition at line 297 of file CbcSolver.hpp.

CbcStopNow& CbcStopNow::operator= ( const CbcStopNow rhs  ) 

Assignment operator.

virtual CbcStopNow* CbcStopNow::clone (  )  const [virtual]

Clone.


The documentation for this class was generated from the following file:

Generated on 15 Mar 2015 for Coin-All by  doxygen 1.6.1