[Osi-tickets] Re: [COIN-OR Open Solver Interface] #5: OsiRowCut infinity definition

COIN-OR Open Solver Interface coin-trac at coin-or.org
Sun Oct 29 14:32:02 EST 2006


#5: OsiRowCut infinity definition
-----------------------------+----------------------------------------------
  Reporter:  mgalati         |       Owner:  somebody
      Type:  defect          |      Status:  new     
  Priority:  major           |   Milestone:          
 Component:  Osi Base Class  |     Version:          
Resolution:                  |    Keywords:          
-----------------------------+----------------------------------------------
Changes (by mjs):

  * component:  component1 => Osi Base Class

Old description:

> test

New description:

 OsiRowCut::sense() uses DBL_MAX as infinity.

Comment:

 What about using the solver's infinity?  OsiRowCut itself isn't tied to a
 solver, but each OSI object is.  Presumably, the problem loaded into an
 OSI object had its infinite bounds set to getInfinity().

 In fact, there's code in convertToSense() and related methods that
 performs the same function as the above snippet and its relatives.  Why
 shouldn't we use that?  (That code uses getInfinity().)  Of course,
 OsiRowCut code to set infinite bounds would also have to be changed.

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