Assume that we have a random graph. How do you remove or add edges in the minimum number of steps such that every edge in the resulting graph would be in a Hamilton path?
I would really appreciate if someone can share any ideas.
Assume that we have a random graph. How do you remove or add edges in the minimum number of steps such that every edge in the resulting graph would be in a Hamilton path?
I would really appreciate if someone can share any ideas.
There's an algorithm to find Hamilton paths quickly in certain random graphs due to Angluin–Valiant. Perhaps you could run it repeatedly for each edge in the graph to extend that edge to a Hamilton path, adding edges when that fails.