[Osi-tickets] [COIN-OR Open Solver Interface] #79: possibly unnecessary 'using' statement confuses SWIG

COIN-OR Open Solver Interface coin-trac at coin-or.org
Tue Jul 7 11:14:07 EDT 2009


#79: possibly unnecessary 'using' statement confuses SWIG
-----------------------+----------------------------------------------------
  Reporter:  leolopes  |       Owner:  mjs    
      Type:  defect    |      Status:  new    
  Priority:  major     |   Milestone:         
 Component:  OsiClp    |     Version:  0.100.0
Resolution:            |    Keywords:  using  
-----------------------+----------------------------------------------------
Comment (by stefan):

 I don't see what is wrong on this using statement.
 As far as I can see, then OsiClp implements only two of the addCol methods
 from OsiSolverInterface.
 So the other two are "included" by the using statement.
 If the using statement is ommitted, then the Intel compiler will give a
 warning, saying that addCol has only been partially overwritten, and using
 should be used to indicate that this was intendet.

 Stefan

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