Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.
Originally posted by: Marko_Obert
Hi,
is it possible to create a new filesystem folder within an OPL script? I run several scenarios and want to store the results in seperate folders.
Kind regards,
Marko
AFAIK it is not directly possible. But with IloOplCallJava you can call virtually any Java function. So you can use Java to create the folder.
Note however that external Java calls do not work when running your model under oplrun.
Ok, so I guess its better to store all result files into a single folder and integrate the scenario name into the filename.
why not using IloOplExec ?
regards
Does IloOplExec works with oplrun, too?
Yes