Àΰ£ÀÇ ¾ó±¼, »ç¶÷, ¸ñ, ÅÎÀÌ(°¡) Ç¥½ÃµÈ »çÁø

ÀÚµ¿ »ý¼ºµÈ ¼³¸í

Uid : 20211318

Name : Sungmin Kang

¡® I keep the promises between Prof. and I ¡®

H.W 8

ÅؽºÆ®, ½ºÅ©¸°¼¦, µµÇ¥, ¶óÀÎÀÌ(°¡) Ç¥½ÃµÈ »çÁø

ÀÚµ¿ »ý¼ºµÈ ¼³¸í

 

H.W 7

±×¸², ½ºÄÉÄ¡, Ä£ÇÊ, ¶óÀÎ ¾ÆÆ®ÀÌ(°¡) Ç¥½ÃµÈ »çÁø

ÀÚµ¿ »ý¼ºµÈ ¼³¸í

 

clear all; close all; clc;

 

lambda = 7;

mu = 5;

d = 3;

g_fast = 2;

g_slow = 1;

nu_fast = 5;

nu_slow = 10;

maximumwip = 5;

 

a =  [7 -5 0 0 0 0;-7 12 -5 0 0 0;0 -7 12 -5 0 0;0 0 -7 12 -5 0;

    0 0 0 -7 12 -5;1 1 1 1 1 1];

b = [0; 0; 0; 0; 0; 1];

 

a2 =  [7 -3 0 0 0 0;-7 10 -3 0 0 0;0 -7 10 -3 0 0;0 0 -7 10 -3 0;

    0 0 0 -7 10 -3;1 1 1 1 1 1];

b2 = [0; 0; 0; 0; 0; 1];

p = inv(a)*b

p2 = inv(a2)*b2

 

wip = [0 1 2 3 4 5]*(p + p2)

 

th = lambda;

ct = wip/th;

 

wip_q = min(wip, maximumwip)

wip_s = wip- wip_q

 

ct_s = wip_s/th

ct_q = wip_q/¼Ò

 

ÅؽºÆ®, ½ºÅ©¸°¼¦, ÆùÆ®, µðÀÚÀÎÀÌ(°¡) Ç¥½ÃµÈ »çÁø

ÀÚµ¿ »ý¼ºµÈ ¼³¸íÅؽºÆ®, ½ºÅ©¸°¼¦, ÆùÆ®, ¹øÈ£ÀÌ(°¡) Ç¥½ÃµÈ »çÁø

ÀÚµ¿ »ý¼ºµÈ ¼³¸í

H.W 6

ÅؽºÆ®, ½ºÅ©¸°¼¦, ¹øÈ£, ÆùÆ®ÀÌ(°¡) Ç¥½ÃµÈ »çÁø

ÀÚµ¿ »ý¼ºµÈ ¼³¸í

Shortage = Demand – (W/I + EoH)

PTF = 14W ~ 17W

ÅؽºÆ®, ½ºÅ©¸°¼¦, ¹øÈ£, ÆùÆ®ÀÌ(°¡) Ç¥½ÃµÈ »çÁø

ÀÚµ¿ »ý¼ºµÈ ¼³¸í

PTF = 14W ~ 19W

 

H.W 5

ÅؽºÆ®, ¹øÈ£, ½ºÅ©¸°¼¦, ÆùÆ®ÀÌ(°¡) Ç¥½ÃµÈ »çÁø

ÀÚµ¿ »ý¼ºµÈ ¼³¸í

.

ÅؽºÆ®, ½ºÅ©¸°¼¦, ¹øÈ£, ÆùÆ®ÀÌ(°¡) Ç¥½ÃµÈ »çÁø

ÀÚµ¿ »ý¼ºµÈ ¼³¸í

** ºÎÇ°ÀÌ ÃæºÐÇÏÁö ¾ÊÀ¸¹Ç·Î ¹Ù·Î »ý»êÇÒ ¼ö ¾ø¾î ºÎÇ°ÀÌ º¸³»Áø 2ÁÖµÚ¿¡ »ý»êÇؼ­ Shipment°¡ °¡´ÉÇϹǷΠÁ¦Ç° »ý»ê,À¯Åë¿¡ ÃÑ 5ÁÖ°¡ °É¸°´Ù.

H.W 4

¶óÀÎ, µµÇ¥, ¿øÀÌ(°¡) Ç¥½ÃµÈ »çÁø

ÀÚµ¿ »ý¼ºµÈ ¼³¸í

 

Maximum

Flow

f = [ 0 0 0 0 0 0 0 0 0 0 0 0 -1 -1 -1 -1 ];

a = eye(16,16)

b = [15 ; 13; 20; 10; 4; 14; 12; 11; 7; 30; 25; 32; 10; 19; 18; 16;]

 

aeq = [ 1 1 1 1 1  0 0 0 0 0 0 0 -1 -1 -1 -1;

1 0 0 0 0 -1 0 0 0 0 0 0 0 0 0 0;

0 1 0 0 0 0 1 -1 0 0 0 0 0 0 0 0;

0 0 1 0 0 0 0 0 -1 0 0 0 0 0 0 0;

0 0 0 1 0 0 0 0 0 1 -1 0 0 0 0 0;

0 0 0 0 1 0 0 0 0 0 0 -1 0 0 0 0;

0 0 0 0 0 1 -1 0 0 0 0 0 -1 0 0 0;

0 0 0 0 0 0 0 1 0 0 0 0 0 -1 0 0;     

0 0 0 0 0 0 0 0 1 -1 0 0 0 0 -1 0;

0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 -1;];

 

beq = zeros(1, 10)

lb = zeros(1, 16)

ub = ones(1,16)

 

[sol] = linprog(f,a,b,aeq,beq,lb,ub)

Sol

ÅؽºÆ®, ½ºÅ©¸°¼¦, ¹øÈ£ÀÌ(°¡) Ç¥½ÃµÈ »çÁø

ÀÚµ¿ »ý¼ºµÈ ¼³¸í

H.W 3

Network--

Object to-

sub

Subject to

ÅؽºÆ®, Ä£ÇÊ, ¼­¿¹, ÆùÆ®ÀÌ(°¡) Ç¥½ÃµÈ »çÁø

ÀÚµ¿ »ý¼ºµÈ ¼³¸í

ÅؽºÆ®, ½ºÅ©¸°¼¦, ¹øÈ£, ÆÐÅÏÀÌ(°¡) Ç¥½ÃµÈ »çÁø

ÀÚµ¿ »ý¼ºµÈ ¼³¸í

H.W 2

ÅؽºÆ®, ½ºÅ©¸°¼¦, µµÇ¥, ¶óÀÎÀÌ(°¡) Ç¥½ÃµÈ »çÁø

ÀÚµ¿ »ý¼ºµÈ ¼³¸í

ÅؽºÆ®, ½ºÅ©¸°¼¦, ¶óÀÎ, ÆùÆ®ÀÌ(°¡) Ç¥½ÃµÈ »çÁø

ÀÚµ¿ »ý¼ºµÈ ¼³¸í

H.W 1