Consider the maximum flow problem with n nodes and m arcs. You are writing a formulation with f as the maximum flow. The total number of variables is _____ ?
I have been asked this question for a homework as part of operations research course. I thought the answer as m as there are m arcs. But the answer is given as m+1 where the extra 1 is by considering f as a variable. I couldnt understand how number of variables could exceed m as f includes some arcs of f.
EDIT: There is single source and sink
Is this a traditional max flow problem (in which there is a single source node, a single sink node, and you are supposed to maximize the combined flow from source to sink across all routes)? If so, I suspect the extra variable $f$ is the value of the objective function. Suppose that we let $x_a$ denote the flow across a given arc $a$. You are correct that there will be $m$ of these flow variables. We can then write the total flow (objective value) as either the sum of the $x_a$ where arc $a$ terminates at the sink, or equivalently the sum of $x_a$ where $a$ originates at the source. Whichever one we use, we can plug that directly into the objective function or assign the value of the summation to a new variable $f$ and maximize $f$. I suspect that's what your instructor is doing.