equal
deleted
inserted
replaced
204 bool operator!=(Col c) const {return id!=c.id;} |
204 bool operator!=(Col c) const {return id!=c.id;} |
205 }; |
205 }; |
206 |
206 |
207 class ColIt : public Col { |
207 class ColIt : public Col { |
208 LpSolverBase *_lp; |
208 LpSolverBase *_lp; |
|
209 public: |
209 ColIt() {} |
210 ColIt() {} |
210 ColIt(LpSolverBase &lp) : _lp(&lp) |
211 ColIt(LpSolverBase &lp) : _lp(&lp) |
211 { |
212 { |
212 id = _lp->cols.cross.empty()?-1: |
213 id = _lp->cols.cross.empty()?-1: |
213 _lp->cols.fixId(_lp->cols.firstIndex()); |
214 _lp->cols.fixId(_lp->cols.firstIndex()); |