How to code the following assembly line balancing problem.

3 vues (au cours des 30 derniers jours)
Manas Ranjan Pattnayak
Manas Ranjan Pattnayak le 12 Nov 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.

Réponses (0)

Catégories

En savoir plus sur Graph and Network Algorithms dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by