14 void test(std::string
const& filename,
int alg)
18 optModel.
read(filename);
21 optModel.print(std::cout);
45 delete minCostFlowSolver;
48 optModel.printSolution(std::cout);
50 optModel.print(std::cout);
53 solver.printGraph(
true);
63 int main(
int argc,
char** argv)
74 std::cout <<
"at least 1 argument required\n";
Capacity scaling algorithm for min-cost flow.
SolverProperty
Some enums used in solver.
Network simplex algorithm for min-cost flow.
int main(int argc, char **argv)
main function
Cycle canceling algorithm for min-cost flow.
std::string toString(SolverProperty sp)
Convert limbo::solvers::SolverProperty to std::string.
Cost scaling algorithm for min-cost flow.
void read(std::string const &filename)
read lp format
model to describe an optimization problem
void test(std::string const &filename, int alg)
test file API
Solve a special case of linear programming with dual min-cost flow. A better implementation of LpDual...
LP solved with min-cost flow. A better implementation of limbo::solvers::lpmcf::LpDualMcf.
A base class of min-cost flow solver.