Changeset 1377:bfbb5b30c5b8 in lemon-0.x for src/lemon/lp_base.h
- Timestamp:
- 04/20/05 17:06:42 (19 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1822
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/lemon/lp_base.h
r1376 r1377 435 435 virtual void _setRowUpperBound(int i, Value value) = 0; 436 436 virtual void _setObjCoeff(int i, Value obj_coef) = 0; 437 virtual void _setObj(int length, 438 int const * indices, 439 Value const * values ) = 0; 437 virtual void _clearObj()=0; 438 // virtual void _setObj(int length, 439 // int const * indices, 440 // Value const * values ) = 0; 440 441 virtual SolveExitStatus _solve() = 0; 441 442 virtual Value _getPrimal(int i) = 0; … … 450 451 Value obj_const_comp; 451 452 452 ///\e 453 454 ///\bug Unimplemented 455 void clearObj() {} 453 454 456 455 457 456 public: … … 668 667 ///\bug The previous objective function is not cleared! 669 668 void setObj(Expr e) { 670 clearObj();669 _clearObj(); 671 670 for (Expr::iterator i=e.begin(); i!=e.end(); ++i) 672 671 objCoeff((*i).first,(*i).second);
Note: See TracChangeset
for help on using the changeset viewer.