Continue with:
value(v -> Dict(x => 2.0)[v], T)
The first argument takes a JuMP variable name, and returns a value. So essentially the Dict can contain several variables and other ways are legit, as long as they return a value.
Continue with:
value(v -> Dict(x => 2.0)[v], T)
The first argument takes a JuMP variable name, and returns a value. So essentially the Dict can contain several variables and other ways are legit, as long as they return a value.