SkeletonSolverBase
Declared in lemon/lp_skeleton.h, in the group LP and MIP Solvers; the same class on the Doxygen site.
-
class SkeletonSolverBase : public virtual LpBase
A skeleton class to implement LP/MIP solver base interface.
This class does nothing, but it can serve as a skeleton when implementing an interface to new solvers.
Subclassed by LpSkeleton, MipSkeleton
Protected Functions
-
inline SkeletonSolverBase()
-
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 _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 )
Set one element of the coefficient matrix.
-
virtual Value _getCoeff( int row , int col ) const
Get one element of the coefficient matrix.
-
virtual void _setColLowerBound( int i , Value value )
The lower bound of a variable (column) have to be given by an extended number of type Value, i.e. a finite number of type Value or -INF.
-
virtual Value _getColLowerBound( int i ) const
The lower bound of a variable (column) is an extended number of type Value, i.e. a finite number of type Value or -INF.
-
virtual void _setColUpperBound( int i , Value value )
The upper bound of a variable (column) have to be given by an extended number of type Value, i.e. a finite number of type Value or INF.
-
virtual Value _getColUpperBound( int i ) const
The upper bound of a variable (column) is an extended number of type Value, i.e. a finite number of type Value or INF.
-
virtual void _setRowLowerBound( int i , Value value )
The lower bound of a constraint (row) have to be given by an extended number of type Value, i.e. a finite number of type Value or -INF.
-
virtual Value _getRowLowerBound( int i ) const
The lower bound of a constraint (row) is an extended number of type Value, i.e. a finite number of type Value or -INF.
-
virtual void _setRowUpperBound( int i , Value value )
The upper bound of a constraint (row) have to be given by an extended number of type Value, i.e. a finite number of type Value or INF.
-
virtual Value _getRowUpperBound( int i ) const
The upper bound of a constraint (row) is an extended number of type Value, i.e. a finite number of type Value or INF.
-
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)
-
virtual Sense _getSense() const
-
virtual void _clear()
-
virtual void _messageLevel(MessageLevel)
-
virtual void _write( std::string file , std::string format ) const
-
inline SkeletonSolverBase()