Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is finding the maximum cut NP-hard?

I recently found that finding the maximum cut in a graph with weighted edges is NP-hard. However, finding the minimum cut is not NP-hard. If I would inverse the weights on all edges and then search for the minimum cut, wouldn't that give me the maximum cut on the original graph? And if not, why?

like image 820
Jiddoo Avatar asked Jan 04 '23 13:01

Jiddoo


1 Answers

I assume by inverse you mean changing a weight w to -w.

In this case, the min-cut of the adjusted graph does indeed solve the max-cut problem for the original graph.

Unfortunately, efficient algorithms for solving the min-cut problem are only known when all the weights are non-negative, which means we can only solve max-cut efficiently if all the weights are non-positive.

like image 66
Peter de Rivaz Avatar answered Jan 14 '23 14:01

Peter de Rivaz