I am trying to fix a variable that I have previously defined as
factors = ["labor", "capital"]
@variable(mymodel, W[f in factors] => 0)
then using
JuMP.fix(W["labor"], 1)
I’m new to Julia/JuMP so this could be simple, but it seems like if I can define a variable over a set of strings I should also be able to fix it, right? What am I missing? Thanks for the help!!