COIN-OR::LEMON - Graph Library

Changeset 2369:6ae1a97055a2 in lemon-0.x for test/lp_test.cc


Ignore:
Timestamp:
02/19/07 19:21:28 (14 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3184
Message:

Naming convention changes

setObj => obj
is_min => isMin
is_max => isMax

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/lp_test.cc

    r2363 r2369  
    292292  lp.colLowerBound(x2, 0);
    293293  //Objective function
    294   lp.setObj(x1+x2);
     294  lp.obj(x1+x2);
    295295
    296296  lp.max();
     
    299299  //Testing the problem retrieving routines
    300300  check(lp.objCoeff(x1)==1,"First term should be 1 in the obj function!");
    301   check(lp.is_max(),"This is a maximization!");
     301  check(lp.isMax(),"This is a maximization!");
    302302  check(lp.coeff(upright,x1)==1,"The coefficient in question is 1!");
    303303  //  std::cout<<lp.colLowerBound(x1)<<std::endl;
Note: See TracChangeset for help on using the changeset viewer.