Changeset 1436:e0beb94d08bf in lemon-0.x for lemon/lp_base.h
- Timestamp:
- 05/26/05 14:16:16 (19 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1910
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/lp_base.h
r1435 r1436 418 418 //Abstract virtual functions 419 419 virtual LpSolverBase &_newLp() = 0; 420 virtual LpSolverBase &_copyLp() = 0; 420 virtual LpSolverBase &_copyLp(){ 421 ///\todo This should be implemented here, too, when we have problem retrieving routines. It can be overriden. 422 423 //Starting: 424 LpSolverBase & newlp(_newLp()); 425 return newlp; 426 //return *(LpSolverBase*)0; 427 }; 421 428 422 429 virtual int _addCol() = 0; … … 609 616 } 610 617 618 ///Set an element of the coefficient matrix of the LP 619 620 ///\param r is the row of the element to be modified 621 ///\param c is the coloumn of the element to be modified 622 ///\param val is the new value of the coefficient 623 void setCoeff(Row r, Col c, Value val){ 624 _setCoeff(rows.floatingId(r.id),cols.floatingId(c.id), val); 625 } 626 611 627 /// Set the lower bound of a column (i.e a variable) 612 628
Note: See TracChangeset
for help on using the changeset viewer.