Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stopping Function #132

Open
orkolorko opened this issue Jul 24, 2019 · 2 comments
Open

Stopping Function #132

orkolorko opened this issue Jul 24, 2019 · 2 comments

Comments

@orkolorko
Copy link

An interesting addition would be the possibility of passing a different stopping function to the root_finding method.

I.e. I`m looking for roots in x of a function f(t, x), where t may be a thick interval. I would like the stopping criteria to be the fact that the derivative w.r.t. to t of the root does not contain 0.

@dpsanders
Copy link
Member

That sounds Interesting.

But it sounds like you might get a complicated set, so maybe IntervalConstraintProgramming.jl would be more appropriate for that? Otherwise feel free to make a Pull Request!

@Kolaru
Copy link
Collaborator

Kolaru commented Jul 26, 2019

Using the iterator version of the search, you can already do it by defining a custom Search type and defining a process function that suits your needs.

See https://github.com/JuliaIntervals/IntervalRootFinding.jl/blob/master/examples/root_search_iterator.jl for an example.

Having a nicer interface that allows to directly pass the stop criterion as a function may still be nice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants