I can pre-allocate a JuMP.AffExpr(0.).
But can I create a dumb x = JuMP.VariableRef(undef)?
Then I can write something like
v = JuMP.Containers.@container([i=1:3], x)
for i = 1:3
if i !== 3
v[i] = JuMP.@variable(m) # this is real decision variable that has a Gurobi_c_index
end
end