You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apparently, we need to define the sum between an affine expression and a UniformScaling, so this should work too
julia>@variable(model, x)
x
julia> x + I
ERROR: MethodError: no method matching +(::VariableRef, ::UniformScaling{Bool})
Closest candidates are:+(::Any, ::Any, ::Any, ::Any...) at operators.jl:502+(::BitArray{2}, ::UniformScaling) at /build/julia/src/julia-1.1.1/usr/share/julia/stdlib/v1.1/LinearAlgebra/src/uniformscaling.jl:90+(::UnitUpperTriangular, ::UniformScaling) at /build/julia/src/julia-1.1.1/usr/share/julia/stdlib/v1.1/LinearAlgebra/src/uniformscaling.jl:106...
Stacktrace:
[1] top-level scope at none:0
The text was updated successfully, but these errors were encountered: