[Osi-tickets] [COIN-OR Open Solver Interface] #67: Add column bug in OsiCbcSolverInterface

COIN-OR Open Solver Interface coin-trac at coin-or.org
Tue Jul 7 12:40:44 EDT 2009


#67: Add column bug in OsiCbcSolverInterface
---------------------+------------------------------------------------------
  Reporter:  lannez  |       Owner:  lou
      Type:  defect  |      Status:  new
  Priority:  major   |   Milestone:     
 Component:  OsiCbc  |     Version:     
Resolution:          |    Keywords:     
---------------------+------------------------------------------------------
Comment (by stefan):

 Hi,

 it seems that when OsiClpSolverInterface::addCol adds a column to
 modelPtr_->matrix(), then the number of rows in modelPtr_ does not get
 increased.
 Thus, even though new rows have been added (by adding the column),
 modelPtr_->getNumRows() still gives 2.

 This results in a failing assert in OsiClp::freeCachedResults() for me...
 Is this the bug?

 Stefan

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