tools/dimacs-solver.cc
changeset 636 6c408d864fa1
parent 606 19b6f20e0ea2
child 640 8d289c89d43e
     1.1 --- a/tools/dimacs-solver.cc	Sun Apr 26 16:36:23 2009 +0100
     1.2 +++ b/tools/dimacs-solver.cc	Wed Apr 29 03:15:24 2009 +0200
     1.3 @@ -119,8 +119,8 @@
     1.4  
     1.5    ti.restart();
     1.6    NetworkSimplex<Digraph, Value> ns(g);
     1.7 -  ns.lowerMap(lower).capacityMap(cap).costMap(cost).supplyMap(sup);
     1.8 -  if (sum_sup > 0) ns.problemType(ns.LEQ);
     1.9 +  ns.lowerMap(lower).upperMap(cap).costMap(cost).supplyMap(sup);
    1.10 +  if (sum_sup > 0) ns.supplyType(ns.LEQ);
    1.11    if (report) std::cerr << "Setup NetworkSimplex class: " << ti << '\n';
    1.12    ti.restart();
    1.13    bool res = ns.run();