For instance , in the knapsack problem one wants to maximize the total value of objects that can be put in a knapsack of some fixed capacity .
The fitness function is always problem dependent .
In the knapsack problem one wants to maximize the total value of objects that can be put in a knapsack of some fixed capacity .
The fitness function is always problem dependent .