Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
elad-c committed Jan 15, 2025
1 parent c374837 commit 7d04822
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,6 @@ def compute_graph_max_cut(memory_graph: MemoryGraph,
l_bound = memory_graph.memory_lbound_single_op
u_bound = 2 * sum([t.total_size for t in memory_graph.b_nodes]) - l_bound
it = 0

@timeout_decorator.timeout(300)
def solver_wrapper(*args, **kwargs):
return max_cut_astar.solve(*args, **kwargs)

while it < n_iter:
estimate = (u_bound + l_bound) / 2
# Add a timeout of 5 minutes to the solver from the 2nd iteration.
Expand Down

0 comments on commit 7d04822

Please sign in to comment.