Originally posted by: jiaodaxiaozi
Hi Daniel,
I conclude it did not work by the following sentences:
IloCplex cplex(env);
cplex.setParam(IloCplex::WorkDir, "C:\\A");
cplex.setParam(IloCplex::MIPDisplay, 3);
cplex.setParam(IloCplex::StringParam::IntSolFilePrefix, "./newtest");
cplex.extract(model);
cplex.solve();
I expected to find solution files at "C:\\A" after setting WorkDir to "C:\\A". I have tried your recommended method and I still can't find solution files. I guess maybe because I used the wrong methods to test WorkDir parameter.
Thanks.
#CPLEXOptimizers#DecisionOptimization