Changeset 672:6c7bd0edd1d7 in lemon-0.x for src/work/athos/min_cost_flow.cc
- Timestamp:
- 06/02/04 11:45:50 (19 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@908
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/work/athos/min_cost_flow.cc
r662 r672 12 12 13 13 bool passed = true; 14 /* 14 15 15 void check(bool rc, char *msg="") { 16 16 passed = passed && rc; … … 21 21 } 22 22 } 23 */ 23 24 24 25 25 … … 91 91 min_cost_flow_test.run(); 92 92 //int k=1; 93 check(min_cost_flow_test.checkOptimality(), "Is the primal-dual solution pair really optimal?"); 93 94 94 95 /* … … 110 111 check(min_cost_flow_test.checkComplementarySlackness(), "Is the primal-dual solution pair really optimal?"); 111 112 112 113 */ 113 114 cout << (passed ? "All tests passed." : "Some of the tests failed!!!") 114 115 << endl; 115 116 116 117 return passed ? 0 : 1; 117 */118 118 119 }
Note: See TracChangeset
for help on using the changeset viewer.