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:
parent
bdb4160b00
commit
14ebd93426
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue