Originally posted by: viva0521
Hi, there
I have a problem that contains 29 nodes, some of which are connected to form a certain network.
Let's say, 1st set = AllNodes, consists of two categories nodes, say "H" and "R" nodes, I want create 2 subset with different cost functions. I realized that I need a tuple for creating subset, however, my nodes sequence are randomly distributed as follows:
I(node)/1...29/
H(node)/1,2,3,4,5,6,7,8,9,11,14,16,19,22,24,27/
R(node)/10,12,13,15,17,18,20,21,23,25,26,28,29/
Moreover, I want to use different index across all the node for set I, use I(i,j) for first set, H(k,m) for second set and R(p,q) for the last one.
How can i achieve this? Any comment is highly appreciated! Thanks in advance!
#DecisionOptimization#OPLusingCPLEXOptimizer