demo/lp_maxflow_demo.cc
changeset 2369 6ae1a97055a2
parent 1956 a055123339d5
child 2391 14a343be7a5a
     1.1 --- a/demo/lp_maxflow_demo.cc	Mon Feb 19 12:11:41 2007 +0000
     1.2 +++ b/demo/lp_maxflow_demo.cc	Mon Feb 19 18:21:28 2007 +0000
     1.3 @@ -74,7 +74,7 @@
     1.4    Lp::Expr obj;
     1.5    for(InEdgeIt  e(g,t);e!=INVALID;++e) obj+=x[e];
     1.6    for(OutEdgeIt e(g,t);e!=INVALID;++e) obj-=x[e];
     1.7 -  lp.setObj(obj);
     1.8 +  lp.obj(obj);
     1.9  
    1.10  
    1.11    //Maximization