[Osi-tickets] [COIN-OR Open Solver Interface] #17: Bug in treatment of ranged constraints in OsiCpxSolverInterface::getBasisStatus()

COIN-OR Open Solver Interface coin-trac at coin-or.org
Wed Dec 13 18:08:27 EST 2006


#17: Bug in treatment of ranged constraints in
OsiCpxSolverInterface::getBasisStatus()
---------------------+------------------------------------------------------
 Reporter:  fmargot  |       Owner:  mjs
     Type:  defect   |      Status:  new
 Priority:  major    |   Milestone:     
Component:  OsiCpx   |     Version:     
 Keywords:           |  
---------------------+------------------------------------------------------
 Lines 3008 and 3022 of OsiCpxSolverInterface.cpp
 in method getBasisStatus() should both be changed from

       if(sense[i] == 'E') {

 to
       if((sense[i] == 'E') || (sense[i] == 'R')) {

 so that status for ranged constraints are correct.

-- 
Ticket URL: <https://projects.coin-or.org/Osi/ticket/17>
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