-
-
Couldn't load subscription status.
- Fork 56
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug π
Although the IntervalNonlinearProblem docs say keyword arguments are passed to the solver, I do not find the solution to depend on the abstol passed to the problem (abstol does have an effect when passed to the solve). I only tested ITP.
Expected behavior
I would like to see that the abstol passed to the problem overrides the default abstol, but is of lower precedence than tolerances passed into solve.
Minimal Reproducible Example π
using SimpleNonlinearSolve
const counter = Ref(0)
prob = IntervalNonlinearProblem((x, counter) -> (counter[] += 1; exp(-x)-x), (0.0, 1.0), counter; abstol=1e-3)
solve(prob, ITP())
counter[] # 37
counter[] = 0
solve(prob, ITP(); abstol=1e-3)
counter[] # 9, fewer function evaluations than first, meaning the problem tolerance was not usedI was using SimpleNonlinearSolve.jl v2.1.0.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working