Changeset 1152:1765ff9fefa1 in lemon-0.x for src/work/marci/lp/max_flow_expression.cc
- Timestamp:
- 02/16/05 22:40:16 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1553
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/work/marci/lp/max_flow_expression.cc
r1144 r1152 83 83 lp.solveSimplex(); 84 84 cout << "elapsed time: " << ts << endl; 85 // cout << "rows:" << endl; 86 // for ( 87 // LPSolver::Rows::ClassIt i(lp.row_iter_map, 0); 88 // i!=INVALID; 89 // ++i) { 90 // cout << i << " "; 91 // } 92 // cout << endl; 93 // cout << "cols:" << endl; 94 // for ( 95 // LPSolver::Cols::ClassIt i(lp.col_iter_map, 0); 96 // i!=INVALID; 97 // ++i) { 98 // cout << i << " "; 99 // } 100 // cout << endl; 101 lp.setMIP(); 102 cout << "elapsed time: " << ts << endl; 103 for (LPSolver::Cols::ClassIt it(lp.col_iter_map ,1); it!=INVALID; ++it) { 104 lp.setColInt(it); 105 } 106 cout << "elapsed time: " << ts << endl; 107 lp.solveBandB(); 108 cout << "elapsed time: " << ts << endl; 85 109 }
Note: See TracChangeset
for help on using the changeset viewer.