Skip to content

Commit

Permalink
clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
ntalluri committed Jan 29, 2024
1 parent 5d1f66e commit dcdae94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions minCostFlow.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ def construct_digraph(edges_file, cap):
else:
raise ValueError (f"Cannot add edge: d = {d}")

print("undirected_dict: ", undirected_dict)
print("directed_dict: ", directed_dict)
# print("undirected_dict: ", undirected_dict)
# print("directed_dict: ", directed_dict)
# go through and add the edges from directed_dict and undirected_dict to G
for key, value in directed_dict.items():
G.add_arc_with_capacity_and_unit_cost(idDict[key[0]],idDict[key[1]], default_capacity, int(value))
Expand Down

0 comments on commit dcdae94

Please sign in to comment.