Originally posted by: brown_rice
Hi,
I write engine log into a txt with the following way. When I run the mod file, it perfectly works.
float _time;
execute{
var assing= new Date();
_time= assing.getTime();
var Path= "C:\\Users\\Desktop\\myFiles\\";
thisOplModel.settings.run_engineLog= Path+"engine_log_"+_time+".txt";
}
However, when I create a new mod file and use the command line runner with
execute{
IloOplExec("C:\\Program Files\\IBM\\ILOG\\CPLEX_Studio128\\opl\\bin\\x64_win64\\oplrun.exe"+
" C:\\Users\\Desktop\\OPL\\myModel.mod"+
" C:\\Users\\OPL\\myModel\\datE1S4800.dat",true );
};
even though model is run and I obtain my results, the engine log file is never created. How can I solve this problem? Everything works, when I run the model in the normal way.
#DecisionOptimization#OPLusingCPLEXOptimizer