diff -r cb8270a98660 -r e01957e96c67 tools/dimacs-solver.cc --- a/tools/dimacs-solver.cc Wed Apr 29 16:15:29 2009 +0100 +++ b/tools/dimacs-solver.cc Wed Apr 29 19:22:14 2009 +0100 @@ -119,8 +119,8 @@ ti.restart(); NetworkSimplex ns(g); - ns.lowerMap(lower).capacityMap(cap).costMap(cost).supplyMap(sup); - if (sum_sup > 0) ns.problemType(ns.LEQ); + ns.lowerMap(lower).upperMap(cap).costMap(cost).supplyMap(sup); + if (sum_sup > 0) ns.supplyType(ns.LEQ); if (report) std::cerr << "Setup NetworkSimplex class: " << ti << '\n'; ti.restart(); bool res = ns.run();