Originally posted by: AnushKara
Hello everyone,
I am a beginner in using CPLEX optimization studio. I want to formulate a network flow problem. In my problem, a1 = (i, j) and a2 = (i, j) may be two different arcs in A, both connecting the nodes i and j in N. However, I have an excel file of 100 instances of i and j. And now I can't define these variables so that it retrieves the values of i and j from excel and defines the above-mentioned statement of arc sets.
tuple
arc {
key
int
fromnode;
key
int
tonode;
}
The values of i in my excel file refer to tuple component fromnode and j to component tonode. However, I don't know how to define the set of arcs to be retrieved from excel.
I would be really grateful for the help.
#DecisionOptimization#OPLusingCPLEXOptimizer