lemon/cplex.cc
changeset 1205 57abff252556
parent 1140 f8ec64f78b5f
     1.1 --- a/lemon/cplex.cc	Sat Oct 27 13:00:48 2018 +0200
     1.2 +++ b/lemon/cplex.cc	Wed Jan 20 16:17:21 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      }