Originally posted by: Nomykan
Hi Alex,
Thanks for your rightly guided directions through which i am very quickly learning Optimization through CPLEX. i got the main idea of how to use the results of one model and use as input to the next model. but now the problem is how i can use the results of one model whose decision variable is an array of tuples. this is now making problem for me. for example i have a tuple
tuple edge { int i; int j; }
{edge} edges=...;
and then the decision variable X[edges][time];
and then this decision variable X is used as an input to the next model. do we need to use looping for this or just use the variable name.solutionValue? also the tuple syntax <i,j> when i write in the main it gives error. Help in this issue will be highly appreciated. Thanks
#DecisionOptimization#OPLusingCPLEXOptimizer