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 (Created) (JIRA)" <ji...@apache.org> on 2011/10/29 13:31:32 UTC

[jira] [Created] (MATH-698) Bounds in "BOBYQAOptimizer" and "CMAESOptimizer"

Bounds in "BOBYQAOptimizer" and "CMAESOptimizer"
------------------------------------------------

                 Key: MATH-698
                 URL: https://issues.apache.org/jira/browse/MATH-698
             Project: Commons Math
          Issue Type: Improvement
            Reporter: Gilles
            Assignee: Gilles
            Priority: Minor
             Fix For: 3.0


The bounds should be passed as arguments to the "optimize" method, instead of through the constructor.
This is now possible, following the resolution of MATH-697.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (MATH-698) Bounds in "BOBYQAOptimizer" and "CMAESOptimizer"

Posted by "Gilles (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MATH-698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gilles updated MATH-698:
------------------------

    Attachment: CMAESOptimizerTest.java.NEW
                CMAESOptimizer.java.NEW

Attached modified version of "CMAESOptimizer" and "CMAESOptimizerTest" to take into account the new way to handle bounds (base class "BaseAbstractSimpleBoundsScalarOptimizer" contains the "boiler-plate" code).

Unfortunately, the changes generate many test failures...

                
> Bounds in "BOBYQAOptimizer" and "CMAESOptimizer"
> ------------------------------------------------
>
>                 Key: MATH-698
>                 URL: https://issues.apache.org/jira/browse/MATH-698
>             Project: Commons Math
>          Issue Type: Improvement
>            Reporter: Gilles
>            Assignee: Gilles
>            Priority: Minor
>              Labels: api-change
>             Fix For: 3.0
>
>         Attachments: CMAESOptimizer.java.NEW, CMAESOptimizerTest.java.NEW
>
>
> The bounds should be passed as arguments to the "optimize" method, instead of through the constructor.
> This is now possible, following the resolution of MATH-697.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (MATH-698) Bounds in "BOBYQAOptimizer" and "CMAESOptimizer"

Posted by "Gilles (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MATH-698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gilles updated MATH-698:
------------------------

    Assignee:     (was: Gilles)
    
> Bounds in "BOBYQAOptimizer" and "CMAESOptimizer"
> ------------------------------------------------
>
>                 Key: MATH-698
>                 URL: https://issues.apache.org/jira/browse/MATH-698
>             Project: Commons Math
>          Issue Type: Improvement
>            Reporter: Gilles
>            Priority: Minor
>              Labels: api-change
>             Fix For: 3.0
>
>         Attachments: CMAESOptimizer.java.NEW, CMAESOptimizerTest.java.NEW
>
>
> The bounds should be passed as arguments to the "optimize" method, instead of through the constructor.
> This is now possible, following the resolution of MATH-697.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MATH-698) Bounds in "BOBYQAOptimizer" and "CMAESOptimizer"

Posted by "Gilles (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MATH-698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13139411#comment-13139411 ] 

Gilles commented on MATH-698:
-----------------------------

"BOBYQAOptimizer" modified in revision 1194989.

                
> Bounds in "BOBYQAOptimizer" and "CMAESOptimizer"
> ------------------------------------------------
>
>                 Key: MATH-698
>                 URL: https://issues.apache.org/jira/browse/MATH-698
>             Project: Commons Math
>          Issue Type: Improvement
>            Reporter: Gilles
>            Assignee: Gilles
>            Priority: Minor
>              Labels: api-change
>             Fix For: 3.0
>
>
> The bounds should be passed as arguments to the "optimize" method, instead of through the constructor.
> This is now possible, following the resolution of MATH-697.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MATH-698) Bounds in "BOBYQAOptimizer" and "CMAESOptimizer"

Posted by "Gilles (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MATH-698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13211166#comment-13211166 ] 

Gilles commented on MATH-698:
-----------------------------

The code does not support mixing finite and infinite bounds: A workaround has been introduced in revision 1290909. We want might to try and remove that limitation but it requires non trivial changes to the code, and my initial attempt led many unit tests failing. Anyways, it can be done later, as a new issue.

                
> Bounds in "BOBYQAOptimizer" and "CMAESOptimizer"
> ------------------------------------------------
>
>                 Key: MATH-698
>                 URL: https://issues.apache.org/jira/browse/MATH-698
>             Project: Commons Math
>          Issue Type: Improvement
>            Reporter: Gilles
>            Priority: Minor
>              Labels: api-change
>             Fix For: 3.0
>
>         Attachments: CMAESOptimizer.java.NEW, CMAESOptimizerTest.java.NEW
>
>
> The bounds should be passed as arguments to the "optimize" method, instead of through the constructor.
> This is now possible, following the resolution of MATH-697.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MATH-698) Bounds in "BOBYQAOptimizer" and "CMAESOptimizer"

Posted by "Gilles (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MATH-698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13150496#comment-13150496 ] 

Gilles commented on MATH-698:
-----------------------------

Dietmar,

Could you please have a look at the changes in the attached files? Hopefully, you'll find what I did wrong. Thanks.

                
> Bounds in "BOBYQAOptimizer" and "CMAESOptimizer"
> ------------------------------------------------
>
>                 Key: MATH-698
>                 URL: https://issues.apache.org/jira/browse/MATH-698
>             Project: Commons Math
>          Issue Type: Improvement
>            Reporter: Gilles
>            Assignee: Gilles
>            Priority: Minor
>              Labels: api-change
>             Fix For: 3.0
>
>         Attachments: CMAESOptimizer.java.NEW, CMAESOptimizerTest.java.NEW
>
>
> The bounds should be passed as arguments to the "optimize" method, instead of through the constructor.
> This is now possible, following the resolution of MATH-697.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (MATH-698) Bounds in "BOBYQAOptimizer" and "CMAESOptimizer"

Posted by "Gilles (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MATH-698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gilles resolved MATH-698.
-------------------------

    Resolution: Fixed
    
> Bounds in "BOBYQAOptimizer" and "CMAESOptimizer"
> ------------------------------------------------
>
>                 Key: MATH-698
>                 URL: https://issues.apache.org/jira/browse/MATH-698
>             Project: Commons Math
>          Issue Type: Improvement
>            Reporter: Gilles
>            Priority: Minor
>              Labels: api-change
>             Fix For: 3.0
>
>         Attachments: CMAESOptimizer.java.NEW, CMAESOptimizerTest.java.NEW
>
>
> The bounds should be passed as arguments to the "optimize" method, instead of through the constructor.
> This is now possible, following the resolution of MATH-697.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira