There are N projects.
There are m machines.
In order to do a project, you have to buy the machinery needed for that project.
Which project should I choose to maximize profit = revenue - cost?
Solvable by minimum cut ( maximum flow)
Easier to understand if interpreted as vertex painting
The project painted in the same color as the start is the "selected project"
Machines painted the same color are "purchased machines."
In the figure, -p should be read as r
The following explanation is Cutting the smallest cut is not "cutting an edge". This is not a good explanation because it was written before I understood
There are N projects.
There are m machines.
Project requires some machinery
Choosing project pi yields income r(pi)
Buying the required machine qj costs c(qj)
Which project should I choose to maximize profit-cost?
Express the constraint, "If a project is selected, we must buy the necessary machinery," with the edge of infinity
It can be interpreted as a question of choosing between two options. - LP, Graphs and Formulations
https://en.wikipedia.org/wiki/Max-flow_min-cut_theorem#Project_selection_problem
This page is auto-translated from [/nishio/Project Selection Problem](https://scrapbox.io/nishio/Project Selection Problem) using DeepL. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. I'm very happy to spread my thought to non-Japanese readers.