src/work/marci/lp/max_flow_expression.cc
changeset 1152 1765ff9fefa1
parent 1144 1cfabf245433
     1.1 --- a/src/work/marci/lp/max_flow_expression.cc	Wed Feb 16 16:17:30 2005 +0000
     1.2 +++ b/src/work/marci/lp/max_flow_expression.cc	Wed Feb 16 21:40:16 2005 +0000
     1.3 @@ -82,4 +82,28 @@
     1.4    }
     1.5    lp.solveSimplex();
     1.6    cout << "elapsed time: " << ts << endl;
     1.7 +//   cout << "rows:" << endl;
     1.8 +//   for (
     1.9 +//        LPSolver::Rows::ClassIt i(lp.row_iter_map, 0);
    1.10 +//        i!=INVALID;
    1.11 +//        ++i) { 
    1.12 +//     cout << i << " ";
    1.13 +//   }
    1.14 +//   cout << endl;
    1.15 +//   cout << "cols:" << endl;
    1.16 +//   for (
    1.17 +//        LPSolver::Cols::ClassIt i(lp.col_iter_map, 0);
    1.18 +//        i!=INVALID;
    1.19 +//        ++i) { 
    1.20 +//     cout << i << " ";
    1.21 +//   }
    1.22 +//   cout << endl;
    1.23 +  lp.setMIP();
    1.24 +  cout << "elapsed time: " << ts << endl;
    1.25 +  for (LPSolver::Cols::ClassIt it(lp.col_iter_map ,1); it!=INVALID; ++it) {
    1.26 +    lp.setColInt(it);
    1.27 +  }
    1.28 +  cout << "elapsed time: " << ts << endl;
    1.29 +  lp.solveBandB();
    1.30 +  cout << "elapsed time: " << ts << endl;
    1.31  }