Originally posted by: Userhtwg
Hey Guys,
I have some problems with a simple ILOG script. I tried to manipulate two values over a nested for-loop in which the names of the .dat-files are iterated. Some parameters are initialized in .dat-files and results shall be written into an excel sheet.
The Problem formulation:
Case A- If we copy the script into the .mod-file we get five error messages because of undefined variables ("testmodel 1") although all variables are defined in the .mod-file.
Case B- If we separate the ILOG script and the model definition into two different files we don't get an error message and no data will be written into the Excel sheet ("testmodel 2").
I use a WIN-7 64-Bit machine with the ILOG CPLEX Optimization Studio (ILOG Cplex Solver Version 12.6) and the 2010 Excel Version.
I will provide all files in the attachment. Could someone help me with some suggestions? I think the connection to the Excel-Sheet makes some problems but I can't handle it.
Thank you
Bye Kamil
#DecisionOptimization#OPLusingCPLEXOptimizer