You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gilles (JIRA)" <ji...@apache.org> on 2012/09/22 12:07:07 UTC

[jira] [Resolved] (MATH-864) CMAESOptimizer does not enforce bounds

     [ https://issues.apache.org/jira/browse/MATH-864?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gilles resolved MATH-864.
-------------------------

    Resolution: Fixed
    
> CMAESOptimizer does not enforce bounds
> --------------------------------------
>
>                 Key: MATH-864
>                 URL: https://issues.apache.org/jira/browse/MATH-864
>             Project: Commons Math
>          Issue Type: Bug
>    Affects Versions: 3.0
>            Reporter: Frank Hess
>            Assignee: Gilles
>             Fix For: 3.1
>
>         Attachments: Math864Test.java
>
>
> The CMAESOptimizer can exceed the bounds passed to optimize.  Looking at the generationLoop in doOptimize(), it does a bounds check by calling isFeasible() but if checkFeasableCount is zero (the default) then isFeasible() is never even called.  Also, even with non-zero checkFeasableCount it may give up before finding an in-bounds offspring and go forward with an out-of-bounds offspring.  This is against svn revision 1387637.  I can provide an example program where the optimizer ends up with a fit outside the prescribed bounds if that would help.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira