Question 22
Consider the following orientation problem.
We are given an undirected graph and integer values for every vertex . We would like to know if we can orient the edges of such that the directed graph we obtain has at most arcs incoming to (the 'in-degree requirements').
In other words, for each edge , we have to decide whether to orient it as or as , and we would like at most arcs to be oriented towards .
This problem is:
NP-hard because there is a polynomial-time reduction to SAT
NP-hard because there is a polynomial-time reduction to MaxFlow
in P because there is a polynomial-time reduction to MaxFlow
in P because there is a polynomial-time reduction to SAT