[Osi] Problem in OsiCpxSolverInterface.cpp
Stefan Vigerske
stefan at math.hu-berlin.de
Sat Mar 27 14:45:54 EDT 2010
Hi,
> talking about OSI 0.102.1
>
> in the method: const double *OsiCpxSolverInterface::getRowActivity()
> const , shouldn't line 21:
>
> rowact_[r] = getRightHandSide()[r] + rowslack[r];
>
> be replaced by
>
> rowact_[r] = getRightHandSide()[r] - rowslack[r];
>
> since CPLEX treats rows as Lower than Type ?
You are probably right. OsiGrb und OsiXpr also substract the slacks.
I changed this in stable/0.102 and trunk:
https://projects.coin-or.org/Osi/changeset?new=1484%40%2F&old=1482%40%2F
Stefan
More information about the Osi
mailing list