Currently I am working on a scheduling problem using IBM ILOG CPLEX using its OPL. I can only export the optimal solution using sheetWrite command but I would like to export the results of each feasible solution not only the optimal solution. Could you please advise on how to do this knowing that I am using CP solver and I don't have any prior knowledge on the number of the feasible solutions.
Thanks in advance Mohamed
what you could do is rely on a flow control main block.
You could add
at the end of your model and then postprocess will be called each time you get a new solution
Since my solutions seems not clear enough let me give a complete example out of the watehouse example:
.mod
.dat
will write 4 solutions into the file iter.xls