Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

As Mike said it earlier, CBC (Coin) and CPLEX are not included in Sage by default. When you install Sage, GLPK is the only solver available and used.

What Sage does contain, however, are backends to GLPK CBC and CPLEX so that you can use them when they are available.

Coin is free, so you can install it by a spkg, but CPLEX is proprietary and you need a license if you want to use it. CPLEX is very expensive, but you can get a free license (without restriction on the size of problems you want to solve, or the number of threads) though IBM's Academic Initiative.

By default, Sage use Cplex if it is available. If not, then is uses CBC. If it is not available, GLPK is used. And you shouldn't have to import backends manually for a normal use of LP in Sage (it may be interesting to do so if you want to use solver-specific functions, though).