Originally posted by: JonasVolland
Dear all,
I would like to warm-start a MIP using a solution that I know from a heuristic. Therefore, I would like to use the CPLEX-method
"readMIPStarts(name)"
"name" correstponds to the file name where the solution is stored. From what I learned, the file is of the type *.mst. In order to understand how the *.mst file looks like, I would like to generate one file "result.mst" after solving an easy MIP with the CPLEX method.
"writeMIPStarts(name, start, nb)".
However, both methods are not working and the following error messages are thrown:
"MIPCplex.writeMIPStarts("result.mst",0, 1000);" --> CPLEX error 1422: Could not open file 'result.mst' for writing
"MIPCpex.readMIPStarts("result");" --> CPLEX error 1423: Could not open file 'result.mst' for reading
The file "result.mst" is located in the working directory of the model.
I have created the result.mst file as a text file (result.txt) and renamed it to result.mst manually.
Why am I getting the error messages?
Any help is highly appreciated!
Thank you & best regards,
Jonas
My ILOG CPLEX Optimization Studion version is 12.6.1.0 and I work with ilog script.
#DecisionOptimization#OPLusingCPLEXOptimizer