right now I want to get myself more familiar within the filed of linear programming using julia/JuMP. More specifically, I'm trying to implement the algorithm for benders decomposition. Since I'm stuck at certain parts, I wanted to look into other implementations which did similar before. Fortunately, I could find one in the official tutorial section of JuMP: https://jump.dev/JuMP.jl/stable/tutorials/Optimization%20concepts/benders_decomposition/
Unfortunately I can not execute it. It crashes within the first iteration:
with fm_current = 1.0e6
x_current = [0.0, 0.0]
ERROR: LoadError: MethodError: no method matching ndims(::AffExpr)
Closest candidates are:
ndims(::GenericQuadExpr) at C:\Users\Laurenz\.julia\packages\JuMP\Xrr7O\src\quad_expr.jl:54
ndims(::Base.Generator) at generator.jl:53
ndims(::JuMP.Containers.VectorizedProductIterator) at C:\Users\Laurenz\.julia\packages\JuMP\Xrr7O\src\Containers\vectorized_product_iterator.jl:73
...
Stacktrace:
all of my julia packages are up to date.
It crashes within the MutableArithmetics.jl in this line:
Maybe someone has this code already running or could simply try to run it. Would be much appreciated! Thank you:)