1.1 --- a/lemon/glpk.cc Wed Mar 17 12:35:52 2010 +0100
1.2 +++ b/lemon/glpk.cc Sat Mar 06 14:35:12 2010 +0000
1.3 @@ -2,7 +2,7 @@
1.4 *
1.5 * This file is a part of LEMON, a generic C++ optimization library.
1.6 *
1.7 - * Copyright (C) 2003-2009
1.8 + * Copyright (C) 2003-2010
1.9 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
1.10 * (Egervary Research Group on Combinatorial Optimization, EGRES).
1.11 *
1.12 @@ -59,7 +59,7 @@
1.13 return i;
1.14 }
1.15
1.16 - int GlpkBase::_addRow(Value lo, ExprIterator b,
1.17 + int GlpkBase::_addRow(Value lo, ExprIterator b,
1.18 ExprIterator e, Value up) {
1.19 int i = glp_add_rows(lp, 1);
1.20
1.21 @@ -68,11 +68,11 @@
1.22 glp_set_row_bnds(lp, i, GLP_FR, lo, up);
1.23 } else {
1.24 glp_set_row_bnds(lp, i, GLP_UP, lo, up);
1.25 - }
1.26 + }
1.27 } else {
1.28 if (up == INF) {
1.29 glp_set_row_bnds(lp, i, GLP_LO, lo, up);
1.30 - } else if (lo != up) {
1.31 + } else if (lo != up) {
1.32 glp_set_row_bnds(lp, i, GLP_DB, lo, up);
1.33 } else {
1.34 glp_set_row_bnds(lp, i, GLP_FX, lo, up);