Originally posted by: trebron
Dear Alex,
thanks for the hints. I'll give it a try.
In a first attempt I modified your zoo-example a bit and was wondering what the working directory of OPL-IDE is.
main
{
thisOplModel.generate();
var filenameLp = "zoo.lp";
cplex.exportModel(filenameLp);
cplex.solve();
var filename = "zooSolution.mst";
//var filename = "c://temp//zooSolution.mst";
thisOplModel.postProcess();
cplex.writeMIPStarts(filename, 0, 1);
}
The dump of the lp-work fine whereas the dump of the solution file yields
Ausnahme von IBM ILOG CPLEX: CPLEX Error 1422: Could not open file 'zooSolution.mst' for writing.
Ausnahme von IBM ILOG CPLEX: CPLEX status = 1422. zoo.mod
Moreover
* It works fine with oplrun and the mst-file is written.
* The mst-file is as well written within the IDE if I specify a complete path (e.g., "c://temp//zooSolution.mst")
I'm confused. Is that behaviour to be expected?
(mod file is enclosed).
Cheers
Norbert
#DecisionOptimization#OPLusingCPLEXOptimizer