diff -r 58357e986a08 -r 6c408d864fa1 tools/dimacs-solver.cc --- a/tools/dimacs-solver.cc Sun Apr 26 16:36:23 2009 +0100 +++ b/tools/dimacs-solver.cc Wed Apr 29 03:15:24 2009 +0200 @@ -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();