Limbo 3.5.4
Loading...
Searching...
No Matches
test_MinCostFlow.cpp File Reference

Test min-cost flow solver limbo::solvers::MinCostFlow. More...

#include <iostream>
#include <limbo/solvers/MinCostFlow.h>

Go to the source code of this file.

Functions

void test (std::string const &filename, int alg)
 test file API
int main (int argc, char **argv)
 main function

Detailed Description

Test min-cost flow solver limbo::solvers::MinCostFlow.

Author
Yibo Lin
Date
Nov 2017

Definition in file test_MinCostFlow.cpp.

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

main function

Given .lp file, solver linear programming problem with min-cost flow by limbo::solvers::MinCostFlow.

Parameters
argcnumber of arguments
argvvalues of arguments
Returns
0

Definition at line 63 of file test_MinCostFlow.cpp.

◆ test()

void test ( std::string const & filename,
int alg )

test file API

Parameters
filenameinput lp file
algalgorithm type, 0 for cost scaling, 1 for capacity scaling, 2 for network simplex, 3 for cycle canceling

Definition at line 14 of file test_MinCostFlow.cpp.