Search problems
There are choices, which leads to potentially multiple solutions.
Example: if the problem is to change 3 euros, it is possible to use a
2-euro coin or not.
Optimization problems
An optimization problem is based on a search problem, but each
solution $s$ has a cost
$c(s)$, where $s$ is a
so-called cost function. The optimization problem finds the best
solution to the search problem, ie the solution minimizing the cost
(or maximizing it, depending on the problem) ?
Example : if the problem is to change 3 euros with the minimal amount
of coins, the best solution uses 2 coins (a 2-euro coin and a 1-euro coin).