Changeset 2366:bfbdded3763a in lemon-0.x for lemon/lp_soplex.h
- Timestamp:
- 02/16/07 20:11:31 (17 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3181
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/lp_soplex.h
r2364 r2366 35 35 namespace lemon { 36 36 37 /// \ingroup gen_opt_group 38 /// 37 39 /// \brief Interface for the SOPLEX solver 38 40 /// 39 /// This class implements an interface for the SOPLEX LP solver. 41 /// This class implements an interface for the SoPlex LP solver. 42 /// The SoPlex library is an object oriented lp solver library 43 /// developed at the Konrad-Zuse-Zentrum für Informationstechnik 44 /// Berlin (ZIB). You can find detailed information about it at the 45 /// <tt>http://soplex.zib.de</tt> address. 40 46 class LpSoplex :virtual public LpSolverBase { 41 47 protected: … … 47 53 48 54 std::vector<std::string> colNames; 55 std::map<std::string, int> invColNames; 49 56 50 57 std::vector<Value> primal_value; … … 71 78 virtual void _eraseCol(int i); 72 79 virtual void _eraseRow(int i); 73 virtual void _getColName(int col, std::string & name) ;80 virtual void _getColName(int col, std::string & name) const; 74 81 virtual void _setColName(int col, const std::string & name); 82 virtual int _colByName(const std::string& name) const; 75 83 virtual void _setRowCoeffs(int i, ConstRowIterator b, ConstRowIterator e); 76 virtual void _getRowCoeffs(int i, RowIterator b) ;84 virtual void _getRowCoeffs(int i, RowIterator b) const; 77 85 virtual void _setColCoeffs(int i, ConstColIterator b, ConstColIterator e); 78 virtual void _getColCoeffs(int i, ColIterator b) ;86 virtual void _getColCoeffs(int i, ColIterator b) const; 79 87 virtual void _setCoeff(int row, int col, Value value); 80 virtual Value _getCoeff(int row, int col) ;88 virtual Value _getCoeff(int row, int col) const; 81 89 virtual void _setColLowerBound(int i, Value value); 82 virtual Value _getColLowerBound(int i) ;90 virtual Value _getColLowerBound(int i) const; 83 91 virtual void _setColUpperBound(int i, Value value); 84 virtual Value _getColUpperBound(int i) ;92 virtual Value _getColUpperBound(int i) const; 85 93 virtual void _setRowBounds(int i, Value lower, Value upper); 86 virtual void _getRowBounds(int i, Value &lower, Value &upper) ;94 virtual void _getRowBounds(int i, Value &lower, Value &upper) const; 87 95 virtual void _setObjCoeff(int i, Value obj_coef); 88 virtual Value _getObjCoeff(int i) ;96 virtual Value _getObjCoeff(int i) const; 89 97 virtual void _clearObj(); 90 98 91 99 virtual SolveExitStatus _solve(); 92 virtual Value _getPrimal(int i) ;93 virtual Value _getDual(int i) ;94 virtual Value _getPrimalValue() ;95 virtual bool _isBasicCol(int i) ;100 virtual Value _getPrimal(int i) const; 101 virtual Value _getDual(int i) const; 102 virtual Value _getPrimalValue() const; 103 virtual bool _isBasicCol(int i) const; 96 104 97 virtual SolutionStatus _getPrimalStatus() ;98 virtual SolutionStatus _getDualStatus() ;99 virtual ProblemTypes _getProblemType() ;105 virtual SolutionStatus _getPrimalStatus() const; 106 virtual SolutionStatus _getDualStatus() const; 107 virtual ProblemTypes _getProblemType() const; 100 108 101 109 102 110 virtual void _setMax(); 103 111 virtual void _setMin(); 104 virtual bool _isMax() ;112 virtual bool _isMax() const; 105 113 106 114 };
Note: See TracChangeset
for help on using the changeset viewer.