Changeset 1241:dadc9987c537 in lemon-0.x for src/work/athos/lp/max_flow_expression.cc
- Timestamp:
- 03/22/05 13:02:29 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1668
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/work/athos/lp/max_flow_expression.cc
r1240 r1241 8 8 #include <lemon/dimacs.h> 9 9 #include <lemon/time_measure.h> 10 #include <lp_solver_ base.h>10 #include <lp_solver_glpk.h> 11 11 12 12 using std::cout; … … 17 17 class PrimalMap { 18 18 protected: 19 L PGLPK* lp;19 LpGlpk* lp; 20 20 EdgeIndexMap* edge_index_map; 21 21 public: 22 PrimalMap(L PGLPK& _lp, EdgeIndexMap& _edge_index_map) :22 PrimalMap(LpGlpk& _lp, EdgeIndexMap& _edge_index_map) : 23 23 lp(&_lp), edge_index_map(&_edge_index_map) { } 24 24 double operator[](Edge e) const { … … 44 44 Timer ts; 45 45 46 typedef L PGLPKLPSolver;46 typedef LpGlpk LPSolver; 47 47 LPSolver lp; 48 48 lp.setMaximize();
Note: See TracChangeset
for help on using the changeset viewer.