A decision variable represents a choice an optimization model is meant to make. Unlike an external input, such as a material price, its value is selected to improve the objective while respecting constraints. section 1.3
Bakery production
A bakery can let x₁ represent the number of chocolate cakes to make and x₂ the number of vanilla cakes. These choices are evaluated against labor and flour limits to maximize profit. section 1.6.1
Decision variables also describe operational choices such as how much of each product to reorder or what to produce, when, and in what quantity. section 1.4
Figure 1.6 Linear programming formulation of bakery shop problem.
The bakery formulation connects its production choices to the objective and resource constraints. section 1.6.1


