Changeset 1787:932b8490caf0 in lemon-0.x for lemon/lp_base.h
- Timestamp:
- 11/13/05 21:01:17 (18 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2325
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/lp_base.h
r1771 r1787 37 37 class _FixId 38 38 { 39 protected: 39 40 std::vector<int> index; 40 41 std::vector<int> cross; … … 593 594 virtual SolveExitStatus _solve() = 0; 594 595 virtual Value _getPrimal(int i) = 0; 596 virtual Value _getDual(int i) = 0; 595 597 virtual Value _getPrimalValue() = 0; 596 598 virtual SolutionStatus _getPrimalStatus() = 0; … … 709 711 for(DualExpr::const_iterator i=e.begin(); i!=e.end(); ++i) 710 712 if((*i).second!=0) { ///\bug EPSILON would be necessary here!!! 711 indices.push_back( cols.floatingId((*i).first.id));713 indices.push_back(rows.floatingId((*i).first.id)); 712 714 values.push_back((*i).second); 713 715 } … … 1002 1004 1003 1005 ///\e 1006 Value dual(Row r) { return _getDual(rows.floatingId(r.id)); } 1007 1008 ///\e 1004 1009 1005 1010 ///\return
Note: See TracChangeset
for help on using the changeset viewer.