SLIDE 4 10/5/20 4
LP
- 1. Variables (or decision variables)
u We can choose the values of these variables u What's the goal? u What range of values can we choose? Integer vs
real? Any other restrictions?
- 2. Objective function (What's the goal?)
u Minimization or maximization u Must be linear in the variables
- 3. Constraints (What values?)
u Restricts the values of choice variables u Must be linear in the variables
7
Example 1: LP formulation & geometric interpretation
u One is planning his day-to-day life. Outside of 10
hours of sleep every day, he wants to set aside a few hours for studying and a few hours for connecting with friends.
u Gets 10 units/hr of payoff from study and 20
units/hr of payoff from connecting with friends.
u Must study at least 6 hours every day. Also, feels
guilty if spends more than 6 hours with friends.
u How should he allocate time optimally?
u Variables? u Objective function? u Constraints?
8