MultiJuMP.jl icon indicating copy to clipboard operation
MultiJuMP.jl copied to clipboard

Unable to use MultiJuMP methods

Open JNSDVD opened this issue 2 years ago • 1 comments

Hey guys,

I aim to use MultiJuMP in combination with any NLP-Solver (prob Juniper). But I do not get the package to work. Same as Orhanabar I tried to run the example first (#35) and got the exact same error:

`UndefVarError: multi_model not defined

Stacktrace: [1] top-level scope at In[38]:3`

So basically none of the MultiJuMP methods are recognized by Julia, even tho it looks like the package is rdy to work with. Further downgrading to JuMP 0.18.5 and MultiJuMPO 0.5.0, which was the solution in #35, did not help me. I use Julia 1.8.2 and JuMP v0.21.2 + MultiJuMP v0.6.0 (as suggested).

Any help is highly appreciated!

JNSDVD avatar Nov 29 '22 11:11 JNSDVD

@JNSDVD Can you try the latest CLP code sample https://github.com/anriseth/MultiJuMP.jl/blob/master/examples/linear.jl as the syntax have changed from v0.5.0

amgad-naiem avatar Jan 04 '23 07:01 amgad-naiem