Reputation: 9
I am trying to use JumP and Ipopt under Julia v1.10.5. When I try to construct a model:Model(Ipopt.O optimizer) I get the following error message:
UnderVarError:OG=Model(Ipopt,Optimizer)
ERROR: UndefVarError: Optimizer
not defined
Stacktrace:
[1] top-level scope
@ REPL[3]:1
But i have already installed the latest version of Jump and ipopt.
Any ideas? Thanks!
Upvotes: 0
Views: 39
Reputation: 2564
Your error has Model(Ipopt,Optimizer)
. It needs to be Model(Ipopt.Optimizer)
.
Note the period .
instead of the comma ,
.
Upvotes: 1