Decision Problems and Optimization Problems
- both are types of a computational problem
- decision problem is a problem that asks if a statement is true or false. The output of a decision problem is a single yes/no answer.
- optimization problem is a problem that asks to find the best solution from all feasible solutions. The output of an optimization problem is a solution that minimizes or maximizes an objective function
Example Comparison
|
Decision Problem |
corresponding |
Optimization Problem |
|
input:
output:
|
corresponding |
input:
output:
|