Hi,

This test for the SimplexOptimizer is not robust. It uses random seeding to
run optimisation problems. If these do not work from the chosen start point
then the test fails. Up to 10 repeats of the test are allowed. Sometimes
this is not enough.

The tests originate from a long time ago in CM. Keeping the tests ensures
that the library continues to support these problems and avoids regressions.

Gilles has been working on the optimizers and may be able to provide more
details. Recent work has been successful in enabling many previously
ignored test cases to be reintroduced to the test suite. However all this
good progress has not totally eliminated spurious failures.

For the time being you can ignore failures in these tests which are likely
unrelated to changes you are performing. Any PRs raised against the master
branch are evaluated in the context of the change. Any failures of these
tests during the CI build will be noted and often just restarting the CI
build will pass the next time round.

Alex


On Mon, 30 Aug 2021 at 13:12, Erik Svensson <erik.svens...@nasdaq.com>
wrote:

> Howdy all!
>
>
>
> I’m having problems building commons-math. It build perfectly on master
> but as soon as I branch some tests fail like
>
>
> org.apache.commons.math4.legacy.optim.nonlinear.scalar.noderiv.SimplexOptimizerTest.testFunctionWithMultiDirectional(Task)[14]
>
>
>
> I have no clue as to why this is happening.
>
>
>
> Cheers
>
>
>
>
>
> *Erik Svensson*
>
> Principal Architect
> Strategic Programs, Platform & Product Engineering
>
> [image: Nasdaq, Inc.] <http://www.nasdaq.com/>
>
> *Desk*
> *Mobile*
> *Email*
> *Address  *
>
> + 46 8 405 66 39
> + 46 73 449 66 39
> erik.svens...@nasdaq.com
> Tullvaktsvägen 15, Stockholm
>
> [image: signature_1241049583] <https://www.facebook.com/nasdaq/>
>
> [image: signature_1432592288] <https://twitter.com/nasdaq>
>
> [image: signature_1240318774] <https://www.linkedin.com/company/nasdaq>
>
> [image: signature_1227205687] <https://www.instagram.com/nasdaq/>
>
> [image: signature_599113112] <https://www.pinterest.com/nasdaq/>
>
> rewritetomorrow.com
>
>
>
>  *******************************************
> CONFIDENTIALITY AND PRIVACY NOTICE: This e-mail and any attachments are
> for the exclusive and confidential use of the intended recipient and may
> constitute non-public information.  Personal data in this email is governed
> by our Privacy Policy at  https://www.nasdaq.com/privacy-statement
> unless explicitly excluded from it; please see the section in the policy
> entitled “Situations Where This Privacy Policy Does Not Apply” for
> circumstances where different privacy terms govern emailed personal data.
> If you received this e-mail in error, disclosing, copying, distributing or
> taking any action in reliance of this e-mail is strictly prohibited and may
> be unlawful. Instead, please notify us immediately by return e-mail and
> promptly delete this message and its attachments from your computer system.
> We do not waive any work product or other applicable legal privilege(s) by
> the transmission of this message.
> *******************************************
>

Reply via email to