demo/lp_demo.cc
changeset 2369 6ae1a97055a2
parent 1956 a055123339d5
child 2391 14a343be7a5a
     1.1 --- a/demo/lp_demo.cc	Mon Feb 19 12:11:41 2007 +0000
     1.2 +++ b/demo/lp_demo.cc	Mon Feb 19 18:21:28 2007 +0000
     1.3 @@ -65,7 +65,7 @@
     1.4    lp.colLowerBound(x2, 0);
     1.5    lp.colLowerBound(x3, 0);
     1.6    //Objective function
     1.7 -  lp.setObj(10*x1+6*x2+4*x3);
     1.8 +  lp.obj(10*x1+6*x2+4*x3);
     1.9    
    1.10    //Call the routine of the underlying LP solver
    1.11    lp.solve();