[Clp] Floating Point Exception Resolved

Sebastian Theophil stheophil at think-cell.com
Thu Apr 1 06:12:06 EDT 2010


Hi,

I took a further look at the floating point exception problem described
in my previous mail. 

First of all, the exception itself is of course not Clp's problem but is
triggered by setting the FPU exception status. Second, if no exception
is triggered, 1.0e5/0.0 will be +INFINITY and thus

double useError = CoinMin(largestPrimalError_,
 
1.0e5/maximumAbsElement(solution_,numberRows_+numberColumns_));  

useError will be largestPrimalError_

Thus, Clp handles the case correctly. 

Regards
Sebastian

--
Sebastian Theophil . stheophil at think-cell.com
Software Engineer
 
think-cell Software GmbH . Chausseestr. 8/E . 10115 Berlin, Germany 
http://www.think-cell.com . phone +49 30 666473-10 . toll-free (US) +1 800 891 8091
Directors: Dr. Markus Hannebauer, Dr. Arno Schoedl . Amtsgericht Berlin-Charlottenburg, HRB 85229





More information about the Clp mailing list