Skip to main content

This site is currently under development.

On this page

Vertex Cover LP Matrix Notation

For weighted vertex cover, each edge $(v_i,v_j)$ contributes a constraint $x_i + x_j \ge 1$. Suppose constraints are written as $A[x_1\ x_2\ x_3\ x_4\ x_5]^T \ge b$, with row $i$ corresponding to edge $e_i$.

Graph with 5 vertices and 6 edges showing vertex weights and edge labels

If row $i$ in matrix $A$ corresponds to the constraint created for edge $e_i$, what would be the correct values of row 5?