Relax expected number of evaluations (unit test).

Optimization is sensitive to the change from "AccurateMath" to "Math"
for computing the "pow" function used in "TestFunction.SUM_POW".
This commit is contained in:
Gilles Sadowski 2021-08-22 01:10:04 +02:00
parent bdb4160b00
commit 14ebd93426
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ public class BOBYQAOptimizerTest {
new PointValuePair(OptimTestUtils.point(dim, 0.0), 0.0); new PointValuePair(OptimTestUtils.point(dim, 0.0), 0.0);
doTest(TestFunction.SUM_POW.withDimension(dim), startPoint, boundaries, doTest(TestFunction.SUM_POW.withDimension(dim), startPoint, boundaries,
GoalType.MINIMIZE, GoalType.MINIMIZE,
1e-8, 1e-1, 21000, expected); 1e-8, 1e-1, 21720, expected);
} }
@Test @Test