Question 5
Recall the max-flow problem: for a directed graph with non-negative capacities for every and two special vertices (source, with no incoming edges) and (sink, with no outgoing edges), a flow in is an assignment such that for every edge and for every vertex . The task is to find a maximum flow i.e., a flow such that is maximized.
Given an instance , we attempt here to design a LP whose optimal value is equal to the maximum flow in the graph . There is a variable for all . Note that for any pair of vertices that is not an edge, we do not introduce any variable corresponding to it.
Is the LP above a valid formulation for computing the maximum flow in ?
Yes, this is a valid set of constraints.
No, the sum in the objective function should be taken only over neighbors of u.
No, the sum in the second constraint should be taken only over in-neighbors of v and out-neighbors of v, respectively.