anriseth / MultiJuMP.jl

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

Remove constraint name nbiconstr #11

Closed anriseth closed 7 years ago

bablookumarroy commented 7 years ago

I am getting below error while run the tanaka.jl example plz help ERROR: type Model has no field varDict in _solve_nbi(::JuMP.Model, ::Bool) at C:\Users\IP Bablu.julia\v0.5\MultiJuMP\src\MultiJuMP.jl:168 in #solvehook#23(::Symbol, ::Bool, ::Array{Any,1}, ::Function, ::JuMP.Model) at C:\Users\IP Bablu.julia\v0.5\MultiJuMP\src\MultiJuMP.jl:321 in (::MultiJuMP.#kw##solvehook)(::Array{Any,1}, ::MultiJuMP.#solvehook, ::JuMP.Model) at .\:0 in #solve#114(::Bool, ::Bool, ::Bool, ::Array{Any,1}, ::Function, ::JuMP.Model) at C:\Users\IP Bablu.julia\v0.5\JuMP\src\solvers.jl:151 in (::JuMP.#kw##solve)(::Array{Any,1}, ::JuMP.#solve, ::JuMP.Model) at .\:0

anriseth commented 7 years ago

@bablookumarroy This seems to be due to a change in JuMP: https://github.com/JuliaOpt/JuMP.jl/pull/1028 Hopefully #12 fixes it.

In future, can you please post any errors or questions as an issue here: https://github.com/anriseth/MultiJuMP.jl/issues/new ?

You may also want to upgrade to Julia 0.6 now, as packages are stopping to support 0.5.

bablookumarroy commented 7 years ago

@anriseth Thanks 👍 it worked