Originally posted by: SystemAdmin
Hi John,
I used the writeMipStart method in mipex2.m file which is an example matlab file in CPLEX. I just added the following line in that file.
cpx.writeMipStart('C:\Users\Desktop\output.sol');
Here cpx is used since it is initialized as Cplex object in this file.
I am able to run this file and save the output as a file. But the problem is, it is only storing the binary Integer variables(since its a MIP problem). But, what I am interested is also to store other variables used in my problem. This is not happening using this writeMipStart method.
Actually writeSolutions method using C++ CPLEX save a file and gives a complete solution list. I am looking similar way in MATLAB.
Thanks
#CPLEXOptimizers#DecisionOptimization