COIN-OR::LEMON - Graph Library

Changeset 50:72867897fcba in lemon-tutorial for lp.dox


Ignore:
Timestamp:
02/22/10 13:00:14 (11 years ago)
Author:
Peter Kovacs <kpeter@…>
Branch:
default
Phase:
public
Message:

Minor improvements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lp.dox

    r48 r50  
    6666  lp.solve();
    6767
    68   cout << "Objective function value: " << lp.primal() << endl;
    69   cout << "x1 = " << lp.primal(x1) << endl;
    70   cout << "x2 = " << lp.primal(x2) << endl;
     68  std::cout << "Objective function value: " << lp.primal() << std::endl;
     69  std::cout << "x1 = " << lp.primal(x1) << std::endl;
     70  std::cout << "x2 = " << lp.primal(x2) << std::endl;
    7171\endcode
    7272
     
    111111  lp.obj(o);
    112112  lp.solve();
     113
     114  std::cout << "Max flow value: " << lp.primal() << std::endl;
    113115\endcode
    114116
Note: See TracChangeset for help on using the changeset viewer.