anriseth / MultiJuMP.jl

MultiJuMP enables the user to easily run multiobjective optimisation problems and generate Pareto fronts.
Other
61 stars 11 forks source link

Unable to use MultiJuMP methods #53

Open JNSDVD opened 1 year ago

JNSDVD commented 1 year ago

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:

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!

amgad-naiem commented 1 year ago

@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