[Osi-tickets] [COIN-OR Open Solver Interface] #46: OsiCpx::addRow:
wrong handling of free rows
COIN-OR Open Solver Interface
coin-trac at coin-or.org
Fri Nov 30 13:01:38 EST 2007
#46: OsiCpx::addRow: wrong handling of free rows
--------------------+-------------------------------------------------------
Reporter: stefan | Owner: mjs
Type: defect | Status: new
Priority: major | Milestone:
Component: OsiCpx | Version: 0.96
Keywords: |
--------------------+-------------------------------------------------------
Hi,
in !OsiCpx latest stable, the check for {{{(rowsen=='R')}}} at the end of
{{{OsiCpx::addRow(const CoinPackedVectorBase& vec, const char rowsen,
const double rowrhs, const double rowrng)}}} (line 2068) need to be
changed into {{{(sense=='R')}}} since if rowsen=='N', then sense is set to
'R' and rhs and rng adapted accordingly.
Best,
Stefan
--
Ticket URL: <https://projects.coin-or.org/Osi/ticket/46>
COIN-OR Open Solver Interface <http://projects.coin-or.org/Osi>
An API for a variety of LP and MIP solvers (and more).
More information about the Osi-tickets
mailing list