Originally posted by: Nomykan
Hi Alex,
Thanks for your reply but still a little confused. if i have a decision variable like X[A][B][C] and i do like this in the post process in the .mod file
tuple Xsol { int i; int j; int k; int value; } {Xsol} solX={<i,j,k, X[i][j][k]> | i in 1..5, j in 1..10, k in 1..3};
without flow control this works fine and writes results in the excel file but i have three models. i take one result from the first model and second result from the second model and then parse it to the third model through flow control. now i want to write the result of the third model which in this case is the X[A][B][C] into excel. so you mean i just parse the details of the solX to the sheetwrite string or how? because of the "A"+k+":A"+k; syntax its much confusing as to how i should change it to multi dimension. can you make it more clear to understand. I shall be very thankful. i have spent much time on it but still in vain. your help will make it easier for me.
Thanks
#DecisionOptimization#OPLusingCPLEXOptimizer