[Dip-tickets] [Dip] #39: Call to setModelRelax results in duplication of variables in activeColumns

Dip coin-trac at coin-or.org
Fri Sep 3 23:06:39 EDT 2010


#39: Call to setModelRelax results in duplication of variables in activeColumns
----------------------+-----------------------------------------------------
  Reporter:  kmartin  |      Owner:  mgalati
      Type:  defect   |     Status:  new    
  Priority:  minor    |    Version:  trunk  
Resolution:           |   Keywords:         
----------------------+-----------------------------------------------------

Comment (by mgalati):

 Not a DIP bug. This is a problem in OSDip example.

 When using the createModelSparse function, you are creating a sparse
 block. So, the idea of activeColumns does not need to be defined by the
 user. This will be defined internally just by defining the block (in the
 sparse case). You have a section just above this part where you explicitly
 create the list of active columns. You do not need this when using the
 sparse API. If using the dense API (createModel), you do want to define
 these explicitly.

 NOTE: the duplicate vars won't break anything - it just causes extra
 unnecessary work.

-- 
Ticket URL: <https://projects.coin-or.org/Dip/ticket/39#comment:3>
Dip <https://projects.coin-or.org/Dip>
An extensible software framework for implementing decompositon-based bounding algorithms for use in solving large-scale discrete optimization problems.



More information about the Dip-tickets mailing list