How to code the following assembly line balancing problem.
3 次查看(过去 30 天)
显示 更早的评论
s = [1 1 1 1 2 6 8 10 3 4 5 7 9 ]';
t = [2 3 4 5 6 8 10 11 7 7 7 9 11]';
names = {'1' '2' '3' '4' '5' '6' '7' '8' '9' '10' '11'}'; % Tasks
u = [6 2 5 7 1 2 3 6 5 5 4]'; % Time in individual tasks
EdgeTable = table([s t],'VariableNames',{'EndNodes'}) %#ok<NOPTS>
NodeTable = table(names,u,'VariableNames',{'Name' 'Time'}) %#ok<NOPTS>
G = digraph(EdgeTable,NodeTable);
plot(G,'NodeLabel',{'N-1 | 6' 'N-2 | 2' 'N-3 | 5' 'N-4 | 7' 'N-5 | 1' 'N-6 | 2' 'N-7 | 3' 'N-8 | 6' 'N-9 | 5' 'N-10 | 5' 'N-11 | 4'})
title('Graph of Assembly Line Balancing')
ct = 12; % Cycle Time
tt = sum(u); % Total Time
disp(['Minimum number of station required is: [' num2str(round(tt/ct)) ']'])
I have plotted the directional graph with the above code. I want to know how to proceed to balance the assembly lines. Kindly Help. Thanks in advance.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Graph and Network Algorithms 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!