diff -r c8c5a2a4ec71 -r 72867897fcba lp.dox --- a/lp.dox Mon Feb 22 02:03:25 2010 +0100 +++ b/lp.dox Mon Feb 22 13:00:14 2010 +0100 @@ -65,9 +65,9 @@ lp.obj(10 * x1 + 6 * x2); lp.solve(); - cout << "Objective function value: " << lp.primal() << endl; - cout << "x1 = " << lp.primal(x1) << endl; - cout << "x2 = " << lp.primal(x2) << endl; + std::cout << "Objective function value: " << lp.primal() << std::endl; + std::cout << "x1 = " << lp.primal(x1) << std::endl; + std::cout << "x2 = " << lp.primal(x2) << std::endl; \endcode \ref LpBase::Col "Lp::Col" type represents the variables in the LP problems, @@ -110,6 +110,8 @@ lp.max(); lp.obj(o); lp.solve(); + + std::cout << "Max flow value: " << lp.primal() << std::endl; \endcode [TRAILER]