Cosc309 - Video Clip 03 - Linear Programming-1
Cosc309 - Video Clip 03 - Linear Programming-1
• Proportionality
–Contribution of Each Activity (Decision Variable) is
proportional to the level of the activity
Objective:
Maximize Z = b1x1 + b2x2 + … + bnxn ................. (i)
Constraints:
Subject to
a11 x1 + a12 x2 + … + a1nxn ≤ c1 ........................(ii)
a21 x1 + a22 x2 + … + a2nxn ≤ c2 .........................(iii)
⁞ ⁞
•Additivity
–Every function in a linear programming model is the sum
of the individual contributions of the respective activities.
Objective:
Maximize Z = b1x1 + b2x2 + … + bnxn ................. (i)
Constraints:
Subject to
a11 x1 + a12 x2 + … + a1nxn ≤ c1 ........................(ii)
a21 x1 + a22 x2 + … + a2nxn ≤ c2 .........................(iii)
⁞ ⁞
•Divisibility
–Decision Variables in a linear programming model are
allowed to have any values that satisfy the functional and
non-negativity constraints
Objective:
Maximize Z = b1x1 + b2x2 + … + bnxn ................. (i)
Constraints:
Subject to
a11 x1 + a12 x2 + … + a1nxn ≤ c1 ........................(ii)
a21 x1 + a22 x2 + … + a2nxn ≤ c2 .........................(iii)
⁞ ⁞
•Certainty
–value assigned to each parameter of a linear
programming model is assumed to be a known constant.
Objective:
Maximize Z = b1x1 + b2x2 + … + bnxn ................. (i)
Constraints:
Subject to
a11 x1 + a12 x2 + … + a1nxn ≤ c1 ........................(ii)
a21 x1 + a22 x2 + … + a2nxn ≤ c2 .........................(iii)
⁞ ⁞
16
14
12
10
Y Axis
A(0,5)
4 B(3,4
)
2 C(7,2)
0
D(8,0)
0 2 4 6 8 10 12 14 16
X Axis
a 2 1 1 0 0 16
b 1 2 0 1 0 11
c 1 3 0 0 1 15
Z 3, 000 5, 000 0 0 0 0
A 0
B 0
y 1 1 0 0 1ൗ 5
/3 3
Z 0
Next, the remaining elements of rows a, b & z have to be replaced with new values
N = F – RC
P
Demo - Simplex Method cont’d
• The Old Tableau:
Basic
x y a b c quantity
a 2 1 1 0 0 16
b 1 2 0 1 0 11
c 1 3 0 0 1 15
Z 3, 000 5, 000 0 0 0 0
Demo - Simplex Method cont’d
The new simplex tableau is
Basic x y a b c quantity
A 12/3 0 1 0 - 1 /3 11
1
B /3 0 0 1 - 2 /3 1
1 1
y /3 1 0 0 /3 5
Z 1,3331/3 0 0 0 -1,6662/3 -25, 000
This current solution, produce 5 units of y alone, is not optimal. x is the variable of
the objective function z with a positive coefficient; therefore, x is the entering basic variable,
Current Tableau
Basic
x Y a b c quantity
a 12/3 0 1 0 -1/3 11
b 1
/3 0 0 1 -2/3 1
y 1
/3 1 0 0 1
/3 5
c 0 0 1
/3 -5/3 1 2
x 1 0 2
/3 -1/3 0 7
y 0 1 -1/3 2
/3 0 2
Exercise
JKL Ltd produces two types of personal computer – Laptop and Desktop. The contribution to profit of
a laptop is N5, 000 and of a desktop N 4, 000. Each personal computer is produced through three
departments; the hours required per product, and available hours are given below –
You are deciding which one of four crops to grow on 2,000 acres of
land. You are given the following estimate of crop yields and your
prices per bushel under various weather conditions: