Download as pdf or txt
Download as pdf or txt
You are on page 1of 34

Penelitian Operasional – 1

Week 5

TEKNIK LOGISTIK – UNIVERSITAS PERTAMINA


Agenda

Perubahan
koefisien fungsi Perubahan Shadow
tujuan RHS price
Shadow value: besarnya nilai
pertambahan optimal value per
satu unit pertambahan sumber
daya
Sensitivity Analysis

Sensitivity analysis is concerned


with how changes in an LP’s
parameters affect the LP’s optimal
solution.
Primal Problem
Sensitivity Analysis
Sensitivity analysis basically involves investigating
the effect on the optimal solution of making
changes in the values of the model parameters ,
, and .
Sensitivity Analysis
To identify the sensitive parameters (i.e., the parameters whose values cannot be changed without
changing the optimal solution).

For coefficients in the objective function that are not categorized as sensitive, it is also very helpful to
determine the range of values of the coefficient over which the optimal solution will remain
unchanged. (We call this range of values the allowable range for that coefficient.)

In some cases, changing the right-hand side of a functional constraint can affect the feasibility of the
optimal BF solution. For such parameters, it is useful to determine the range of values over which the
optimal BF solution (with adjusted values for the basic variables) will remain feasible. (We call this
range of values the allowable range for the right-hand side involved.) This range of values also is the
range over which the current shadow price for the corresponding constraint remains valid.
Binding & Non-
Binding Constraints
Constraints 1 and 2 are binding (active),
with the optimal solution at Point G.
A binding constraint is one where some
optimal solution is on the line for the Y ≥ 50
constraint. Thus if this constraint were to be
changed slightly (in a certain direction), this
optimal solution would no longer be
feasible.
A non-binding constraint is one where no
optimal solution is on the line for the
constraint.
Graphical Sensitivity Analysis

Giapetto Problem
Current optimal
solution is point B
𝟏 𝟐
where carpentry
and finishing
constraints are
binding.

Basic variables 𝟏,
𝟐 , and 𝟑

The optimal solution to this problem is 𝟏 𝟐


Shadow Price Jika harus memilih strategi, maka yang memberikan
shadow price yang lebih tinggi yang dipilih
Review
max 𝑧 = 60𝑋 + 30𝑋 + 20𝑋 + 0𝑆 + 0𝑆 + 0𝑆
8𝑋 + 6𝑋 + 𝑋 + 𝑆 = 48
4𝑋 + 2𝑋 + 1,5𝑋 + 𝑆 = 20
𝑠. 𝑡.
2𝑋 + 1,5𝑋 + 0,5𝑋 + 𝑆 = 8
𝑋 ,𝑋 ,𝑋 ,𝑆 ,𝑆 ,𝑆 ≥ 0

𝑆
Vektor variabel basis 𝑿 = 𝑋
𝑋
𝑋
Vektor variabel non-basis 𝑿𝑵 = 𝑆
𝑆
Review
max 𝑧 = 60𝑋 + 30𝑋 + 20𝑋 + 0𝑆 + 0𝑆 + 0𝑆
8𝑋 + 6𝑋 + 𝑋 + 𝑆 = 48
4𝑋 + 2𝑋 + 1,5𝑋 + 𝑆 = 20
𝑠. 𝑡.
2𝑋 + 1,5𝑋 + 0,5𝑋 + 𝑆 = 8
𝑋 ,𝑋 ,𝑋 ,𝑆 ,𝑆 ,𝑆 ≥ 0

Koefisien ongkos variabel basis 𝑪 = 0 20 60

Koefisien ongkos non-basis 𝑪𝑵 = 30 0 0


Review
max 𝑧 = 60𝑋 + 30𝑋 + 20𝑋 + 0𝑆 + 0𝑆 + 0𝑆
8𝑋 + 6𝑋 + 𝑋 + 𝑆 = 48
4𝑋 + 2𝑋 + 1,5𝑋 + 𝑆 = 20
𝑠. 𝑡.
2𝑋 + 1,5𝑋 + 0,5𝑋 + 𝑆 = 8
𝑋 ,𝑋 ,𝑋 ,𝑆 ,𝑆 ,𝑆 ≥ 0

Vektor 𝒂

8 6 1
𝒂 = 4 , 𝒂 = 2 , 𝒂 = 1,5
2 1,5 0,5
1 0 0
𝒂 = 0 ,𝒂 = 1 ,𝒂 = 0
0 0 1
Review
max 𝑧 = 60𝑋 + 30𝑋 + 20𝑋 + 0𝑆 + 0𝑆 + 0𝑆
8𝑋 + 6𝑋 + 𝑋 + 𝑆 = 48
4𝑋 + 2𝑋 + 1,5𝑋 + 𝑆 = 20
𝑠. 𝑡.
2𝑋 + 1,5𝑋 + 0,5𝑋 + 𝑆 = 8
𝑋 ,𝑋 ,𝑋 ,𝑆 ,𝑆 ,𝑆 ≥ 0

Matriks 𝑩 Matriks 𝑵 ( ) Matriks ruas sisi kanan


𝑆 𝑋 𝑋 𝑋 𝑆 𝑆
1 1 8 6 0 0 48
𝑩 = 0 1,5 4 𝑵= 2 1 0 b = 20
0 0,5 2 1,5 0 1 8
Rumus Tablo Optimal

Review Tablo Optimal


Analisis Sensitivitas
dengan Tablo Simpleks
1. Perubahan koefisien fungsi tujuan untuk
variabel non-basis.
Enam tipe 2. Perubahan koefisien fungsi tujuan untuk
perubahan variabel basis.
parameter 3. Perubahan pada ruas kanan (RHS) suatu fungsi
kendala (constraint).
model LP yang
4. Perubahan kolom untuk suatu variabel non-
dapat basis.
mengubah 5. Penambahan aktivitas baru (penambahan
solusi optimal variabel).
6. Penambahan suatu fungsi kendala baru (new
constraint).
(1) Perubahan
Koefisien
Fungsi Objektif
VARIABEL NON BASIS

23
Hasil Tablo Simpleks Optimal
max 𝑧 = 60𝑋 + 30𝑋 + 20𝑋 + 0𝑆 + 0𝑆 + 0𝑆
8𝑋 + 6𝑋 + 𝑋 + 𝑆 = 48 • Keuntungan per unit untuk
𝑠. 𝑡.
4𝑋 + 2𝑋 + 1,5𝑋 + 𝑆 = 20 produk 2, meningkat dari 30
2𝑋 + 1,5𝑋 + 0,5𝑋 + 𝑆 = 8
𝑋 ,𝑋 ,𝑋 ,𝑆 ,𝑆 ,𝑆 ≥ 0 ( ) menjadi 34 ( )
• Apa yang dapat disarankan
𝑆 kepada manajer?
Vektor variabel basis 𝑿 = 𝑋 • Apakah tablonya masih
𝑋 optimal?
𝑋 • Apakah produk 2 tetap tidak
Vektor variabel non-basis 𝑿𝑵 = 𝑆
𝑆
diproduksi?
Perubahan Koefisien OF NBV

Solusi optimal yang lama, akan tetap optimal jika c yang baru (𝑐̅ ) bernilai positif (non negatif).
−2
𝑐̅ =𝑪 𝐵 𝑎 − 𝑐 = 0 20 60 −2 − (30 + ∆) ≥ 0
1,25
35 − 30 + ∆ ≥ 0
5 − ∆ ≥ 0  ∆ ≥ 5  tetap tidak memproduksi 𝑋
Perubahan Koefisien OF NBV
∆=𝑐 −𝑐 ≤5
𝑐 − 30 ≤ 5
𝑐 ≤ 35

Selama nilai 𝑐 kurang dari sama dengan 35 maka solusi optimal tetap berlaku dimana 𝑥
direkomendasikan untuk tidak diproduksi.

Bagaimana jika 𝑐 diubah menjadi 37?


(3) Perubahan pada Ruas
Kanan (RHS) Fungsi
Kendala
Perubahan RHS Constraint
Perubahan dapat terjadi karena sumber daya bertambah ataupun berkurang.

max 𝑧 = 60𝑋 + 30𝑋 + 20𝑋 + 0𝑆 + 0𝑆 + 0𝑆 Solusi optimal yang lama akan


8𝑋 + 6𝑋 + 𝑋 + 𝑆 = 𝟒𝟖 tetap optimal jika 𝐵 𝒃 yang
4𝑋 + 2𝑋 + 1,5𝑋 + 𝑆 = 𝟐𝟎 =⇒ 𝑏 = 22 baru bernilai positif atau nol
𝑠. 𝑡.
2𝑋 + 1,5𝑋 + 0,5𝑋 + 𝑆 = 𝟖
𝑋 ,𝑋 ,𝑋 ,𝑆 ,𝑆 ,𝑆 ≥ 0

Saran apa yang dapat kita berikan kepada


manajer produksi?
Perubahan RHS Constraint

1 2 −8 48 24 + 2∆
𝐵 𝒃= 0 2 −4 20 + ∆ = 8 + 2∆
0 −0,5 1,5 8 2 − 0,5∆

24 + 2∆ ≥ 0  ∆ ≥ −12
8 + 2∆ ≥ 0  ∆ ≥ −4
2 − 0,5∆ ≥ 0  ∆ ≤ 4
Perubahan RHS Constraint
−4 ≤ ∆ ≤ 4
−4 ≤ 𝑏 −𝑏 ≤4
𝑏 −4 ≤𝑏 ≤4+𝑏
20 − 4 ≤ 𝑏 ≤ 4 + 20
16 ≤ 𝑏 ≤ 24
Selama dipenuhi maka optimality tetap namun dengan nilai z yang baru.
Perubahan RHS Constraint: Hitung z Baru

1 2 −8 48 28 28
= 0 2 −4 22 = 12 𝒛=𝒄 𝐵 𝒃= 0 20 60 12 = 300
0 −0,5 1,5 8 1 1
(4) Perubahan Kolom untuk Variabel Nonbasis
Perubahan Kolom untuk Variabel Nonbasis
max 𝑧 = 60𝑋 + 30𝑋 + 20𝑋 + 0𝑆 + 0𝑆 + 0𝑆
8𝑋 + 6𝑋 + 𝑋 + 𝑆 = 48
4𝑋 + 2𝑋 + 1,5𝑋 + 𝑆 = 20
𝑠. 𝑡.
2𝑋 + 1,5𝑋 + 0,5𝑋 + 𝑆 = 8
𝑋 ,𝑋 ,𝑋 ,𝑆 ,𝑆 ,𝑆 ≥ 0

5
𝒂 = 2 • Apakah produk 2 tetap tidak
2
diproduksi?
𝒄 = 43
Perubahan Kolom untuk Variabel Nonbasis

-3

Solusi optimal yang lama, akan tetap optimal jika c yang baru (𝑐̅ ) bernilai positif (non negatif).
1 2 −8 5
𝑐̅ = 𝑪 𝐵 𝑎 − 𝑐 = 0 20 60 0 2 −4 2 − 43 = −3 ≤ 0
0 −0,5 1,5 2
35 − 30 + ∆ ≥ 0
𝑧 jadi ada yang negative.
Perubahan Kolom untuk Variabel Nonbasis
-7
-4
2
-3

Solusi optimal yang lama, akan tetap optimal jika c yang baru (𝑐̅ ) bernilai positif (non negatif).
1 2 −8 5 −7
𝐵 𝑎 = 0 2 −4 2 = −4
0 −0,5 1,5 2 2

Lanjutkan dengan metode simpleks sampai menemukan kondisi optimal.


Perubahan Kolom untuk Variabel Nonbasis
max 𝑧 = 60𝑋 + 30𝑋 + 20𝑋 + 0𝑆 + 0𝑆 + 0𝑆
8𝑋 + 6𝑋 + 𝑋 + 𝑆 = 48
4𝑋 + 2𝑋 + 1,5𝑋 + 𝑆 = 20
𝑠. 𝑡.
2𝑋 + 1,5𝑋 + 0,5𝑋 + 𝑆 = 8
𝑋 ,𝑋 ,𝑋 ,𝑆 ,𝑆 ,𝑆 ≥ 0

5
𝒂 = 2 • Bagaimana optimality-nya?
3
𝒄 = 40
(5) Penambahan Aktivitas Baru
Penambahan Aktivitas Baru
max 𝑧 = 60𝑋 + 30𝑋 + 20𝑋 + 15𝑋
8𝑋 + 6𝑋 + 𝑋 + 𝑋 ≤ 48
4𝑋 + 2𝑋 + 1,5𝑋 + 𝑋 ≤ 20
𝑠. 𝑡.
2𝑋 + 1,5𝑋 + 0,5𝑋 + 𝑋 ≤ 8
𝑋 ,𝑋 ,𝑋 ,𝑆 ,𝑆 ,𝑆 ≥ 0

1
𝒂 = 1 • Apakah tablo tetap optimal?
1
• Selama positif atau nol maka tetap optimal.
𝒄 = 15
Perubahan Kolom untuk Variabel Nonbasis
1 2 −8 1
𝑐̅ = 𝑪 𝐵 𝑎 − 𝑐 = 0 20 60 0 2 −4 1 − 15 = 5 ≥ 0
0 −0,5 1,5 1

Tablo tetap optimal.


Lalu apakah produk 4 diproduksi?

Soal Latihan kelompok: Bagaimana optimality-nya jika ?


References LP model for Diet Problem
Referensi
1. Hiller, Frederick S. & Lieberman, Gerald J., “Introduction to Operations Research”,
McGraw-Hill International Edition, 10th edition, 2015.
2. Mokhtar S. Bazaraa, John J. Jarvis, dan Hanif D. Sherali, “Linear Programming and
Network Flows”, John Wiley & Sons, 2010.
89,526,124$
3. Winston, Wayne L., “Operations Research: Applications and Algorithms”, Indiana
University, 4th edition, 2004.
4. Taha, H.A., “Operations Research, An Intoduction”, Prentice Hall, New Jersey, 1997.

40

You might also like