prob.solve(pulp.GUROBI(msg=0), **{'Method': 2})
as i'm not that familiar with **kwargs i tried it slightly different
prob.solve(pulp.GUROBI(msg=0), **{'Method': 2})
but none of both approaches worked out.
has someone of you experience with pulp in combination with gurobi and keyworded arguments?
i would be really thankful get some from you, guys!
thanks in advance.
cheers,
guido
prob.solve(pulp.GUROBI(msg=0, Method=2))
Kwargs get included the same way as other parameters and are really a bit of python syntax that catches all other parameters.
--
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.
try removing the "solver=" in the above lines1. model.solve(GUROBI(options={"LogFile" : logfilename}) )2. model.solve(pulp.GUROBI_CMD(options={"LogFile" : logfilename}) )
Visit this group at https://groups.google.com/group/pulp-or-discuss.
--Stuart MitchellPhD Engineering ScienceExtraordinary Freelance Programmer and Optimisation Guru
--
You received this message because you are subscribed to a topic in the Google Groups "pulp-or-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pulp-or-discuss/kzepw7kuFSA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pulp-or-discu...@googlegroups.com.
Visit this group at https://groups.google.com/group/pulp-or-discuss.
--
New posters to this group are moderated which can take up to 48 hours, so please be patient if your first post takes a while to turn up.
---
You received this message because you are subscribed to a topic in the Google Groups "pulp-or-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pulp-or-discuss/kzepw7kuFSA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pulp-or-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pulp-or-discuss/e66c6d38-ffc0-4f06-b940-87b1af5613e2%40googlegroups.com.
To unsubscribe from this group and all its topics, send an email to pulp-or-discuss+unsubscribe@googlegroups.com.