Problem with CPLEX

88 views
Skip to first unread message

Sam

unread,
Apr 27, 2012, 9:23:12 AM4/27/12
to pulp-or-discuss
I have some problem about CPLEX_PY sovler. I have to know how to set
the tolerance gap for this solver. I try to set following Pulp
documentation, but I cannot do it. I set
"prob.solve(CPLEX(epgap=0.1))" in my code. Can anybody know how to set
tolerance gap? Thank you for your helping in advance and sorry for my
broken English.

Thanks
Sam

Stuart Mitchell

unread,
Apr 30, 2012, 6:14:24 PM4/30/12
to pulp-or...@googlegroups.com
Hmm I have not implemented that sorry (the cplex api was difficult to use)

I can implement it if you like or give you a work around if necessary.

Stu

Sam

--
You received this message because you are subscribed to the Google Groups "pulp-or-discuss" group.
To post to this group, send email to pulp-or...@googlegroups.com.
To unsubscribe from this group, send email to pulp-or-discu...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pulp-or-discuss?hl=en.




--
Stuart Mitchell
PhD Engineering Science
Extraordinary Freelance Programmer and Optimisation Guru

Sam

unread,
Apr 30, 2012, 11:53:18 PM4/30/12
to pulp-or-discuss
It is ok, I think I will change to GLPK solver. Thank you very much

Sam

Stuart Mitchell

unread,
May 1, 2012, 12:07:42 AM5/1/12
to pulp-or...@googlegroups.com
Use gurobi its much better supported, academic licenses are free as well, or else use the default cbc solver (unless you need duals).

Stu
Reply all
Reply to author
Forward
0 new messages