When I use solverstudio with pulp and default cbc solver, I see such error:
Traceback (most recent call last)
File "<string>",line188, in <module>
File "...\PulP\src\pulp\pulp.py",line1641,in solver
File "...\PulP\src\pulp\solvers.py",line1303,inactualSolve
File "...\PulP\src\pulp\solvers.py",line1363,in solver_CBC
pulp.solvers.PulpSolverError:Pulp:Error while trying to execute cbc.exe
line 188 is nothing but prob.solve()
.
How can know what type of issue happen to solver?
I run same model with some dataset, it works.
But for some other dataset, it report this error.
I appreciate your help!
This is interesting one way to diagnose this problem is to write out the LP or MPS representation of the problem and to try and solve it with the solver outside of pulp.
use 'prob.writeLp("filename.lp")' to get the lp file
and install cbc separately.