Network flow optimization and its many particular cases (bipartite matching, transportation problem, nonintersecting paths) are usually defined in terms of directed graphs with arc weights. You can package the arc capacities as a matrix, but you don't do the usual matrix things with it (like multiplying matrices, Gaussian elimination, QR, SVD), except perhaps if you do your matrix algebra over the tropical semiring (but that's often graph theory by another name). So you need new methods even if you shoehorn the problems into matrix language.