COIN-OR::LEMON - Graph Library

Changeset 2369:6ae1a97055a2 in lemon-0.x for demo


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

Location:
demo
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • demo/lp_demo.cc

    r1956 r2369  
    6666  lp.colLowerBound(x3, 0);
    6767  //Objective function
    68   lp.setObj(10*x1+6*x2+4*x3);
     68  lp.obj(10*x1+6*x2+4*x3);
    6969 
    7070  //Call the routine of the underlying LP solver
  • demo/lp_maxflow_demo.cc

    r1956 r2369  
    7575  for(InEdgeIt  e(g,t);e!=INVALID;++e) obj+=x[e];
    7676  for(OutEdgeIt e(g,t);e!=INVALID;++e) obj-=x[e];
    77   lp.setObj(obj);
     77  lp.obj(obj);
    7878
    7979
  • demo/mip_demo.cc

    r2148 r2369  
    3232  ilp.colLowerBound(x3, 0);
    3333  //Objective function
    34   ilp.setObj(10*x1+6*x2+4*x3);
     34  ilp.obj(10*x1+6*x2+4*x3);
    3535 
    3636  //Call the routine of the underlying LP solver
Note: See TracChangeset for help on using the changeset viewer.