NLopt.jl
NLopt.jl copied to clipboard
Add vector constraints
Trying to add a vector constraint to my optimization problem, I came to one error when using the syntax:
inequality_constraint!(opt, m, (c,u,g) -> constraints(c,u,g,p), tol )
I checked the code and found a little bug; in line 476 is written
$cf(o, f, fill!(Cdouble(tol), m))
while it should be
$cf(o, f, fill(Cdouble(tol), m))
without the exclamation mark