[Clp] MpsTolerance

John J Forrest jjforre at us.ibm.com
Wed Feb 11 05:13:38 EST 2009


In CoinMpsIO.cpp tinyElement is hard coded as 1.0e-14.

In Clp, when primal or dual is entered all values < smallElement_ are
treated as zero.  This has default value of 1.0e-20 and can be changed by
setSmallElement.

If there was a general feeling that it would be useful to have a function
like ekk_setRtolmps then it would be easy to add smallElement_ to
CoinMpsIO.?pp and let Clp use max of ClpModel::smallElement_ and
CoinMpsIO::smallElement_ when reading an Mps file.

John Forrest


                                                                                                                         
  From:       Emrah Tanriverdi <emrahtanriverdi at yahoo.com>                                                               
                                                                                                                         
  To:         clp at list.coin-or.org                                                                                       
                                                                                                                         
  Date:       02/10/2009 03:02 PM                                                                                        
                                                                                                                         
  Subject:    [Clp] MpsTolerance                                                                                         
                                                                                                                         





Hi,

Is there setting mps tolerance function in CLP, I know there is one in OSL
as following
  // Set MPS file tolerance so that very small numbers
  // are considered zero.
  ekk_setRtolmps(myModel, mpsTolerance);
Thanks,
_______________________________________________
Clp mailing list
Clp at list.coin-or.org
http://list.coin-or.org/mailman/listinfo/clp

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/clp/attachments/20090211/16992826/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://list.coin-or.org/pipermail/clp/attachments/20090211/16992826/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ecblank.gif
Type: image/gif
Size: 45 bytes
Desc: not available
URL: <http://list.coin-or.org/pipermail/clp/attachments/20090211/16992826/attachment-0001.gif>


More information about the Clp mailing list