--
You received this message because you are subscribed to the Google Groups "pulp-or-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pulp-or-discu...@googlegroups.com.
To post to this group, send email to pulp-or...@googlegroups.com.
Visit this group at http://groups.google.com/group/pulp-or-discuss.
For more options, visit https://groups.google.com/d/optout.
3) How to save CBC log file after it terminates?
if you want to save the cbc log you can pass in command line parameters by using the solver parameter options
>>> prob.solve(PULP_CBC_CMD(options=[...])
--
You received this message because you are subscribed to the Google Groups "pulp-or-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pulp-or-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to pulp-or-discuss@googlegroups.com.
Visit this group at https://groups.google.com/group/pulp-or-discuss.
pulp.solvers.
COIN_CMD
(path=None, keepFiles=0, mip=1, msg=0, cuts=None, presolve=None, dual=None, strong=None, options=[], fracGap=None, maxSeconds=None, threads=None)here is the cbc documentation but it doesn't really have the options listed :-(MaxSeconds is self explanatory as in the maximum number of seconds it will run.FracGap is a number between 0 and 1 which determines when branch and bound will complete by comparing the best Integer solution with the current lower bound.Stu
On Wed, May 3, 2017 at 2:02 AM, Matthew Pearlson <mpea...@gmail.com> wrote:
Thanks for the support Syed. Can you point me to the documentation on fracGap, and maxSeconds?Thanks! Matthew
On Thursday, March 26, 2015 at 4:10:09 AM UTC-4, Syed Taha Munir wrote:This might helpprob.solve(PULP_CBC_CMD(fracGap = 0.00001, maxSeconds = 500, threads = None))
kind regards
On Wednesday, January 14, 2015 at 8:23:14 PM UTC+1, Akhil wrote:Hi,This question is about changing CBC solver parameters using PuLP. CBC (with its default settings) is unable to find initial feasible solution for my milp problem even after 30K nodes. I am trying to change parameters of the solver to make its search process simpler. I've the following questions:1) To influence node selection during strong branching, Page 16 of this link suggests that priorities should be defined for integer variables. A variable with a lower priority gets branched first. How do I set priorities for integer variables using PuLP? Solver help mentions about using 'priorityIn' command and passing a file, but there is no documentation which mentions how to write such a file. Can you please give a small example on how to set priorities?2) How do I create a file for 'mipstart' command to load an initial feasible solution in the solver?3) How to save CBC log file after it terminates?Thanks a lot.Regards,Akhil.
--
You received this message because you are subscribed to the Google Groups "pulp-or-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pulp-or-discu...@googlegroups.com.
To post to this group, send email to pulp-or...@googlegroups.com.
Visit this group at https://groups.google.com/group/pulp-or-discuss.
--Stuart MitchellPhD Engineering ScienceExtraordinary Freelance Programmer and Optimisation Guru