Open
Description
Details for the issue
What did you do?
Run pulp with environment TMP="/Volumes/RAM Disk/"
What did you expect to see?
Results
What did you see instead?
Usage: gurobi_cl [--command]* [param=value]* filename
Type 'gurobi_cl --help' for more information.
Traceback (most recent call last):
[redacted]
File [redacted]
problem.solve(pulp.GUROBI_CMD(threads=16, timeLimit=600))
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "[redacted]/Python/3.13/lib/python/site-packages/pulp/pulp.py", line 1996, in solve
status = solver.actualSolve(self, **kwargs)
File "[redacted]/Python/3.13/lib/python/site-packages/pulp/apis/gurobi_api.py", line 494, in actualSolve
lp.assignVarsVals(values)
~~~~~~~~~~~~~~~~~^^^^^^^^
File "[redacted]/Python/3.13/lib/python/site-packages/pulp/pulp.py", line 1918, in assignVarsVals
for name in values:
^^^^^^
TypeError: 'NoneType' object is not iterable
Fix
Run pulp with environment TMP="/Volumes/RAMDisk/" (no space)
See e.g.
Lines 463 to 471 in ebbbfde
Useful extra information
The info below often helps, please fill it out if you're able to. :)
What operating system are you using?
- Windows: ( version: ___ )
- Linux: ( distro: ___ )
- Mac OS: ( version: ___ )
- Other: ___
I'm using python version:
- 3.7
- 3.8
- 3.9
- 3.10
- 3.11
- Other: 3.13.2
I installed PuLP via:
- pypi (python -m pip install pulp)
- github (python -m pip install -U git+https://github.com/coin-or/pulp)
- Other: ___ (conda?)
Did you also
- Tried out the latest github version: https://github.com/coin-or/pulp
- Searched for an existing similar issue: https://github.com/coin-or/pulp/issues?utf8=%E2%9C%93&q=is%3Aissue%20
Metadata
Metadata
Assignees
Labels
No labels