lemon/cplex.cc
changeset 1207 eba5aa390aca
parent 1140 f8ec64f78b5f
     1.1 --- a/lemon/cplex.cc	Thu Jan 21 08:36:53 2021 +0100
     1.2 +++ b/lemon/cplex.cc	Thu Jan 21 18:58:37 2021 +0100
     1.3 @@ -158,7 +158,7 @@
     1.4      } else {
     1.5        const char s = 'R';
     1.6        double len = ub - lb;
     1.7 -      CPXaddrows(cplexEnv(), _prob, 0, 1, values.size(), &ub, &s,
     1.8 +      CPXaddrows(cplexEnv(), _prob, 0, 1, values.size(), &lb, &s,
     1.9                   &rmatbeg, &indices.front(), &values.front(), 0, 0);
    1.10        CPXchgrngval(cplexEnv(), _prob, 1, &i, &len);
    1.11      }