Argument error : invalid NLopt arguments: finite domain required for global algorithm

Hi,

I am trying to run a Julia code to fit a LinearMixedModel and facing an Argument error : invalid NLopt arguments: finite domain required for global algorithm.

Julia version I am working on is 1.8.5

Any help will be appreciated.
Thank you

The error means exactly what it says: NLopt has both global and local optimization algorithms, but the former are only supported on a finite domain.

So, either specify upper and lower bounds to all your variables or switch to local optimization.

Can you provide more detail on how you got to this error? For example, MixedModels.jl version and whether you changed any of the default settings.

For the default settings, MixedModels.jl sets up the optimization problem with appropriate constraints and then uses the BOBYQA optimizer.