Skip to content
Snippets Groups Projects
Commit f3aa1a1a authored by Hannah Ritter's avatar Hannah Ritter
Browse files

comment

parent fe75225a
Branches
Tags
No related merge requests found
...@@ -137,6 +137,7 @@ def solve(edges: List[Tuple]): ...@@ -137,6 +137,7 @@ def solve(edges: List[Tuple]):
# not an improvement, go to next problem in queue # not an improvement, go to next problem in queue
if pulp.value(current_problem) >= v_star: if pulp.value(current_problem) >= v_star:
break break
# current solution improves the value of the solution, continue evaluation of the solution
else: else:
# step 5 # step 5
# check if solution is integer: if yes, set current solution as best solution # check if solution is integer: if yes, set current solution as best solution
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment