Closed anriseth closed 7 years ago
objDict contains constraints as well. Need to do something else to extract the values of each variable...
This is not a correct way to loop through all variables in the model. Use
[Variable(m,i) for i in 1:MathProgBase.numvar(m)]
instead.
Thank you @mlubin !
@bablookumarroy this should fix your problem with tanaka.jl
. Note that I removed Julia 0.5 support, so you may wish to upgrade to Julia 0.6.
@anriseth Now its working fine.
Fix changes made by https://github.com/JuliaOpt/JuMP.jl/pull/1028