Definition
Vertex Cover to Integer Linear Programming
There is a polynomial-time many-one reduction from the Vertex Cover problem to the decision version of integer linear programming:
Construction
Given a Vertex Cover instance
Interpret
For every edge
Finally, use the zero objective and target
The objective is irrelevant: the reduction asks only whether a feasible assignment exists, corresponding to a vertex cover of size at most
Correctness
The Vertex Cover instance is a yes-instance if and only if the constructed ILP instance is a yes-instance.
Correctness
Forward
Let
be a vertex cover with . Set for and otherwise. The budget constraint holds, and every edge has an endpoint in , so every edge constraint holds. The objective reaches . Backward
Any feasible integer assignment satisfies
. Define The budget constraint gives
. For every edge , the edge constraint implies , so at least one endpoint belongs to . Hence is a vertex cover.
Running time
The reduction creates
NP-hardness
Vertex Cover is NP-hard without large numerical parameters. The reduction uses only coefficients from