operations research - lecture 6 - minimize problem

23
Operations Research MAM1627 Semester Genap tahun 2013/2014 M. Ziaul Arif [email protected] Jurusan Matematika - FMIPA Universitas Jember 2013-14 Operation Research 1 Lecture 6 : Minimize Problem

Upload: zainul-anwar

Post on 26-Dec-2015

25 views

Category:

Documents


5 download

DESCRIPTION

jhj

TRANSCRIPT

Page 1: Operations Research - Lecture 6 - Minimize Problem

Operations ResearchMAM1627

Semester Genap tahun 2013/2014

M. Ziaul Arif

[email protected]

Jurusan Matematika - FMIPA

Universitas Jember 2013-14 Operation Research 1

Lecture 6 : Minimize Problem

Page 2: Operations Research - Lecture 6 - Minimize Problem

Masalah Minimasi

• Untuk menyelesaikan masalah minimasi,

dapat dilakukan dengan cara mengubah fungsi

tujuan, menjadi masalah maksimasi. (untuk

semua kendala bertanda ≤)

Universitas Jember 2013-14 Operation Research 2

Page 3: Operations Research - Lecture 6 - Minimize Problem

Contoh

Fungsi tujuan : Minimumkan

2 1 3 2

F. Kendala

1 2 4

1 2 6

1, 2 0

Z x x

x x

x x

x x

= −

+ ≤

− ≤

Universitas Jember 2013-14 Operation Research 3

Page 4: Operations Research - Lecture 6 - Minimize Problem

Contoh

Fungsi tujuan : Maksimumkan

2 1 3 2

F. Kendala

1 2 4

1 2 6

1, 2 0

Z x x

x x

x x

x x

− = − +

+ ≤

− ≤

Universitas Jember 2013-14 Operation Research 4

Page 5: Operations Research - Lecture 6 - Minimize Problem

CB

Cj -2 3 0 0RHS

Rasio

Basis x1 x2 S1 S2

0 S1 1 1 1 0 4 4

0 S2 1 -1 0 1 6 6

Zj-Cj 2 -3 0 0 0

CB

Cj -2 3 0 0RHS

Rasio

Basis x1 x2 S1 S2

3 x2 1 1 1 0 4

0 S2 2 0 1 1 10

Zj-Cj 5 0 3 0 12

Universitas Jember 2013-14 Operation Research 5

Page 6: Operations Research - Lecture 6 - Minimize Problem

Kesimpulan

• x2=4, x1=0

• Karena –Z=12, maka Z=-12.

Universitas Jember 2013-14 Operation Research 6

Page 7: Operations Research - Lecture 6 - Minimize Problem

Masalah Minimasi

• Masalah maksimasi, biasanya memiliki kendala ≤,

sekarang akan diterangkan simpleks untuk

masalah minimasi yang biasanya memiliki

kendala pertidaksamaan ≥ atau =.

• Masalah tsb memiliki langkah-langkah yang

sedikit berbeda dengan masalah maksimasi.

• Tanda ≥ berarti bahwa kendala harus dikurangi S

(surplus)

• Penggunaan variable buatan / artificial variable

Universitas Jember 2013-14 Operation Research 7

Page 8: Operations Research - Lecture 6 - Minimize Problem

Penggunaan variable artificial

• Kebutuhan awal utama metode simpleks

adalah solusi awal yang layak (initial basic

feasible solution). Tanpa ini, table simpleks

tidak dapat dibuat.

Universitas Jember 2013-14 Operation Research 8

Page 9: Operations Research - Lecture 6 - Minimize Problem

Contoh

Fungsi tujuan : Minimumkan

3 1 2 3

F. Kendala

1 2 2 3 11

4 1 2 2 3 3

2 1 3 1

1, 2, 3 0

Z x x x

x x x

x x x

x x

x x x

= − + +

− + ≤

− + + ≥

− + =

Universitas Jember 2013-14 Operation Research 9

Page 10: Operations Research - Lecture 6 - Minimize Problem

Bentuk standar

Fungsi tujuan : Minimumkan

3 1 2 3 0 1 0 2

F. Kendala

1 2 2 3 1 11

4 1 2 2 3 2 3

2 1 3 1

1, 2, 3, 1, 2 0

Z x x x S S

x x x S

x x x S

x x

x x x S S

= − + + − −

− + + =

− + + − =

− + =

Universitas Jember 2013-14 Operation Research 10

Page 11: Operations Research - Lecture 6 - Minimize Problem

Penggunaan variable artificial

• Karena contoh diatas tidak bisa kita temukansolusi awal yang layak, agar bisa diselesaikandengan metode simpleks,maka kitatambahkan variable buatan (Artificial variabledilambangkan dengan R atau A) pada kendalayang tidak mempunyai variable basis (kendala2 dan 3)

• Sehingga akan diperoleh solusi awal yanglayak sebagai berikut:

Universitas Jember 2013-14 Operation Research 11

Page 12: Operations Research - Lecture 6 - Minimize Problem

Bentuk standar

F. Kendala

1 2 2 3 1 11

4 1 2 2 3 2 1 3

2 1 3 2 1

1, 2, 3, 1, 2, 1, 2 0

x x x S

x x x S R

x x R

x x x S S R R

− + + =

− + + − + =

− + + =

Universitas Jember 2013-14 Operation Research 12

Page 13: Operations Research - Lecture 6 - Minimize Problem

Penggunaan variable artificial

• Karena Artificial variable tidak mempunyai arti

yang nyata, maka dari iterasi demi iterasi

mereka harus dijadikan bernilai nol (0),jika

tidak maka solusi yang dihasilkan tidak layak.

• untuk membuat variable artificial nol, maka

harus di berlakukan penalty pada setiap

variable artificial dalam fungsi tujuan.

Universitas Jember 2013-14 Operation Research 13

Page 14: Operations Research - Lecture 6 - Minimize Problem

Penalty Artificial variable

• Penalty berupa pemberian bilangan (M)

positif yang sangat besar dalam fungsi tujuan.

• Untuk Masalah Maksimasi : M bertanda

negatif (-)

• Untuk masalah minimasi : M bertanda positif

(+)

Universitas Jember 2013-14 Operation Research 14

Page 15: Operations Research - Lecture 6 - Minimize Problem

ContohFungsi tujuan : Maksimumkan

3 1 5 2

F. Kendala

1 4

2 2 12

3 1 2 2 18

1, 2 0

Z x x

x

x

x x

x x

= +

+ =

Fungsi tujuan : Minimumkan

3 1 2 3

F. Kendala

1 2 2 3 11

4 1 2 2 3 3

2 1 3 1

1, 2, 3 0

Z x x x

x x x

x x x

x x

x x x

= − + +

− + ≤

− + + ≥

− + =

Universitas Jember 2013-14 Operation Research 15

Page 16: Operations Research - Lecture 6 - Minimize Problem

Contoh Fungsi tujuan : Maksimumkan

3 1 5 2 0 1 0 2 1

F. Kendala

1 1 4

2 2 2 12

3 1 2 2 1 18

1, 2 0

Z x x S S MR

x S

x S

x x R

x x

= + + + −

+ =

+ =

+ + =

≥Fungsi tujuan : Minimumkan

3 1 2 3 0 1 0 2 1 2

F. Kendala

F. Kendala

1 2 2 3 1 11

4 1 2 2 3 2 1 3

2 1 3 2 1

1, 2, 3 0

Z x x x S S MR MR

x x x S

x x x S R

x x R

x x x

= − + + − − + +

− + + =

− + + − + =

− + + =

≥Universitas Jember 2013-14 Operation Research 16

Page 17: Operations Research - Lecture 6 - Minimize Problem

Metode Penyelesaian

1. Metode Big-M

2. Metode Dua fase/langkah

Universitas Jember 2013-14 Operation Research 17

Page 18: Operations Research - Lecture 6 - Minimize Problem

Metode BIG-M

• M bilangan positif yang sangat Besar

• Langkah-langkah sama dengan Simpleks yang

sudah dipelajari

Universitas Jember 2013-14 Operation Research 18

Page 19: Operations Research - Lecture 6 - Minimize Problem

Contoh

Fungsi tujuan : Minimumkan

3 1 2 3

F. Kendala

1 2 2 3 11

4 1 2 2 3 3

2 1 3 1

1, 2, 3 0

Z x x x

x x x

x x x

x x

x x x

= − + +

− + ≤

− + + ≥

− + =

Universitas Jember 2013-14 Operation Research 19

Page 20: Operations Research - Lecture 6 - Minimize Problem

Contoh

Fungsi tujuan : Minimumkan

3 1 2 3 0 1 0 2 1 2

F. Kendala

F. Kendala

1 2 2 3 1 11

4 1 2 2 3 2 1 3

2 1 3 2 1

1, 2, 3 0

Z x x x S S MR MR

x x x S

x x x S R

x x R

x x x

= − + + − − + +

− + + =

− + + − + =

− + + =

Universitas Jember 2013-14 Operation Research 20

Page 21: Operations Research - Lecture 6 - Minimize Problem

Contoh

CB

Cj -3 1 1 0 M M 0 RHS

Rasio

Basis x1 x2 x3 S1 R1 R2 S2

0 S1 1 -2 1 1 0 0 0 11 11

M R1 -4 1 2 0 1 0 -1 3 3/2

M R2 -2 0 1 0 0 1 0 1 1

Zj-Cj 3-6M M-1 3M-1 0 0 0 -M 4M

CBCj -3 1 1 0 M M 0 RHS

RasioBasis x1 x2 x3 S1 R1 R2 S2

0 S1 3 -2 0 1 0 -1 0 10 -

M R1 0 1 0 0 1 -2 -1 1 1

1 X3 -2 0 1 0 0 1 0 1 -

Zj-Cj 1 M-1 0 0 0 1-3M -M M+1Universitas Jember 2013-14 Operation Research 21

Page 22: Operations Research - Lecture 6 - Minimize Problem

Contoh

CB

Cj -3 1 1 0 M M 0 RHSRasi

oBasis x1 x2 x3 S1 R1 R2 S2

-3 X1 1 0 0 1/3 2/3 -5/3 -2/3 4

1 X2 0 1 0 0 1 -2 -1 1

1 X3 0 0 1 2/3 4/3 -7/3 -4/3 9

Zj-Cj 0 0 0 -1/3 1/3-M 2/3-M -1/3 -2

CBCj -3 1 1 0 M M 0 RHS

RasioBasis x1 x2 x3 S1 R1 R2 S2

0 S1 3 0 0 1 2 -5 -2 12 4

1 X2 0 1 0 0 1 -2 -1 1 -

1 X3 -2 0 1 0 0 1 0 1 -

Zj-Cj 1 0 0 0 1-M -2-M -1 2

Universitas Jember 2013-14 Operation Research 22

Page 23: Operations Research - Lecture 6 - Minimize Problem

Latihan

• Selesaikan masalah-masalah berikut1. Minimumkan Z = 3x + 2y

Fungsi Kendala x + y 600

3x + y = 1500

x + 3y 1500

x,y 0

Universitas Jember 2013-14 Operation Research 23