From b89f677c675e338df16f9c66ae76b21f346f00f0 Mon Sep 17 00:00:00 2001 From: Gilles Sadowski Date: Wed, 1 Sep 2021 13:34:56 +0200 Subject: [PATCH] Relax tolerance (unit tests). --- .../scalar/noderiv/std_test_func.simplex.hedar_fukushima.csv | 2 +- .../scalar/noderiv/std_test_func.simplex.nelder_mead.csv | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/optim/nonlinear/scalar/noderiv/std_test_func.simplex.hedar_fukushima.csv b/commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/optim/nonlinear/scalar/noderiv/std_test_func.simplex.hedar_fukushima.csv index dcd585e96..2e5942418 100644 --- a/commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/optim/nonlinear/scalar/noderiv/std_test_func.simplex.hedar_fukushima.csv +++ b/commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/optim/nonlinear/scalar/noderiv/std_test_func.simplex.hedar_fukushima.csv @@ -52,7 +52,7 @@ TABLET, 11, 0 0 0 0 0 0 0 0 0 0 0, 3, 4, 2e-4, 3400, true SUM_POW, 2, 0 0, 3, 4, 1e-2, 150, true SUM_POW, 11, 0 0 0 0 0 0 0 0 0 0 0, 3, 4, 1e-2, 2500, true ACKLEY, 2, 0 0, 2, 4, 1e-6, 250, true -ACKLEY, 6, 0 0 0 0 0 0, 2, 4, 1e-6, 1400, true +ACKLEY, 6, 0 0 0 0 0 0, 2, 4, 1e-6, 1600, true #RASTRIGIN, 2, 0 0, 6, 10, 5e-5, 170, true GRIEWANK, 2, 0 0, 2, 3, 1e-1, 140, true GRIEWANK, 11, 0 0 0 0 0 0 0 0 0 0 0, 2, 3, 1e-1, 2200, true diff --git a/commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/optim/nonlinear/scalar/noderiv/std_test_func.simplex.nelder_mead.csv b/commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/optim/nonlinear/scalar/noderiv/std_test_func.simplex.nelder_mead.csv index 686c74232..50cf143f5 100644 --- a/commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/optim/nonlinear/scalar/noderiv/std_test_func.simplex.nelder_mead.csv +++ b/commons-math-legacy/src/test/resources/org/apache/commons/math4/legacy/optim/nonlinear/scalar/noderiv/std_test_func.simplex.nelder_mead.csv @@ -35,7 +35,7 @@ PARABOLA, 16, 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0, 20, 40, 5e-4, 3600, false ROSENBROCK, 2, 1 1, 0.9, 1.1, 1e-4, 110, false ROSENBROCK, 4, 1 1 1 1, 0.9, 1.1, 1e-4, 400, false ROSENBROCK, 8, 1 1 1 1 1 1 1 1, 0.9, 1.1, 5e-4, 2200, false -ROSENBROCK, 16, 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1, 0.9, 1.1, 5e-1, 7600, false +ROSENBROCK, 16, 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1, 0.9, 1.1, 5e-1, 10200, false POWELL, 4, 0 0 0 0, 4, 5, 5e-3, 290, false POWELL, 8, 0 0 0 0 0 0 0 0, 4, 5, 3e-2, 1300, false CIGAR, 2, 0 0, 2, 3, 5e-5, 100, false