Changeset 2369:6ae1a97055a2 in lemon-0.x for lemon/lp_base.h
- Timestamp:
- 02/19/07 19:21:28 (17 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3184
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/lp_base.h
r2368 r2369 973 973 ///\param e is a linear expression (see \ref Expr) 974 974 ///\param u is the upper bound (\ref INF means no bound) 975 ///\bug This is a tempor tary function. The interface will change to975 ///\bug This is a temporary function. The interface will change to 976 976 ///a better one. 977 977 ///\todo Option to control whether a constraint with a single variable is … … 1010 1010 ///\param u is the upper bound (\ref INF means no bound) 1011 1011 ///\return The created row. 1012 ///\bug This is a tempor tary function. The interface will change to1012 ///\bug This is a temporary function. The interface will change to 1013 1013 ///a better one. 1014 1014 Row addRow(Value l,const Expr &e, Value u) { … … 1285 1285 1286 1286 ///\param e is a linear expression of type \ref Expr. 1287 ///\bug Is should be called obj() 1288 void setObj(Expr e) { 1287 void obj(Expr e) { 1289 1288 _clearObj(); 1290 1289 for (Expr::iterator i=e.begin(); i!=e.end(); ++i) … … 1314 1313 1315 1314 ///Query function: is this a maximization problem? 1316 bool is _max() const {return _isMax(); }1315 bool isMax() const {return _isMax(); } 1317 1316 1318 1317 ///Query function: is this a minimization problem? 1319 bool is _min() const {return !is_max(); }1318 bool isMin() const {return !isMax(); } 1320 1319 1321 1320 ///@}
Note: See TracChangeset
for help on using the changeset viewer.