equal
deleted
inserted
replaced
141 |
141 |
142 typename G::EdgeMap<LpGlpk::Col> x(g); |
142 typename G::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.setColUpperBound(x[e],cap[e]); |
146 lp.colUpperBound(x[e],cap[e]); |
147 lp.setColLowerBound(x[e],0); |
147 lp.colLowerBound(x[e],0); |
148 } |
148 } |
149 |
149 |
150 for(NodeIt n(g);n!=INVALID;++n) if(n!=s&&n!=t) { |
150 for(NodeIt n(g);n!=INVALID;++n) if(n!=s&&n!=t) { |
151 LpGlpk::Expr ex; |
151 LpGlpk::Expr ex; |
152 for(InEdgeIt e(g,n);e!=INVALID;++e) ex+=x[e]; |
152 for(InEdgeIt e(g,n);e!=INVALID;++e) ex+=x[e]; |