The problem of “how to produce” in any economy is solved by