Changeset 2369:6ae1a97055a2 in lemon-0.x for demo
- Timestamp:
- 02/19/07 19:21:28 (18 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3184
- Location:
- demo
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
demo/lp_demo.cc
r1956 r2369 66 66 lp.colLowerBound(x3, 0); 67 67 //Objective function 68 lp. setObj(10*x1+6*x2+4*x3);68 lp.obj(10*x1+6*x2+4*x3); 69 69 70 70 //Call the routine of the underlying LP solver -
demo/lp_maxflow_demo.cc
r1956 r2369 75 75 for(InEdgeIt e(g,t);e!=INVALID;++e) obj+=x[e]; 76 76 for(OutEdgeIt e(g,t);e!=INVALID;++e) obj-=x[e]; 77 lp. setObj(obj);77 lp.obj(obj); 78 78 79 79 -
demo/mip_demo.cc
r2148 r2369 32 32 ilp.colLowerBound(x3, 0); 33 33 //Objective function 34 ilp. setObj(10*x1+6*x2+4*x3);34 ilp.obj(10*x1+6*x2+4*x3); 35 35 36 36 //Call the routine of the underlying LP solver
Note: See TracChangeset
for help on using the changeset viewer.