Originally posted by: hugotorres
I need to create a variable which has 3 indexes, let's say they're i for resource, j for zone and k for subzone. I have the resources organized in 11x11 matrixes, related to bases vs subzones. Each of this matrixes has the name Zone_X in excel and I need to import each one of them to the variable, to have it in a format described above. Can this be done by defining the range of the zones, and then dynamically allocating the matrixes to the vector? something like:
z = 2000
range zones = 1..z.;
//create a cycle here
var[zones] = zone_(zones)
Would something like this work? I'm asking to get ahead on my work, since I don't have the excel file ready yet, just want to discuss the best way to do this
#DecisionOptimization#OPLusingCPLEXOptimizer