How to code the following assembly line balancing problem.
13 views (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on Graph and Network Algorithms in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!