Optim.jl Implementing box minimization does not work for me

Your lower and upper were arrays of Integers (because all initial values were Ints). The error was complaining about some operation failing for that.

You could also have used lower = Float64[0, 0, -10, -10]

1 Like