Assembly line scheduling

Creator
Creator
Seonglae Cho
Created
Created
2023 Oct 17 6:6
Editor
Edited
Edited
2024 Sep 25 14:22
Refs
Refs
What stations should be chosen from line 1 and which fro m line 2 in order to minimize the total time through the factory for one car?
There are 2n2^n possible ways to choose stations
  • Station Sline,indexS_{line, index}
  • Assembly line aline,indexa_{line, index} - usually assembly line is 2
  • Transfer time tline,indext_{line, index}
  • Entry time elinee_{line}
  • Exit time xlinex_{line}
  • Step nn - max index

Dynamic Programming

An optimal solution to the problem find the fastest way through S1,jS_{1, j}contains, within it, an optimal solution to subproblems: find the fastest way through S1,j1S_{1, j-1} or S2,j1S_{2, j–1}
  • Let ff^* is the fastest time to get through the entire factory
  • Let fi[j]f_i[j] is the fastest time to get from the starting point through station Si,jS_{i,j}
f=min(f1[n]+x1,f2[n]+x2)f1[1]=e1+a1,1,f2[1]=e2+a2,1f^*= min(f_1[n] + x_1, f_2[n]+x_2) \newline f_1[1] = e_1 + a_{1,1}, \newline f_2[1] = e_2 + a_{2,1}f1[j]=min(f1[j1]+a1,j,f2[j1]+t2,j1)f2[j]=min(f2[j1]+a2,j,f1[j1]+t1,j1)f_1[j] = min(f_1[j-1] + a_{1,j}, f_2[j-1] + t_{2, j-1}) \newline f_2[j] = min(f_2[j-1] + a_{2,j}, f_1[j-1] + t_{1, j-1})
O(n)O(n)
notion image
 
 
 
 
 

Recommendations