Replies: 1 comment 3 replies
-
more details command line - C:\Users\Tech\AppData\Local\Programs\Python\Python311\Lib\site-packages\pulp\solverdir\cbc\win\64\cbc.exe C:\Users\Tech\AppData\Local\Temp\a542aeb3f5d6408398d37a281507c36e-pulp.mps timeMode elapsed branch printingOptions all solution C:\Users\Tech\AppData\Local\Temp\a542aeb3f5d6408398d37a281507c36e-pulp.sol (default strategy 1) Traceback (most recent call last): |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
in this bart in my code
lp_problem.solve()
the error
PulpSolverError Traceback (most recent call last)
Cell In[28], line 1
----> 1 lp_problem.solve()
File c:\Users\Tech\AppData\Local\Programs\Python\Python311\Lib\site-packages\pulp\pulp.py:1913, in LpProblem.solve(self, solver, **kwargs)
1911 # time it
1912 self.startClock()
-> 1913 status = solver.actualSolve(self, **kwargs)
1914 self.stopClock()
1915 self.restoreObjective(wasNone, dummyVar)
File c:\Users\Tech\AppData\Local\Programs\Python\Python311\Lib\site-packages\pulp\apis\coin_api.py:137, in COIN_CMD.actualSolve(self, lp, **kwargs)
135 def actualSolve(self, lp, **kwargs):
136 """Solve a well formulated lp problem"""
--> 137 return self.solve_CBC(lp, **kwargs)
File c:\Users\Tech\AppData\Local\Programs\Python\Python311\Lib\site-packages\pulp\apis\coin_api.py:213, in COIN_CMD.solve_CBC(self, lp, use_mps)
211 pipe.close()
212 if not os.path.exists(tmpSol):
--> 213 raise PulpSolverError("Pulp: Error while executing " + self.path)
214 (
215 status,
216 values,
(...)
220 sol_status,
221 ) = self.readsol_MPS(tmpSol, lp, vs, variablesNames, constraintsNames)
222 lp.assignVarsVals(values)
PulpSolverError: Pulp: Error while executing c:\Users\Tech\AppData\Local\Programs\Python\Python311\Lib\site-packages\pulp\solverdir\cbc\win\64\cbc.exe
Beta Was this translation helpful? Give feedback.
All reactions