COIN Linear Programming

19 views
Skip to first unread message

Tyler

unread,
Jan 29, 2010, 11:20:05 AM1/29/10
to sage-support
Hi!

I'm trying to use COIN to solve a MixedIntegerLinearProgram in sage.
When I get to the command

sage: p.solve(solver="Coin")

I get an error saying "Coin/CBC is not installed and cannot be used
to solve this MixedIntegerLinearProgram. To install it, you can type
in Sage: install_package('cbc')"

However, I have installed Coin/CBC. And in fact, if I try the command

sage: install_package('cbc')

I get an error saying " Package is already installed." So one part of
sage thinks it is installed, while another does not!

Any help on resolving this issue would be greatly appreciated. The
sage install is a source install on an ubuntu server.

-Tyler

Message has been deleted

Nathann Cohen

unread,
Jan 30, 2010, 1:48:26 AM1/30/10
to sage-support
Hello Tyler !!!

Minh, as is his custom, gave you the perfect answer. I also received
several emails about it, and I am still trying to design an acceptable
answer. For the moment, I only added a line about it at the end of a
tutorial on LP using Sage, which may interest you too :

http://bit.ly/5lUslr

Thank you for reporting such bugs :-)

Nathann

Tyler

unread,
Jan 30, 2010, 2:45:21 PM1/30/10
to sage-support
Thanks Minh and Nathann for your responses. That's exactly what I
needed, I'm up and running now!

-Tyler

Reply all
Reply to author
Forward
0 new messages