Skip to content

Problem with boundaries #47

@newptcai

Description

@newptcai

In the following problem, the actual minimal points are simply (0,1) and (1,0). but the package outputs a lot of boxes. It does not seem that decreasing tolerance helps.

julia> global_min, minimisers = minimise(X->((x,y)=X; -(x/(y+1)+y/(x+1))), IntervalBox(0..1, 2), tol=1e-15);

julia> minimisers
20-element Array{IntervalBox{2,Float64},1}:
 [0.999999, 1] × [0.999999, 1]             
 [0.999999, 1] × [0.999999, 1]             
 [0, 6.00051e-16] × [0.999999, 1]          
 [6.0005e-16, 1.20956e-15] × [0.999999, 1] 
 [0.999999, 1] × [0, 6.00051e-16]          
 [0.999999, 1] × [6.0005e-16, 1.20956e-15] 
 [0.999999, 1] × [0.999999, 1]             
 [0.999999, 1] × [0.999999, 1]             
 [0.999999, 1] × [0.999999, 1]             
 [0.999999, 1] × [0.999999, 1]             
 [0.999999, 1] × [1.20955e-15, 1.81906e-15]
 [1.20955e-15, 1.81906e-15] × [0.999999, 1]
 [0.999999, 1] × [0.999999, 1]             
 [0.999999, 1] × [0.999999, 1]             
 [0.999999, 1] × [0.999999, 1]             
 [0.999999, 1] × [0.999999, 1]             
 [0.999999, 1] × [0.999999, 1]             
 [0.999999, 1] × [0.999999, 1]             
 [0.999999, 1] × [0.999999, 1]             
 [0.999999, 1] × [0.999999, 1]             

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions