[Coin-discuss] OsiCuts::insertIfNotDuplicate() precision
Michael Hennebry
hennebry at web.cs.ndsu.nodak.edu
Fri Feb 11 11:34:43 EST 2005
On Fri, 11 Feb 2005, John J Forrest wrote:
> I have actually used CoinAbsFltEq(1.0e-12) as default and have added a
> similar version for CoinRelFltEq in case that is wanted in future.
gcc on my Linux box has DBL_EPSILON roughly 2e-16,
but it's worth noting that DBL_EPSILON is allowed to be 1e-9.
> Francois Margot <fmargot at andrew.cmu.edu>
> Sent by: coin-discuss-bounces at list.coin-or.org
> 02/11/2005 03:39 AM
> Would it be possible to modify the method
>
> OsiCuts::insertIfNotDuplicate(OsiRowCut & rc) in OsiCuts.cpp to
>
> OsiCuts::insertIfNotDuplicate(OsiRowCut & rc, const double precision)
>
> and replace in the code all "1e-12" by "precision"? The default for
> "precision" might be set to 1e-12, making the change transparent for
> code currently using the method.
--
Mike hennebry at web.cs.ndsu.NoDak.edu
"Our gods are dead. Ancient Klingon warriors slew them
... they were more trouble than they were worth." -- Worf
More information about the Coin-discuss
mailing list