Following the instructions at http://www.coin-or.org/PuLP/main/installing_pulp_at_home.html#installation , I installed PuLP using "Install Windows from source"
When I tried to run the test on the page (Instructions on the page: "To check if you are working correctly with the pulp, enter the following into the python interpreter and note that the result should be similar. This is what you would expect if you didn't set which or any other CoinMP solver and solver complete with pulp work. ")
My results:
Pulp import pulp.pulpTestAll () Solver pulp.solvers.CPLEX_DLL is not available. Solver pulp.solvers.CPLEX_CMD is not available. Solver pulp.solvers.COIN_CMD is not available. Solver pulp.solvers.COINMP_DLL is not available. Solver pulp.solvers.GLPK_CMD is not available. Solver pulp.solvers.XPRESS is not available. Solver pulp.solvers.GUROBI is not available.
According to the webpage, this should be my conclusion:
Pulp import pulp.pulpTestAll ()
Solver pulp.pulp.COIN_MEM is not available. Solver pulp.pulp.COIN_CMD is not available. Testing a continuous LP solution Testing maximizes a continuous LP solution Testing an unlimited continuous LP solution Testing a MIP solution Testing a MIP relaxation of a feasibility study (no goal) Testing an unattainable problem Testing an integer impossible problem (correction error) Column based testing Column based testing with empty restrictions Testing reports on double variables and slices Testing solved I have problems testing consecutive decisions Testing fractional limited testing of elastic constraints (unchanged) Testing Flexibility Limited (freebound) Test elastic constraints (unchanged) Test elastic limits (without limitation) * Solver pulp.pulp.COINMP_DLL passed. Solver pulp.pulp.GLPK_MEM is not available. Solver pulp.pulp.GLPK_CMD is not available. Solver pulp.pulp.XPRESS is unavailable.
I am using Python 2.7.1, PuLP 1.4.7 for Windows 7 64 bit.
I think this is because the CoinMP solution related to PuLP does not work. I just started working in Python a week ago, I'm just a fan of programming.
source share