LECTURE 02 Formulating An LP Model
LECTURE 02 Formulating An LP Model
LINEAR PROGRAMMING
Linear programming1 is a mathematical technique that
enables a decision maker to arrive at the optimal
solution to problems involving the allocation of scarce
resources.
George B. Dantzig
1
13/09/2022
2
13/09/2022
3
13/09/2022
Step I
Identify the unknown variables to be determined (decision
variables) and represent them in terms of algebraic
symbols.
Step II
Identify all the restrictions or constraints in the problem
and express them as linear equations or inequalities which
are linear functions of the unknown variables.
Step III
Identify the objective or criterion and represent it as a
linear function of the decision variables, which is to be
maximized or minimized.
7
4
13/09/2022
LP MODEL:
10
10
5
13/09/2022
2. You’re on a special diet and know that your daily requirement of five
nutrients is at least 60 milligrams of vitamin C, at least 1,000 milligrams of
calcium, at least 18 milligrams of iron, at least 20 milligrams of niacin, and
at least 360 milligrams of magnesium. You have two supplements to
choose from: Vega Vita and Happy Health. Vega Vita costs 20 cents per
tablet, and Happy Health costs 30 cents per tablet. Vega Vita contains 20
milligrams of vitamin C, 500 milligrams of calcium, 9 milligrams of iron, 2
milligrams of niacin, and 60 milligrams of magnesium. Happy Health
contains 30 milligrams of vitamin C, 250 milligrams of calcium, 2
milligrams of iron, 10 milligrams of niacin, and 90 milligrams of
magnesium. Formulate a linear programming model to determine how
many of each tablets should you take each day to meet your minimum
requirements while spending the least amount of money.
14
14
LP MODEL:
15
15
6
13/09/2022
20
20
LP MODEL:
21
21
7
13/09/2022
26
27
27