How to code the following assembly line balancing problem.

조회 수: 4 (최근 30일)
Manas Ranjan Pattnayak
Manas Ranjan Pattnayak 2017년 11월 12일
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개)

카테고리

Help CenterFile Exchange에서 Graph and Network Algorithms에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by