dwavesystems / minorminer

minorminer is a heuristic tool for minor embedding: given a minor and target graph, it tries to find a mapping that embeds the minor into the target.
https://docs.ocean.dwavesys.com/en/stable/docs_minorminer/source/sdk_index.html
Apache License 2.0
48 stars 40 forks source link

busclique._regularize_embedding hangs occasionally #215

Closed boothby closed 2 years ago

boothby commented 2 years ago

We introduced the busclique.mine_clique_embeddings function in #214, and it failed once during testing. I turned logging on for appveyor tests, and the problem occurred again in #99. This results from the progress variable not being reset in the main loop of the _regularize_embedding function.