src/work/athos/lp/lp_test.cc
changeset 1297 fde0d12545c1
parent 1293 8ede2a6b2594
equal deleted inserted replaced
7:4be1690da314 8:336dd402fef3
   137   typedef typename G::Edge Edge;
   137   typedef typename G::Edge Edge;
   138   typedef typename G::EdgeIt EdgeIt;
   138   typedef typename G::EdgeIt EdgeIt;
   139   typedef typename G::OutEdgeIt OutEdgeIt;
   139   typedef typename G::OutEdgeIt OutEdgeIt;
   140   typedef typename G::InEdgeIt InEdgeIt;
   140   typedef typename G::InEdgeIt InEdgeIt;
   141   
   141   
   142   typename G::EdgeMap<LpGlpk::Col> x(g);
   142   typename G::template EdgeMap<LpGlpk::Col> x(g);
   143   lp.addColSet(x);
   143   lp.addColSet(x);
   144   
   144   
   145   for(EdgeIt e(g);e!=INVALID;++e) {
   145   for(EdgeIt e(g);e!=INVALID;++e) {
   146     lp.colUpperBound(x[e],cap[e]);
   146     lp.colUpperBound(x[e],cap[e]);
   147     lp.colLowerBound(x[e],0);
   147     lp.colLowerBound(x[e],0);