[ 
https://issues.apache.org/jira/browse/MATH-1137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14059860#comment-14059860
 ] 

Nigel Goodwin commented on MATH-1137:
-------------------------------------

I made a test program by applying bobyqa to a 100 dimensional rosenbrock 
function. The bit of code under discussion was never executed. indeed, the IF 
statement a few lines above was never true

{code}
          dnorm = FastMath.min(deltaOne, deltaTwo);
            if (dnorm < HALF * rho) {
                ntrits = -1;
                // Computing 2nd power
 {code}

so I am scratching my head trying to work out how to force this bit of code to 
execute!

I tried with various trust region sizes.

> BOBYQA incorrect indexing
> -------------------------
>
>                 Key: MATH-1137
>                 URL: https://issues.apache.org/jira/browse/MATH-1137
>             Project: Commons Math
>          Issue Type: Bug
>    Affects Versions: 3.3
>            Reporter: Nigel Goodwin
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to