test/lp_test.cc
changeset 2369 6ae1a97055a2
parent 2363 2aabce558574
child 2386 81b47fc5c444
     1.1 --- a/test/lp_test.cc	Mon Feb 19 12:11:41 2007 +0000
     1.2 +++ b/test/lp_test.cc	Mon Feb 19 18:21:28 2007 +0000
     1.3 @@ -291,14 +291,14 @@
     1.4    lp.colLowerBound(x1, 0);
     1.5    lp.colLowerBound(x2, 0);
     1.6    //Objective function
     1.7 -  lp.setObj(x1+x2);
     1.8 +  lp.obj(x1+x2);
     1.9  
    1.10    lp.max();
    1.11  
    1.12  
    1.13    //Testing the problem retrieving routines
    1.14    check(lp.objCoeff(x1)==1,"First term should be 1 in the obj function!");
    1.15 -  check(lp.is_max(),"This is a maximization!");
    1.16 +  check(lp.isMax(),"This is a maximization!");
    1.17    check(lp.coeff(upright,x1)==1,"The coefficient in question is 1!");
    1.18    //  std::cout<<lp.colLowerBound(x1)<<std::endl;
    1.19    check(  lp.colLowerBound(x1)==0,"The lower bound for variable x1 should be 0.");