Replies: 2 comments 3 replies
-
have you tried it with the CBC version that comes with pulp? with that version I'm able to get the warmStart read without issues. You should not need to provide |
Beta Was this translation helpful? Give feedback.
3 replies
-
I ran into the same problem. From my output, my best guess is that setting and fixing initial values requires writing these values to a file that is then read by the solver. Therefore, keepfiles=True, forces the necessary file to be written. I guess I'm keeping it |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I experimented with the wedding example https://github.com/coin-or/pulp/blob/master/examples/wedding_initial.py but somehow CBC seems to ignore the initial solution when I use "PULP_CBC_CMD(msg=True, warmStart=True)".
However, when I use "PULP_CBC_CMD(msg=True, warmStart=True, keepFiles=True)" it seems to work ("Cbc0045I MIPStart provided solution with cost 12").
Is this a bug or some file-access problem on my system? I am using pulp 2.4 and cbc 2.10.3 (downloaded from https://ampl.com/products/solvers/open-source/#cbc).
I also tested with CPLEX 12.9.0: "CPLEX_CMD(msg=True, warmStart=True)" and it seems to work without "keepFiles=True" ("MIP start 'm1' defined initial solution with objective 12.00").
Best regards
Beta Was this translation helpful? Give feedback.
All reactions