CbcMip

Declared in lemon/cbc.h, in the group LP and MIP Solvers; the same class on the Doxygen site.

class CbcMip : public MipSolver

Interface for the CBC MIP solver.

This class implements an interface for the CBC MIP solver.

Public Functions

CbcMip()

CbcMip( const CbcMip & )

~CbcMip()

virtual CbcMip * newSolver() const

virtual CbcMip * cloneSolver() const

Protected Functions

virtual const char * _solverName() const
virtual int _addCol()
virtual int _addRow()
virtual int _addRow( Value l , ExprIterator b , ExprIterator e , Value u )
virtual void _eraseCol( int i )
virtual void _eraseRow( int i )
virtual void _eraseColId( int i )
virtual void _eraseRowId( int i )
virtual void _getColName( int col , std::string & name ) const
virtual void _setColName( int col , const std::string & name )
virtual int _colByName( const std::string & name ) const
virtual void _getRowName( int row , std::string & name ) const
virtual void _setRowName( int row , const std::string & name )
virtual int _rowByName( const std::string & name ) const
virtual void _setRowCoeffs( int i , ExprIterator b , ExprIterator e )
virtual void _getRowCoeffs( int i , InsertIterator b ) const
virtual void _setColCoeffs( int i , ExprIterator b , ExprIterator e )
virtual void _getColCoeffs( int i , InsertIterator b ) const
virtual void _setCoeff( int row , int col , Value value )
virtual Value _getCoeff( int row , int col ) const
virtual void _setColLowerBound( int i , Value value )
virtual Value _getColLowerBound( int i ) const
virtual void _setColUpperBound( int i , Value value )
virtual Value _getColUpperBound( int i ) const
virtual void _setRowLowerBound( int i , Value value )
virtual Value _getRowLowerBound( int i ) const
virtual void _setRowUpperBound( int i , Value value )
virtual Value _getRowUpperBound( int i ) const
virtual void _setObjCoeffs( ExprIterator b , ExprIterator e )
virtual void _getObjCoeffs( InsertIterator b ) const
virtual void _setObjCoeff( int i , Value obj_coef )
virtual Value _getObjCoeff( int i ) const
virtual void _setSense( Sense sense )
virtual Sense _getSense() const
virtual ColTypes _getColType( int col ) const
virtual void _setColType( int col , ColTypes col_type )
virtual SolveExitStatus _solve()
virtual ProblemType _getType() const
virtual Value _getSol( int i ) const
virtual Value _getSolValue() const
virtual void _clear()
virtual void _messageLevel( MessageLevel level )
void _applyMessageLevel()

Protected Attributes

CoinModel * _prob
OsiSolverInterface * _osi_solver
CbcModel * _cbc_model
int _message_level