COIN-OR::LEMON - Graph Library

Changeset 1577:15098fb5275c in lemon-0.x for demo/lp_maxflow_demo.cc


Ignore:
Timestamp:
07/20/05 18:05:04 (15 years ago)
Author:
athos
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2078
Message:

Documentation (lp_demo,lp_maxflow) and slight changes (rest).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • demo/lp_maxflow_demo.cc

    r1571 r1577  
    4545#ifdef HAVE_GLPK
    4646typedef LpGlpk LpDefault;
     47const char default_solver_name[]="GLPK";
    4748#elif HAVE_CPLEX
    4849typedef LpCplex LpDefault;
     50const char default_solver_name[]="CPLEX";
    4951#endif
    5052
     
    9799#endif
    98100
     101  std::cout<<"Solver used: "<<default_solver_name<<std::endl;
     102
    99103  //Solve with the underlying solver
    100104  lp.solve();
     
    107111  if(argc<2)
    108112  {
    109       std::cerr << "  USAGE: lp_maxflow_demo <input_file.lgf>" << std::endl;
     113      std::cerr << "  USAGE: lp_maxflow_demo input_file.lgf" << std::endl;
    110114      std::cerr << "  The file 'input_file.lgf' has to contain a max "
    111115                << "flow instance in\n"
Note: See TracChangeset for help on using the changeset viewer.