I am using PuLP (version 1.6.8) on a Windows 10 64bit machine through Spyder (Anaconda) compiler. I have recently installed free academic licence of Gurobi and trying to call the gurobi solver from Pulp interface. On doing so I get the following error
PermissionError: [WinError 5] Access is denied
These are following things I am doing and have tried to resolve the issue. I am a novice and everything below is hit and trial.
1. Called the gurobi solver in PuLP with command prob.solve(GUROBI_CMD("C:\gurobi801\win64"))
2. Ran Spyder with administrator permissions.
3. Reinstalled the gurobi licence file into different folders
4. Set path variable GRB_LICENSE_FILE with value C:\gurobi801\win64\gurobi.lic
5. Gave all read/write permissions to the gurobi folder
6. Installed general version of Python 3.7 (was only using spyder before)
7. Tried running the command prob.solve(GUROBI("C:\gurobi801\win64"))
8. Ran the command pulp.pulpTestAll and found GUROBI_CMD passed and rest were unavialable
9. Tried running following commands
#SS = solvers.GUROBI_CMD("C:\gurobi801\win64")
#SS.actualSolve(prob)
but still got same error
10. Changed path to C:\gurobi801\ in above commands
11. Checked by running gurobi shell that license was running and installed
I basically want to have warm starts for MIPs thats why I want Gurobi. Any help would be appreciated.
Regards, Akul