Optimal foraging theory (OFT) is a model that helps predict how an animal behaves when searching for food. Although obtaining food provides the animal with energy, searching for and capturing the food require both energy and time. The animal wants to gain the most benefit (energy) for the lowest cost during foraging, so that it can maximize its fitness. OFT helps predict the best strategy that an animal can use to achieve this goal.
OFT is an ecological application of the optimality model. This theory assumes that the most economically advantageous foraging pattern will be selected for in a species through natural selection. When using OFT to model foraging behavior, organisms are said to be maximizing a variable known as the currency, such as the most food per unit time. In addition, the constraints of the environment are other variables that must be considered. Constraints are defined as factors that can limit the forager's ability to maximize the currency. The optimal decision rule, or the organism's best foraging strategy, is defined as the decision that maximizes the currency under the constraints of the environment. Identifying the optimal decision rule is the primary goal of the OFT.
An optimal foraging model generates quantitative predictions of how animals maximize their fitness while they forage. The model building process involves identifying the currency, constraints, and appropriate decision rule for the forager.
Currency is defined as the unit that is optimized by the animal. It is also a hypothesis of the costs and benefits that are imposed on that animal. For example, a certain forager gains energy from food, but incurs the cost of searching for the food: the time and energy spent searching could have been used instead on other endeavors, such as finding mates or protecting young. It would be in the animal's best interest to maximize its benefits at the lowest cost. Thus, the currency in this situation could be defined as net energy gain per unit time. However, for a different forager, the time it takes to digest the food after eating could be a more significant cost than the time and energy spent looking for food. In this case, the currency could be defined as net energy gain per digestive turnover time instead of net energy gain per unit time. Furthermore, benefits and costs can depend on a forager's community. For example, a forager living in a hive would most likely forage in a manner that would maximize efficiency for its colony rather than itself. By identifying the currency, one can construct a hypothesis about which benefits and costs are important to the forager in question.
Constraints are hypotheses about the limitations that are placed on an animal. These limitations can be due to features of the environment or the physiology of the animal and could limit their foraging efficiency. The time that it takes for the forager to travel from the nesting site to the foraging site is an example of a constraint. The maximum number of food items a forager is able to carry back to its nesting site is another example of a constraint. There could also be cognitive constraints on animals, such as limits to learning and memory. The more constraints that one is able to identify in a given system, the more predictive power the model will have.