Originally posted by: mathygirl
I'm loading a model with OPL script as follows:
var source = new IloOplModelSource("myModel.mod");
This type of implementation accesses the model with respect to the current working directory.
The OPL script handles the control flow of the application and is run by a Java wrapper. The entire application will be packaged as a war and run on an app server, so finding the model with respect to the current working directory will not work. Is there a way to specify the directory of the model not with respect to the current working directory and not as an absolute path inside the OPL scipt?
#DecisionOptimization#OPLusingCPLEXOptimizer