JuliaOpt / NLopt.jl

Package to call the NLopt nonlinear-optimization library from the Julia language
Other
257 stars 45 forks source link

from direct to stogo -> NLOPT_INVALID_ARGS #200

Open UnixJunkie opened 1 year ago

UnixJunkie commented 1 year ago

If I switch from direct to stogo for global optimization, I get this error. With direct, the optimization is going on (but I guess it would work way better if I exploit the gradient, hence the trial switch to stogo).

odow commented 5 months ago

Do you have a reproducible example? I don't fully understand what you mean.

UnixJunkie commented 5 months ago

No, I don't have a minimal example (way too much work to get one). I have a problem where direct works; if I change the algorithm from direct to stogo, I get this error.

odow commented 5 months ago

Do you have constraints? stogo does not support constraints other than bound constraints.

UnixJunkie commented 5 months ago

I only have bound constraints.

On Mon, Jan 15, 2024 at 1:19 PM Oscar Dowson @.***> wrote:

Do you have constraints? stogo does not support constraints other than bound constraints.

— Reply to this email directly, view it on GitHub https://github.com/JuliaOpt/NLopt.jl/issues/200#issuecomment-1891277849, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFUFAGLCCC622PZB5QY4BDYOSU43AVCNFSM6AAAAAA2BHYZ3OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJRGI3TOOBUHE . You are receiving this because you authored the thread.Message ID: @.***>