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

Incorrect result when set of minimisers #16

Open
dpsanders opened this issue Jun 21, 2019 · 4 comments
Open

Incorrect result when set of minimisers #16

dpsanders opened this issue Jun 21, 2019 · 4 comments

Comments

@dpsanders
Copy link
Member

julia> @time ibc_minimise((x,y)->(x-y)^2, IntervalBox(2..4, 3..4), tol=1e-6)
  0.471267 seconds (1.18 M allocations: 60.234 MiB, 4.10% gc time)
([0, 0], IntervalBox{2,Float64}[[3.99999, 4] × [3.99999, 4], [3.99999, 4] × [3.99999, 4], [3.99999, 4] × [3.99999, 4], [3.99999, 4] × [3.99999, 4]])

Any (x, x) in (3..4) \times (3..4) should be a solution.

@dpsanders
Copy link
Member Author

Unless you are trying to return only a solution instead of all solutions.

@yashvardhan747
Copy link
Collaborator

Yes the solution will be convex hull of all minimisers.

@dpsanders
Copy link
Member Author

That is not what is happening here? Why will it be the convex Hull? The easiest thing to do is just return a list of all the boxes that may contain minimisers.

@yashvardhan747
Copy link
Collaborator

I said convex Hull because from it we can find smallest box which can all the minimisers.

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

2 participants