Cbc  2.9.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
CbcConsequence Class Referenceabstract

Abstract base class for consequent bounds. More...

#include <CbcConsequence.hpp>

+ Inheritance diagram for CbcConsequence:

Public Member Functions

 CbcConsequence ()
 
 CbcConsequence (const CbcConsequence &rhs)
 
CbcConsequenceoperator= (const CbcConsequence &rhs)
 
virtual CbcConsequenceclone () const =0
 Clone. More...
 
virtual ~CbcConsequence ()
 Destructor. More...
 
virtual void applyToSolver (OsiSolverInterface *solver, int state) const =0
 Apply to an LP solver. More...
 

Detailed Description

Abstract base class for consequent bounds.

When a variable is branched on it normally interacts with other variables by means of equations. There are cases where we want to step outside LP and do something more directly e.g. fix bounds. This class is for that.

At present it need not be virtual as only instance is CbcFixVariable, but ...

Definition at line 22 of file CbcConsequence.hpp.

Constructor & Destructor Documentation

CbcConsequence::CbcConsequence ( )
CbcConsequence::CbcConsequence ( const CbcConsequence rhs)
virtual CbcConsequence::~CbcConsequence ( )
virtual

Destructor.

Member Function Documentation

CbcConsequence& CbcConsequence::operator= ( const CbcConsequence rhs)
virtual CbcConsequence* CbcConsequence::clone ( ) const
pure virtual

Clone.

Implemented in CbcFixVariable.

virtual void CbcConsequence::applyToSolver ( OsiSolverInterface solver,
int  state 
) const
pure virtual

Apply to an LP solver.

Action depends on state

Implemented in CbcFixVariable.


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