Dear Julia&JuMP support team,
if i have a set or an array of elements:
A=[“A1”, “A2”, “A3”]
I want to define a new array B linked to each element of A:
B(“A1”)=[“m1”, “m2”]
B(“A2”)=[“m3”, “m4”]
B(“A3”)=[“m1”, “m5”]
This way is not working since it gives a warning “B is not defined”.
Give me some insight please.
Thanks,
Marko
2 posts - 2 participants