Goal Programming
Goal Programming
σ𝑛𝑖=1 𝑎𝑖𝑗 𝑥𝑗 = 𝑏𝑖
20
80𝑥1 + 40𝑥2 + 𝑑1− − 𝑑1+ = 800
𝑑1+ = 0
𝑥1 + 𝑥2 ≤ 10
x2
𝑥1 , 𝑥2 , 𝑑1− , 𝑑1+ ≥ 0 𝑑1− = 0
10
5
Solution to GP is at point
A
2 4 6 8 10
x1
Example
𝑀𝑖𝑛 𝑍 = 𝑑1− + 𝑑2− + 𝑑3−
St
80𝑥1 + 40𝑥2 + 𝑑1− − 𝑑1+ = 800
𝑥1 + 𝑑2− = 6
𝑥2 + 𝑑3− = 8
𝑥1 , 𝑥2 , 𝑑1− , 𝑑1+ , 𝑑2− , 𝑑3− ≥ 0
20
𝑥1 = 6
𝑑1+ =0
𝑑1− = 0
x2
5 10
A 𝑥2 = 8
𝑑3− = 0
𝑑2− = 0
2 4 6 8 10
x1
Coordinates of the point A(6,8) satisfies the goals
There fore 𝑥1 = 6 𝑎𝑛𝑑 𝑥2 = 8 𝑖𝑠 𝑡ℎ𝑒 𝑠𝑜𝑙𝑢𝑡𝑖𝑜𝑛
Example
𝑀𝑖𝑛 𝑍 = 𝑃1 𝑑1− + 𝑃2 2𝑑2− + 𝑑3− + 𝑃3 𝑑1+
𝑥1 + 𝑥2 + 𝑑1− − 𝑑1+ = 10
𝑥1 + 𝑑1− = 6
𝑥2 + 𝑑3− = 8
𝑥1 , 𝑥2 , 𝑑1− , 𝑑1+ , 𝑑2− , 𝑑3− ≥ 0
6 8
x2
2 4
2 4 6 8 10
x1
Example: A firm produces two products A and B. Each product must be
processed through two departments namely 1 and 2. Department 1 has 30
hours of production capacity per day, and department 2 has 60 hours.
Each unit of product A requires 2 hours in department 1 and 6 hours in
department 2. Each unit of product B requires 3 hours in department 1
and 4 hours in department 2. Management has rank ordered the following
goals it would like to achieve in determining the daily product mix:
I 2 3 30
II 6 4 60
(5)
(2)
10
(4)
x2
(3)
5
(1)
0
0 5 10 15
x1
MODIFIED SIMPLEX METHOD OF GOAL PROGRAMMING
Steps
1.The zj and cj – zj values are computed separately for each of the
ranked goals, P1, P2, . . . . This is because different goals are
measured in different units. These are shown from bottom to top,
i.e. first priority goal (P1) is shown at the bottom and least priority
goal at the top.
The optimality criterion zj or cj – zj becomes a matrix of k × n size,
where k represents the number of pre-emptive priority levels and n
is the number of variables including both decision and deviational
variables.
2. First examine cj – zj values in the P1-row. If all cj – zj ≤ 0 at
the highest priority levels in the same column, then the
optimal solution been obtained.
3. If the target value of each goal in xB-column is zero, the
solution is optimal.
4. To determine the variable to be entered into the new
solution mix, start examining (cj – zj ) row of highest priority
(P1) and select the largest negative value. Otherwise, move
to the next higher priority (P2) and select the largest
negative value.
5. Apply the usual procedure for calculating the ‘minimum
ratio’ to choose a variable that needs to leave the current
solution mix (basis).
6. Any negative value in the (cj – zj ) row that has positive
(cj – zj ) value under any lower priority rows are ignored.
This is because that deviations from the highest priority goal
would be increased with the entry of this variable in the
solution mix.
Use modified simplex method to solve the following GP
𝑀𝑖𝑛 𝑍 = 𝑃1 𝑑1− + 𝑃2 2𝑑2− + 𝑑3− + 𝑃3 𝑑1+
Stc
𝑥1 + 𝑥2 + 𝑑1− − 𝑑1+ = 400
𝑥1 + 𝑑2− = 240
𝑥1 + 𝑑3− = 300
𝑥1 , 𝑥2 , 𝑑1− , 𝑑1+ , 𝑑2− , 𝑑3− ≥ 0
Cj 0 0 p1 2P2 P2 p3
P2 𝑑3− 300 0 1 0 0 1 0
P3 0 0 0 1
Cj-Zj
P2 780 -2 -1 0
P1 400 -1 -1 1
𝑍 = 𝑃1 × 400 + 2𝑃2 × 240 + 𝑃2 × 300 = 400𝑃1 + 780𝑃2
The values P1=400, P2=780 and P3=0 in b column bellow the
line represent the unachieved portion of each goal.
2P2 𝑥1 240 1 0 0 1 0 0
P3 0 - 0 - - - 1
Cj-Zj P2 300 - -1 - 2 - -
P1 160 - -1 - 1 - 1
As per Table 2, the value of objective function: 160×P1 + 300×P2
indicates that the unachieved portion of the first and second goals
has decreased. The revised solution is shown in Table 3.
Since the solution in Table 3 indicates that cj – zj values in P1-row
are either positive or zero as well as the value of Z in terms of P1
is completely minimized to zero, we turn our attention to the
second priority level (P2).
An additional rule must be followed at this stage: A column
cannot be chosen as the key column with a positive value at a
higher priority level.
The largest negative value in P2-row is selected in order to determine the key column. The revised
solution is shown in Table 4.
0 𝑥1 240 1 0 0 1 0 0
P3 0 - - 0 0 - 1
Cj-Zj P2 140 - - 1 1 - -1
P1 0 - - 1 0 - 0
The largest negative value in P2-row is selected in order to determine the key
column. The revised solution is shown in Table 4. In Table 4, all cj – zj values in
the P2-row are either positive or zero.
Thus, the second goal (P2) is fully achieved. It may be noted in Table 4 that there
are two negative values in the P3-row. However, we could not choose 𝑑2− or 𝑑3−
as the key column because there is already a positive value at a higher priority
level (P2). Hence, the solution shown in Table 4 cannot be improved further. The
optimal solution therefore is: x1 = 240, x2 = 300,
𝑑1− = 𝑑2− = 𝑑3− = 0 𝑎𝑛𝑑 𝑑3− = 140
Cj 0 0 p1 2P2 P2 P3
4 Basic Basic var- x1 x2 𝑑1− 𝑑2− 𝑑3− 𝑑1+ Ratio
Basic variables value (b)
var-ceff (B)
Cb
0 x2 300 0 1 1 0 1 0
0 𝑥1 240 1 0 0 1 0 0
P3 𝑑3− 140 0 0 -1 1 1 1
P3 140 - - 1 -1 -1 -
Cj-Zj P2 0 - - 0 2 1 -
P1 0 - - 1 0 0 -