How to code the following assembly line balancing problem.

3 visualizaciones (últimos 30 días)
Manas Ranjan Pattnayak
Manas Ranjan Pattnayak el 12 de Nov. de 2017
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.

Respuestas (0)

Categorías

Más información sobre Graph and Network Algorithms en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by