commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Neidhart (JIRA)" <>
Subject [jira] [Commented] (MATH-781) SimplexSolver gives bad results
Date Tue, 01 May 2012 17:56:48 GMT


Thomas Neidhart commented on MATH-781:

in MATH-434, floating-point comparisons have been changed to use either an:

 * epsilon for any comparisons related to algorithm convergence
 * ulp for any other comparisons

Now, when dropping the objective function of the first phase, the comparison is done using
ulp which is wrong imho as it is basically a convergence check. When changing this back to
an epsilon check like before, the test runs through as expected.
> SimplexSolver gives bad results
> -------------------------------
>                 Key: MATH-781
>                 URL:
>             Project: Commons Math
>          Issue Type: Bug
>    Affects Versions: 3.0
>         Environment: Windows 7 (64), jdk1.7.0_03
>            Reporter: Scheiber Ernő
>         Attachments:,
> Methode SimplexSolver.optimeze(...) gives bad results with commons-math3-3.0
> in a simple test problem. It works well in commons-math-2.2. 

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message