Limbo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
test_lpmcf.cpp File Reference

test limbo::solvers::lpmcf::Lgf and limbo::solvers::lpmcf::LpDualMcf More...

#include <iostream>
#include <boost/algorithm/string/predicate.hpp>
#include <limbo/solvers/lpmcf/Lgf.h>
#include <limbo/solvers/lpmcf/LpDualMcf.h>

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 main function More...
 

Detailed Description

test limbo::solvers::lpmcf::Lgf and limbo::solvers::lpmcf::LpDualMcf

Author
Yibo Lin
Date
Oct 2014

Definition in file test_lpmcf.cpp.

Function Documentation

int main ( int  argc,
char **  argv 
)

main function

If given .lgf file, solve min-cost flow of the graph by limbo::solvers::lpmcf::Lgf; If given .lp file, solver linear programming problem with dual min-cost flow by limbo::solvers::lpmcf::LpDualMcf. Here we assume .lgf and .lp inputs describe different sets of problems that can be solved by the mathematical solver. .Lgf format is defined by Lemon to describe a network flow graph

Parameters
argcnumber of arguments
argvvalues of arguments
Returns
0

Definition at line 26 of file test_lpmcf.cpp.