-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
Hi! Let me start by saying thanks for this great package! I tried the following discontinuous function optimisation where the optimal solution is on the edge of the discontinuous function. However, the output of minimise
seems wrong:
using IntervalArithmetic, IntervalOptimisation
obj = x -> log(x) + (x >= 2 ? 0 : Inf)
minimise(obj, 1..10)
# ([1.69833, 1.69839], Interval{Float64}[[5.46484, 5.46535]])
Any idea if there is a way to fix this? If this works, constraints can be trivially modeled with this discontinuous approach.
Metadata
Metadata
Assignees
Labels
No labels