Changeset 877:141f9c0db4a3 in lemon-main for lemon/glpk.cc
- Timestamp:
- 03/06/10 15:35:12 (14 years ago)
- Branch:
- default
- Children:
- 879:38213abd2911, 931:f112c18bc304
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/glpk.cc
r746 r877 3 3 * This file is a part of LEMON, a generic C++ optimization library. 4 4 * 5 * Copyright (C) 2003-20 095 * Copyright (C) 2003-2010 6 6 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport 7 7 * (Egervary Research Group on Combinatorial Optimization, EGRES). … … 60 60 } 61 61 62 int GlpkBase::_addRow(Value lo, ExprIterator b, 62 int GlpkBase::_addRow(Value lo, ExprIterator b, 63 63 ExprIterator e, Value up) { 64 64 int i = glp_add_rows(lp, 1); … … 69 69 } else { 70 70 glp_set_row_bnds(lp, i, GLP_UP, lo, up); 71 } 71 } 72 72 } else { 73 73 if (up == INF) { 74 74 glp_set_row_bnds(lp, i, GLP_LO, lo, up); 75 } else if (lo != up) { 75 } else if (lo != up) { 76 76 glp_set_row_bnds(lp, i, GLP_DB, lo, up); 77 77 } else {
Note: See TracChangeset
for help on using the changeset viewer.