odow
4
This code was written at least three years ago, and it doesn’t have a Project.toml
that declares which version of JuMP it supports.
What is import Pkg; Pkg.status()
?
You’ll need to make sure that you’re using the appropriate version of the required packages, but that’s quite hard (if not impossible) to figure out.
From your error, it looks like line 608 is the problem:
You probably need something like:
@constraint(m_cvx, pg_opt .+ alpha0 .* deltaᵘ .+ slack_pg .<= pg_max)
Note the extra .
before the +
operators.
1 Like