Optimization code

I have got a warning message below,

┌ Warning: with_optimizer is deprecated. Adapt the following example to update your code:
with_optimizer(Ipopt.Optimizer) becomes Ipopt.Optimizer.
│ caller = top-level scope at ETMODEL 10.jl:155

I don’t understand what to update.

You are probably looking at (with instructions):

2 Likes