Doubt
Philosopher
- Joined
- Apr 25, 2002
- Messages
- 8,106
How much does it cost to solve a problem?
More precisely, how much does it cost to solve a problem when you don’t know ahead of time if your prospective solution works?
I have an idea here and would like to know if those who are better at math than me can tell me if I am on the right track. There is a very good chance that I am re-inventing the wheel here. Those familiar with this subject feel free to point me in the right direction. I suspect this is part of game theory. I have been out of school for a long time.
If I have two possible solutions to a problem, how do you pick between them?
As best I can figure, a formula like the following would be useful:
Predicted expenditure = [Total cost of solution A] + [(1 – probability of success of solution A) x (Total cost of solution B)]
With variables in place (I am using lower case here just to avoid subscripts):
Ea = A + [(1 – Pa) x B]
For the alternative solution:
Eb = B + [(1 – Pb) x A]
Where Ex is the likely cost of implementing a solution. A is the cost of solution A, B is the cost of solution B, Px is the probability that a given solution will solve the problem.
The key to this is idea is the cost of failure. (1 – Px) is the probability of a solution not working.
Assumptions:
1. Any solution that is not a complete success is a failure. (Either it works or it does not.)
2. There are only two likely solutions to the problem. (I have tried using a spread sheet for a third possibility but noticed that the cost changes for a third solution were not very large but the formula quickly became cumbersome.)
Okay gang. Have at it! Did I explain this well? Does this work? Who before me has come up with this? Do I have a hidden assumption here that I missed?
I suspect this would be part of game theory, but I have no training in that sort of thing other than knowing basic probabilities.
More precisely, how much does it cost to solve a problem when you don’t know ahead of time if your prospective solution works?
I have an idea here and would like to know if those who are better at math than me can tell me if I am on the right track. There is a very good chance that I am re-inventing the wheel here. Those familiar with this subject feel free to point me in the right direction. I suspect this is part of game theory. I have been out of school for a long time.
If I have two possible solutions to a problem, how do you pick between them?
As best I can figure, a formula like the following would be useful:
Predicted expenditure = [Total cost of solution A] + [(1 – probability of success of solution A) x (Total cost of solution B)]
With variables in place (I am using lower case here just to avoid subscripts):
Ea = A + [(1 – Pa) x B]
For the alternative solution:
Eb = B + [(1 – Pb) x A]
Where Ex is the likely cost of implementing a solution. A is the cost of solution A, B is the cost of solution B, Px is the probability that a given solution will solve the problem.
The key to this is idea is the cost of failure. (1 – Px) is the probability of a solution not working.
Assumptions:
1. Any solution that is not a complete success is a failure. (Either it works or it does not.)
2. There are only two likely solutions to the problem. (I have tried using a spread sheet for a third possibility but noticed that the cost changes for a third solution were not very large but the formula quickly became cumbersome.)
Okay gang. Have at it! Did I explain this well? Does this work? Who before me has come up with this? Do I have a hidden assumption here that I missed?
I suspect this would be part of game theory, but I have no training in that sort of thing other than knowing basic probabilities.
Last edited: