Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pulp/tests/test_pulp.py
Original file line number Diff line number Diff line change
Expand Up @@ -2410,7 +2410,7 @@ def pulpTestCheck(
)
if sol is not None:
for v, x in sol.items():
if abs(v.varValue - x) > eps:
if v.varValue is not None and abs(v.varValue - x) > eps:
dumpTestProblem(prob)
raise PulpError(
"Tests failed for solver {}:\nvar {} == {} != {}".format(
Expand Down
Loading