Open access

Lot Sizing and Scheduling in Parallel Uniform Machines – A Case Study

Written By

F. Charrua Santos, Francisco Brojo and Pedro M. Vilarinho

Submitted: 24 November 2011 Published: 29 August 2012

DOI: 10.5772/50975

From the Edited Volume

Simulated Annealing - Advances, Applications and Hybridizations

Edited by Marcos de Sales Guerra Tsuzuki

Chapter metrics overview

2,998 Chapter Downloads

View Full Metrics

1. Introduction

This chapter presents the problem of scheduling tasks in uniform parallel machines with sequence-dependent setup times. The problem under analysis has a particular set of constraints, including equipment capacity, precedence tasks, lot sizing and task delivery plan. This kind of problem should be considered an operational planning problem and is found in different types of industries, namely, in the textile industry.

The main goal of this work is to minimise the total production time, including processing, setup and tardiness time.

The complexity of the studied model does not allow to locate the optimal solution. To solve this, the authors used a meta-heuristic known as the simulated annealing algorithm to obtain “nearly optimal” solutions for the problem.

The results obtained through the application of this particular heuristic show the importance of using a structured approach in production scheduling when compared with the results obtained from a reference plant where mainly “ad hoc” actions were normally taken.

The classical parallel machine scheduling problem considers p tasks with a fixed processing time that must be processed in k machines. This type of problem involves two kinds of decisions: i) which tasks are assigned to a specific machine and ii) tasks processing order (Mokotoff, 2001).

This problem becomes more complex as the number and characteristics of the available machines increases. The following levels of complexity can be considered: i) identical parallel machines; ii) uniform parallel machines and iii) unrelated parallel machines.

In the case of uniform parallel machines, each machine or group of machines has a different processing velocity. A processing time Tp for each task p in each machine k, described by Tppk, can be considered.

The work described in this paper takes into consideration lot sizing because it is an important aspect of these kinds of problems. Scheduling and lot sizing are indivisible problems in a significant number of real-world operations, where the setup times are sequence dependent. The analysis of lot sizing usually results in a decrease in the setup numbers as a result of tasks grouping in batches (Potts and Wassenhove, 1992; Potts and Kovalyov, 2000). Often, as a consequence of their size and complexity, problems are not solvable by exact methods. This paper introduces a heuristic approach to solving the problem (Drexl and Kimms 1997; Allahverdi, Gupta and Aldowaisan, 1999 ).

In general, the problem can have different formulations that are dependent on the objective function and the algorithm used to solve the problem.

In next section of this chapter (Section 2) the bibliographic review is done, in (Section 3), the research problem characterisation is presented, followed by the problem statement and formulation (Section 4). In the next (Section 5), the simulated annealing algorithm is presented. The developed heuristic to solve the problem is shown in Section 6. In Section 7, is presented a set of computational results obtained with the developed heuristic. Finally, the conclusions and future areas of research are presented (Section 8).

Advertisement

2. Bibliographic review

The classical problem of scheduling parallel machines considered "n" tasks or assignments and "m" machines. Each work must be performed on a machine with a fixed processing time. Accordingly, the aim is to find the sequence of jobs to optimize determined performance indicators (Mokotoff 2001). This type of problem involves two decisions: assigning work to a particular machine and its sequencing in the queue of this machine. The complexity of the problem increases exponentially with the number of machines considered.

The problems of parallel machines may also consider three cases (Gupta and Magnusson (2005) (Mokotoff (2001)):

  • Identical parallel machines;

  • Uniform parallel machines;

  • Unrelated parallel machines.

In the case of parallel identical machines, the processing time of a task is independent of the machine where it is processed.

For uniform machines, each machine has a different processing speed. In practice we have to consider the processing time of job i on machine j (tij). This time is equal to the processing requirements of the job i divided by the speed of the machine j (sj) (tij = ti / sj). This feature leads to an increased complexity in solving the problem.

In unrelated machines sequencing, there is no particular relationship between the processing times in the different machines, i.e., there is no proportionality between the processing time of a task on a given machine and the time of the same task on another machine. It is necessary to define the processing time of each task in each machine.

In these cases the problem of sequencing seeks the best distribution of the tasks in the machines and the best result in each machine, with the aim of optimizing certain performance criteria.

Among all possible performance criteria, the most widely used is the production flow total time, since it provides the best balance between all factors considered. The problems in real environments are usually of this type. The solution of a problem may be different depending on the criteria considered and when the criteria do not conflict with each other, it is possible to find an optimal overall solution. Such problems were reviewed in depth in an article published by Nagar et al. (1995).

In general, the scheduling problems in parallel machines assume that:

  • Each task or work is comprised of a single operation cannot be processed in more than one machine simultaneously;

  • When a task is started, it must be completed before another task is started on the same machine;

  • Interruption is not allowed, so each job once started must be completed;

  • Processing time is independent of the sequence;

  • Is permitted accumulation of work, i.e., the work can wait for a free machine;

  • Is allowed downtime of machines;

  • No machine can process more than one task at a time;

  • During the sequenced period, stops due to equipment damage are not considered;

  • The preparation time is zero for all jobs;

  • The number of jobs is known and fixed;

  • The number of machines is known and fixed;

  • Processing times are known and fixed;

  • All other specifications to define a particular problem must be known and fixed.

The characteristics presented herein refer to the classical approach of the problem, but there are other ways such as the proposed by Allahverdi et al. (1999), analysing the problems of scheduling parallel machines considering independent setup times and sequence dependent.

Also the optimization problems on parallel machines are identical, mostly, "NP-Hard." As is the case with the problems of single machine, there are two ways to deal with this problem:

  • exact methods;

  • heuristic approach.

Mokotoff (2001) published a review article on production scheduling in parallel machines. In this paper is made a thorough literature review on the work in different environments: identical parallel, uniform and unrelated machines.

The problem of sequencing with preparation time dependent of sequence in parallel identical machines, in order to minimize the time of preparation was made by Sumichrast and Baker (1987). Subsequently, França et al. (1996), again look into this matter.

Over the past three years there are many publications on identical parallel machines scheduling with the objective of minimizing production time. These publications present some variations on the objective that are:

  • Minimization of production times with independent setup times (Tang and Luo (2006) and Haouari et al. (2006)). With preparation time dependent sequence refers to an article by Chen et al. (2006) who also consider batch processing and resizing. Gheun-shie et al. (2004) analyze the sequencing batch using genetic algorithms. Allahverdi et al. (2008) presented a review paper on exact methods and heuristic approach to solving problems with positive time or cost of preparation in many industrial environments.

  • Minimization of production times and meeting delivery dates. Shakhlevich and Strusevich (2005) analyze the sequencing of work while Jaehwan and Marc (2005) study the sequencing batch resorting to using several heuristics, no one considers the dependence of the sequence. In turn, using a tabu search algorithm, Shin and Leon (2004) analyze the production batch with setup times sequence dependent.

  • Sequencing with replanning of work such as the work presented by Curry and Peters (2005).

There are also several works that address the sequencing problem in unrelated parallel machines environments. The objective focuses again around the minimization of the production time. Also in parallel study of unrelated machines are papers analyzing the sequence of separate operations such as the ones of Chen et al. (2006), while Rabadi et al. (2006) focus on the study of dependent sequences. Minimizing delays is also examined in environments of unrelated parallel machines. Chen et al. (2006) analyze the sequencing of jobs dependent on using for this purpose an algorithm of simulated recrystallization, while Kim et al. (2006) compared the use of simulated cooling algorithm with the genetic algorithm in the sequencing batch of time dependent preparation sequences. Meanwhile, Shim and Kim (2007) use techniques "Branch and Bound" to find the best sequence of jobs on machines not connected with preparation times independent of the sequence.

The problem of parallel machines may also appear associated with problems in continuous environments. Gupta et al. (1997) present a continuous production model consisting of two steps in which the first stage is comprised of multiple identical parallel machines. In this case the aim is to minimize the maximum processing time. Such problems are very common in practice, especially in the process industry, where in each step of the process there are multiple parallel machines, which may be identical or not.

Also the concept of the machine can be broadened if we consider parallel assembly lines. Considering the line as a black box, the sequence of batches in these lines can be considered as a problem of parallel sequencing machines. The problem of sequencing on automatic parallel production lines and considering the problem of scale batch was analyzed by Meyr (2002).

Table 1 presents a summary of works published in the literature that were considered relevant when compared with the work performed by the authors.

Ref.YearParallel Machine ProblemObjective FunctionAlgorithm
Sivrikaya-Serifoglu, and Ulusoy1999IdenticalMinimise Earliness (ME) Tardiness (MT) Penalties (MP)Genetic algorithm(GA)
Allahverdi, Gupta and Aldowaisan1999Generalised Review
Radhakrishnan and Ventura2000IdenticalME/MT/MPSimulated Annealing (SA)
Mokotoff2001GeneralisedReview
Anagnostopoulos and Rabadi2002Unrelated Minimise Makespan(MM)SA
Eom, shin, Kwun, Shim, and Kim2002GeneralisedMTThree-phase Heuristic, Tabu Search (TS)
Ref.YearParallel Machine ProblemObjective FunctionAlgorithm
Meyr2002GeneralisedSimultaneous Lot Sizing and Scheduling
Liao and Lin2003Uniform MMOptimal Lexicographic Search
Jaehwan and Marc2005GeneralisedRescheduling to Increasing Branch-and-Price
Tang and Luo2006GeneralisedMMIterated Local Search (ILS)
Wen-Chiunge, Chin-Chia and Chen2006IdenticalMMSA
Chen2006Unrelated (MT)Tabu Lists
Haouari, Gharbi and Jemmali2006IdenticalMMLower Bounding Strategies
Kim, Choi and Lee2006Identical MTTB, and SA
Lee, Wu and Chen2006IdenticalMMSA
Nessah, Yalaoui and Chu2006IdenticalMMBranch and Bound (BB)
Rabadi, Moraga and Al-Salem2006Single machineE/THeuristic Tailored and SA
Shim and Kim2007Unrelated MTBB
Anghinolfi and. Paolucci2007GeneralisedMTHybrid Metaheuristic Approach
Logendran, McDonell and Smucker2007Unrelated MTSix TS
Oh and Kim2008IdenticalMTBB
Allahverdi, Cheng, Mikhail and Kovalyov2008GeneralisedReview
Raja, Selladurai, Saravanan and. Arumugam2008uniform E/TSA and Fuzzy Logic
Rocha, Ravetti and Mateus2008Unrelated Due Dates and Weighted JobsExact Methods (EM)
Su2009IdenticalMM
Eren, and Guner2009IdenticalMMBi-criteria Scheduling with a Learning Effect
Mellouli, Sadfi, and Chu2009IdenticalThree EM
Chaudhry and Drake2009IdenticalMTGA
Wang and Cheng2009IdenticalMinimise the Weighted Sum of the Last Arrival Time of the JobsHeuristics
Chen, and Chen2009Unrelated MTHybrid Metaheuristics
Chen2009Unrelated MTSA
Kang and Shin2010IdenticalMT and ReworksDispatching Algorithm
Ref.YearParallel Machine ProblemObjective FunctionAlgorithm
Huo and Leung2010IdenticalMMAlgorithm With a Worst-case Bound
Huang, Cai, and Zhang2010IdenticalMMHybrid GA
Chuang, Liao, and Chao2010Unrelated MMBB
Unlu and Mason2010IdenticalMMDifferent Mixed Integer Programming
Gacias, Artigues and Lopez,2010IdenticalMMBB and Climbing Discrepancy Search
Behnamian; Zandieh and Ghomi,2010IdenticalMM/MT/MEGA
Fanjul-Peyro and Ruiz,2010Unrelated MMILS
Okolowski and Gawiejnowicz2010IdenticalMMEM
Moradi and Zandieh2010IdenticalMM and System Unavailability for the MaintenanceGA
Lin, Lin and Zhou2010IdenticalMMApproximation Algorithm
Lin, Pfund and Fowler2011Unrelated MM/MTReview
Jouglet and Savourey2011UnrelatedMTDominance Rules and Filtering Methods
Edis and Ozkarahan2011IdenticalMMThree Optimisation Models
Hsu, Kuo Yang2011UnrelatedMMPolynomial Time Solution

Table 1.

Problems referred to in the literature.

The analysed problem of production lots sizing and scheduling is intended to minimize, for a given planning horizon, the setup and processing time of a set of orders with due dates set and the delays incurred in the due date of these orders. The problem occurs in an environment where the equipment for the production of such packages are configured as uniform parallel machines and setup times that are dependent on the sequence of orders generated by manufacturing orders. The equipment used induces width restrictions.

The problems of minimizing the production time for a sequence of jobs minimizing delays and work with common due dates have been solved as a problem of route salesman (TSP) by Baker (1974) and Picard and Queyranne (1978). These problems were further extended to include time dependent setup sequence between batches, and some of the preparation times are void (Monma and Potts 1989).

As it turned out, since the review work carried out by Mokotoff (2001) has been extensive published literature on the sequencing of parallel machines. However, the literature on uniform parallel machines is scarce ((Blazewicz et al. (2000), Liao and Lin (2003), Jiang et al. (2005) and Raja et al. (2008)).

Given the research done, the problem of sequencing and lot sizing in uniform parallel machines, with penalties for failure to meet delivery deadlines, setup times depend on the sequence and width restrictions and size of batch, identified during the study carried out in an industrial environment, has never been analyzed, it is therefore important to carry out the formulation and development of a method for its resolution.

In the objective function we choose a model that reflects the performance indicators in use in the company that accompanied the study, including the objective function to minimize the processing time, preparation (Setup) and delays in deliveries.

The high complexity of the proposed model, to the problem under analysis, prevents its resolution by use of the optimizing methods, even in cases where problems are of average size. Given this difficulty, we developed a heuristic for finding sub-optimal solutions to the problem, which is based on simulated annealing algorithm. Heuristics based on this algorithm have been used to solve different combinatorial optimization problems whose resolution by use of optimizing methods is not possible.

Simulated Annealing is a technique of non-deterministic local search, which uses an analogy between the minimum energy state of a physical system with minimal cost in a combinatorial optimization problem (Metropolis et al. (1953), Kirkpatrick et al. (1983), Radhakrishnan and Ventura (2000) and Wen-Chiunge et al. (2006)).

At liquid state, a given material has a random atomic ordering, it can be considered chaotic. As it cools, converges to a state of minimum energy structure with a rigidly defined and ordered. If cooling is done quickly, in most materials is produced a deformation of the microstructure which can lead to cracking. The different states which a material during the controlled cooling goes through correspond by analogy to the various possible solutions of an optimization problem, with the system energy corresponding to the function to be optimized.

The simulated annealing has been widely used in recent years in all kinds of problems. A search for the last 5 years reporting over 500 scientific articles concerning the use of simulated annealing algorithm optimization problems.

Advertisement

3. Problem characterisation

The analysis made to the production process of three of the largest producers of fabrics of Beira Interior, one of them the largest in Europe in the production of wool fabrics, shows that the planning methodology does not differ greatly from company to company. It is possible to observe significant differences at computerization level, but the planning philosophy is the same.

The companies analyzed have the following common features:

  • The flow between sections is typical Batch Shop. Within each section you can find environments challenging to frame in a specific classification, being the most frequent a combination of a continuous environment with steps and parallel machines;

  • The work is done mainly to order, having only, during some phases of the production process, work made for stock and that just to reduce order response times;

  • Each section is a supplier or customer of the section that follows or precedes, respectively. In this perspective, planning and production control are highly complex;

  • The production is characterized by strong seasonality and the fashion factor. These facts, coupled with the growing trend of product differentiation, but with higher added value, translates into unpredictability of sales increase;

  • It is clear a decrease in the size of orders, with a visible impact on the size of the lots;

  • The problem of sequencing and lot sizing is placed in all sections of the companies.

In Beira Interior (Portugal), the more credited tissue producing companies, wager on verticality. This option brings greater difficulties in terms of planning.

In the analyzed companies and in line with the literature, there are three identifiable levels of planning:

  • first, of administration responsibility, typically includes strategic decisions;

  • second, usually designated central, is responsibility of the company senior management, including tactical decisions, namely, the determination of supplies requirements and management of abilities. Sometimes, at this level of planning and at some sections of the company, are also made decisions regarding lot size and production scheduling, actions that are normally field of operational planning;

  • third planning level, arises at the sequencing level and is based on some simple heuristics rules and occurs in certain sections, being the responsibility of the section responsible. At this level, the planning may also include some decisions issued by central planning, related to the distribution of production orders by the equipment.

The problem of production sequencing cannot be analyzed in an integrated way to all sections of the companies. Such problem would be highly complex and impossible to solve. The question that arises is: which of the sequencing problems that arise in the different sections may be more relevant to a greater efficiency of the company as a whole? To try to answer this question, the planning process will be analyzed in some detail.

In practice, it is observed that the orders breakdown and advances are not made from the orders backlog, but from the programming of these at weaving. If, in terms of quantities to produce, the difference is not significant, in terms of delivery dates of the sections that are upstream is important because the reference will be the weaving needs and not the delivery date to the client. This reasoning is always implicit in the decisions that are taken, i.e., underlying the planning process of the textile industry there is always the question of maximizing the weaving production.

The problem of weaving lot sizing lays on the assumption: the larger the lot the greater the efficiency of the company. The reasons for this assumption are the following:

  • setup times associated with the change of batch. For larger batches are fewer setups and the weaving efficiency will be higher;

  • since the components needs (strings) are generated from the weaving programming, the larger the batch, the greater the size of the lots in sections upstream (dyeing and spinning).

Production planning in the analyzed companies is a highly centralized planning system. This fact is understood by the need to integrate information in a complex environment dependent of demand.

In spinning and dyeing, the sequencing is responsibility of the sections responsible, with only a delivery date associated with each manufacturing order that the person responsible has to respect.

In weaving, the interference of the central planning in scheduling operations is significant and justified by the disaggregation model presented above.

On the other hand, there are other reasons why weaving deserves special attention:

  • the productive capacity of a company is given by the ability to weave, even when including outsourcing;

  • marketed product (fabric), even not finished, is physically produced in this section, which induces two clearly distinct types of control. Upstream weaving we have a pull process, where the weaving facing its needs "pulls" the production, downstream of weaving, because the relation order/product is very visible, we have a push system, where the delivery pressure is exerted by both the commercial and production sectors.

Given the foregoing, it is concluded that the problem of scaling and sequencing of production batches arises in all sections of the companies. However, by the observations made, the problem that seems to have a greater impact on productive efficiency is the weaving batch sizing and sequencing.

It was concluded that a set of parts are a lot, and that within the same lot, the batch preparation time between parts is zero. However, there is a limit to the number of parts that can form a batch. This limit is given by the technical limitations of product and equipment.

Once grouped into batches, the pieces can lead to two types of setup, depending on their technical characteristics. So, considering the sequencing of parts, one can consider the following setup times:

  • zero, when the parts are equal and belong to the same lot,

  • 8 hours, when the parts are equal but are from different batches,

  • 24 hours, when the parts are different.

For the analyzed problem, it was found that the demand is known in advance, being this way deterministic and stable for a planning horizon of 10 weeks. In each week, there is only a delivery date, corresponding to the last day of the week. Thus, we are facing a problem where the planning horizon is finite, with multiple periods of time. The periods are constant, which means that the difference between two consecutive delivery dates are equal.

In order to characterize the demand, was made a survey of confirmed orders for a period of 10 weeks, in one of the companies, concluding that there were 87 different products totaling 5828 pieces to schedule in 48 machines.

The processing time per piece is known.

From data analysis of the problem and characteristics of the industry producing tissues, it was concluded that a factor of competitiveness for the sector is the fulfillment of deadlines, so this feature should be included in the formulation of the problem. In order to be compared with current practice in the company, was chosen an objective function that reflected the heuristics applied in the company, which took into account the production time, the setup time and a tardiness penalty.

Beyond the characteristics presented above, it was verified that there are still a number of assumptions that, in terms of problem formulation, is important to consider, including:

  • a machine can only process one piece at a time;

  • one piece can be processed in only one machine;

  • the production of one piece on a machine cannot be interrupted;

  • a piece can move from the period;

  • initial characteristics of the machines are known.

As previously stated, the problem under research was inspired by the textile industry, weaving in particular, where n jobs are sequenced on k machines. The machines are grouped into G groups according to their processing velocity, turning this into a uniform parallel machine problem. Not all tasks can be processed on all machines because the plant has looms with different widths. This technical aspect confers to the problem an increased level of complexity, and it is a distinguishing factor when compared with the other situations reported in the literature.

The tasks have sequence-dependent setup times. Same type of tasks sequenced in the same machine are joined in batches, so the setup time between same type of tasks (i.e., for tasks belonging to the same batch) is zero. Nevertheless, when the amount of same type of tasks reaches an established lot size, a setup should then take place. The lot size varies according to the type of tasks. This is a major achievement compared with what was found in the literature. For same type of tasks with a continuous sequence on the same machine, two setup times take place: a) the setup time will be zero if the limit lot size has not been reached; and b) it will have a certain value (the setup time) if another situation occurs.

The demand is deterministic for the planning horizon with a due date associated with each task. On the planning horizon, we can have n due dates.

Advertisement

4. Problem statement and formulation

The generalised version of the problem can be described as the problem of scheduling tasks in uniform parallel machines, with due dates and sequence-dependent setup times.

The problem under analysis has the following characteristics:

  1. The throughput is stable during the period of production;

  2. The demand is known in the planning horizon;

  3. The production can be adequately represented by a limited set of tasks (p=1,…, P);

  4. The production is performed in a set of machines joined together according to their characteristics in G groups (g=1,…, G), each one having k machines (k=1,…, K);

  5. For each task p, a due date dp exists;

  6. The task can be delivered after the due date but incurs tardiness. This tardiness is penalised by a factor ρ

  7. Each task is processed in a single machine of a defined group;

  8. Each task p can be processed in machines belonging to any group, whereas the required characteristics need verifying, considering Tppg, the processing time of task p on one of the machines belonging to group g (p=1, …, P and g=1, …, G);

  9. The setup time for each machine that processes task j, after having processed task i, is known and represented by sij and is independent of the machine in which the task has been processed but always considers the characteristics of the sequence of the tasks;

  10. The setup time of the machine that produces task i in the beginning of the job sequence on a machine is known and represented by s0i;

  11. Lmax represents the maximum number of tasks than can be joined and processed together continuously without requesting setup time;

  12. There is no need to consider a setup time for tasks with the same technical characteristics. The amount of different assembly combinations is A, whereas Na (a=1,…,A) is the set of tasks that have the same characteristics, assembly and colour, with a as the reference.

  13. M is a large positive number;

  14. βig={1iftaskicanbeprocessedingroupg0otherwise}E1

Before providing a mathematical formulation, the following variables are defined:

Cpdate of conclusion of task p

tp tardiness of task p

s’ij setup time for task j when this occurs after task i

xijkg={1iftaskiis followedbyjinmachinekofgroupg0otherwise}E2
yikg={ 1if i is assigned to a machine in group g 0otherwise}E3
zij={1thetasksiandjareprocessedinthesamemachinekofgroupg 0otherwise}E4

The problem can then be modelled as one of mixed integer programming by the following expressions, which are explained next.

minikgyikgρig+ijkgxijkg+i,jNa;a=1AkgSijgRakg+ρitiE5
jx0jkg=1,k=1,....,Mg;g=1,...,GE6
cj+M.(1x0jkg)s0jg+pjg,j=1,...,P;k=1,...,Mg;g=1,...,GE7
i;ijxijkg=yjkg,j=1,...,P;k=1,...,Mg;g=1,...,GE8
j;ijxijkg=yjkg,i=1,...,P;k=1,...,Mg;g=1,...,GE9
cj+M.(1xijkg)ci+pjg,i,j=4,...,P;k=1,...,Mg;g=1,...,GE10
ciditi,i=1,...,PE11
kgyikgβikg=1,i=1,...,PE12
yikg+yjkg1zij,i,j=1,...,P;k=1,...,M;g=1,...,GE13
sij'=sijzij,i,jNa;a=1,...,A E14
(i,j)NaxijkgLamaxRakg,i,jNa;a=1,...,AE15

In the objective function,

  1. 1) is the total production time and is the sum of the following four items: i) tardiness time, ii) setup time among different tasks, iii) setup time among same type of tasks and iv) processing time.

    • The tardiness time is given by the sum of all the delays that occurred during the planning horizon, multiplied by a penalty factor.

    • The setup time is given by the sum of all the setup times during the planning horizon.

    • The processing time is given by the sum of all of the task processing times included in the planning analysis.

    The model constraints can be interpreted as follows:

    2) Constraints ensuring that only one initial setup can take place in each machine k belonging to group g;

    3) Constraints ensuring that the conclusion time of task j, when processed at the beginning of the job sequence on a machine k, belongs to group g and is equal to the initial setup time of task j plus the processing time of task j in machine g.

    4) Constraints ensuring that if the setup time for task j takes place in machine k of group g, then j is either preceded by another task i or is the first task in the queue and will be processed in machine k of group g.

    5) Constraints ensuring that if the setup time for task j takes place in machine k of group g, then j is either preceded by another task i or is the last task in the queue and will be processed in machine k of group g.

    6) Constraints ensuring that the processing of each task once started cannot be interrupted;

    7) Constraints ensuring that the tardiness time of task i is given by the difference between the conclusion date and the due date. From this problem, it can be concluded that ti is a positive number and tardiness time only occurs when ci is larger than di;

    8) Constraints ensuring that each task is manufactured only once and in a compatible machine;

    9) Constraints ensuring that if one task i is processed in machine k of group g, and another task j is processed in machine k of the same group g, then both tasks are processed in the same machine.

    10) Constraints ensuring that the setup time taken by changing from task i to task j in group g is zero if i and j have the same technical characteristics, assembly and colour. Otherwise, it assumes a known value Sij;

    11) Constraints ensuring that when the number of same type of tasks, continuously sequenced, exceeds the maximum lot size, then the resulting setup time is taken into account.

Restrictions 4) and 5) ensure that tasks p will be processed by the k machines of g groups, which means that all the tasks will be processed. Simultaneously, these conditions ensure that each machine only processes a single task at a time, considering that the number of setups plus the initial setup gives the total number of processed tasks.

Advertisement

5. Simulated annealing algorithm

According Radhakrishna and Ventura (2000) the simulated annealing (SA) algorithm is a stochastic approach that endeavours to overcome local optimality by accepting bad solutions with a definite probability. It has been used to solve many combinatorial problems. SA is a technique of searching for good solutions in a configuration space which draws an analogy between minimum cost configuration in a combinatorial optimization problem (Metropolis et al (1953); Kirkpatrick et al (1983) Liao and Lin (2003); Lee, Wu and Chen(2006); Logendran et al (2007), and Kimet et al, (2006)).

The motivation for the SA algorithm comes from an analogy between the physical annealing of solids and combinatorial optimization problems. Physical annealing refers to the process of finding low-energy states of a solid by melting the substance initially and then lowering the temperature slowly, to temperatures close to the freezing point. An example would be to produce a crystal from the molten substance. In a liquid, the particles are arranged randomly, but the ground state of the solid, which corresponds to the minimum energy configuration, will have a particular structure, such as seen in a crystal. If the cooling is not performed slowly, the resulting solid will not attain the ground state but will be frozen into a meta-stable, locally optimal structure, e.g. glass or crystal with several defects in the structure. In the analogy, the different states of the substance correspond to the different feasible solutions of the combinatorial optimization problem, and the energy of the system corresponds to the function to be minimized. (Radhakrishna and Ventura, 2000).

The basic idea of the utilized algorithm is as follows. An initial feasible solution to the problem is generated using Heuristic, for which, a starting value of the temperature parameter, (T0) is estimated. A neighbouring solution is then randomly generated, which is accepted or rejected using the SA methodology, e.g. if the energy for the new solution is smaller, the solution is accepted, if the energy for the new solution is higher, then Metropolis criterion is employed for acceptance. This process is repeated until the algorithm converges to the final temperature value (Tf ). SA ensures that the solution found increase the possibility to find the global minimum.

For the present case, the energy is substituted by the cost. A specific cost, Zx, matches the initial solution. From this initial solution, a neighbouring solution is randomly reached, with a cost represented by Zy. The difference between Zy and Zx is represented by ΔZyx. If the cost decreases (i.e., if ΔZyx = Zy - Zx < 0), then the neighbouring solution Zy will be accepted. If the opposite occurs, solution Zx will be retained if respecting the Metropolis criterion. This procedure will be executed as long as a local minimum is not reached. The local search algorithms are very easy to apply, but they may converge to a unique local minimum. As a result, a considerable deviation from the optimal solution can be introduced.

The SA algorithm improves the overall performance of this type of method because it makes it possible to overtake one local minimum with a given probability, i.e., there is a probability of accepting a worse solution, expressed by ΔZyx = Zy - Zx > 0.

The pseudocode developed by Madhavan (1993), is shown below:

Begin

Select an initial solution (where π is the solution space)

Select an initial temperature, T=T0;

Set temperature counter, u=0

Repeat

Set interaction counter, n=0

Repeat

Generate solution, yΠ, a neighbour of x;

Calculate ΔZyx = Zy - Zx

If ΔZyx<0 then x=y

Else

if > random number from U(0,1), then x=y;

n=n+1

Until (n=R);

u=u+1;

T=Tu;

Until (stopping criterion (Tu<=Tf) is satisfied);

End
Advertisement

6. The developed heuristic

To solve the optimisation problem using the SA algorithm, we must establish the parameters, namely:

  • the initial and final values of the temperatures given in Eq. (12) and (13), which are the control parameters.

T0=ΔZmin+(ΔZmaxΔZmin)/10E16
Tf=ΔZminE17
  • the dimension of each temperature stage, i.e., the number of iterations executed for each value of the temperature. In the case being analysed, the number of iterations in each stage was considered proportional to the problem dimension and is given by 2N, where N represents the number of batches to be scheduled.

  • the cooling rate:

Tu+1=Tu1+βTu,E18

where

β=(T0+Tf)pT0TfE19

and

p=50δN(N1))2,E20

where δ controls the cooling rate.

The utilisation of the SA algorithm still requires the determination of the following:

  • the initial solution;

  • neighbouring solutions;

  • the cost function.

6.1. Initial solution heuristic

The restrictions on the problem must be observed by the heuristic used to find its initial solution, namely, the compatibility between the width of the task to be performed and the required equipment. The task with a larger width is assigned to the less busy compatible equipment. The initial solution will have the following characteristics:

  1. All the tasks with the same characteristics and due date are joined in the same batch.

  2. Each machine has a queue in which the number of batches and the processing time are known.

  3. The setup time required by the batch depends on its sequence inside the queue.

  4. Cost Z is expressed in time units. This value is obtained by adding the processing time, the setup times and the time penalty resulting from tardiness.

  5. The batch is considered the carry unit.

From the application of this heuristic, a possible solution is obtained and is used to generate the neighbouring solutions.

6.2. Heuristic for the determination of neighbouring solutions

Neighbour solutions are obtained through random batch transferences and swaps.

A neighbour solution can be generated by two different methods:

  • Random transference in which the width is a restriction

This method consists of changing the batch position inside the queue (see Figure 1) or transferring it to another queue (see Figure 2). This task only takes into account the width restriction.

Figure 1.

Transference of batches in the same queue

Figure 2.

Batch transference between queues of compatibles machines.

  • Random swaps in which the width is a restriction

In this situation, in the same queue, two batches are allowed to swap positions, as represented in figure 3. If the two batches are from different queues, they can also be exchanged, as shown in figure 4.

Figure 3.

Swapping batches in the same queue

Figure 4.

Swapping batches between queues of compatibles machines.

The heuristic for the determination of neighbouring solutions, as presented in this paper, which is based only on random transfers or swapping, leads to a wider search space. Although the proposed method takes more time to converge to a minimum local, it has the advantage of reaching improved solutions. This option has proved to be a good choice for the particular problem under analysis, where the quality of the solution was considered much more important than the computational time.

As a result of the swap or transference described in this paragraph results a new possible solution to the problem. This new solution is acceptable if the cost z is less than or greater in some cases. The cost Z referred to in paragraph 6.3 reflects the objective function. This is, the solution resulting from the swap is evaluated according to the setup and processing time and delays it generates. Thus a relation between the objective function and the generation process of surrounding solutions is established.

As shown in the figure 5 is generated the initial solution, applying the objective function to this solution results in a certain cost Z. From the initial solution is generated a neighbouring solution as described in section 6.2. The objective function is applied to the new solution and tested in the simulated annealing algorithm and thus accepted or rejected. The solution obtained will give rise to another solution neighbour and so on until the process is interrupted according to the criteria described.

Figure 5.

Schematic representation of performed algorithm

6.3. Description of the heuristic for evaluating the “Z” cost

As previously explained, the initial solution is a sequence of batches ordered by machine. Therefore, it is possible to find the time required to process the batches. In this case, the algorithm, queue by queue, or, in other words, machine by machine, will evaluate the sum of the processing times associated with each batch.

After task exchange, or transference, the heuristic will compute queue by queue the number and type of setups and then proceed to the total calculation for all of the setups.

Of all of the production times, the one that presents more calculation difficulties is the tardiness time, period by period. The system should take into account the possibility of an advance or delay for a machine that lasts for a certain period of time and should transfer the work to the following period. Such evaluation requires an additional computational effort, especially when large dimension problems are faced.

Cost “Z” is then the result of adding up processing and setup times plus the penalties that arise from failing to meet the due dates.

Advertisement

7. Computational results

To validate the solutions, a heuristic for the determination of a lower bound has been used.

7.1. Determination of “lower bound”

A good solution is the one resulting from the ratio of the production capacity versus the processing and setup requirements.

If the processing time plus the setup time requirements exceed the capacity, the lower limit should take into account the penalty time for the tardiness.

The penalty factor can take the form of a parameter.

Considering the magnitude of the problem that we are dealing with, it is not an easy job to find an algorithm for computing the lower limit that can successfully address every situation.

An algorithm that demonstrated good performance in environments with many groups of machines, many machines per group and many periods of time was chosen; the authors think that it is the best adjusted algorithm for the practical case that they were studying.

7.2. Description of the tests that were conducted

Tests were designed, keeping in mind the structure of the identified problem. Ten scenarios with increasing complexity were created, with the last one corresponding to the practical case being analysed. For each of the scenarios, a significant number of tests have been done using different parameters.

The characteristics of the performed tests are shown in Table 2.

In Table 3, the information contained in each column of Table 2 is described.

From the analysis of the results, the authors concluded that the algorithm performance was strongly related to the structure and the dimensions of the problem. This was expected once the evaluation criteria (convergence to the lower bound) were developed because of the previous experience of the skilled planner with large dimension problems.

In fact, the lower bound reflects the value that would be considered best by the planner for a problem of such size. It should be emphasized that in the analysed industrial environments, the methodology used for lot sizing and scheduling is very close to the heuristic applied to generate the initial solution in the presented work.

ScenarioMachine GroupMachine NumberPeriodAssemblyColourTask NumberBatch Number
111313503
2113231059
31152529220
4223261896
52232623512
622441024232
72424729513
84424729513
9484614114850
104481039875828232

Table 2.

Performed tests

ColumnDescription.
ScenarioIdentifies the constructed scenario
Machine GroupIndicates the number of groups considered in the scenario.
Machine NumberIndicates the total number of machines considered in the scenario.
PeriodIndicates the number of periods—the number of different due dates in the planning horizon. Within the same period, all the tasks have the same due date.
AssemblyNumber of different assemblies considered in the scenario.
ColourNumber of different colours considered in the scenario.
Task Number Indicates the number of tasks.
Batch Number Indicates the number of batches generated by the initial solution.

Table 3.

Description of Table 2

For the smaller problems, scenario 1 and 4 of Table 4, the best solution was obtained by the initial solution. In these cases, the solution equals the value found for the lower limit because this is the optimal solution. In other scenarios, there is a significant improvement in the value found through the heuristic when compared with the value of the initial solution.

Table 4.

Obtained results

The results obtained for the real scenario (shown in table 4 and figure 6) show that there was a reduction of 10.71% when the best solution obtained was compared with the value of the initial solution.

Figure 6.

Best solution for scenarios 10

It should be noted that the initial solution reflects the heuristics used by the planner in a real environment. Additionally, in relation to the lower bound value, there is a clear convergence between the value of the solution and the limit. In this case, the better solution lies just 5.48% from the value obtained for the lower bound and may be considered a satisfactory result.

Advertisement

8. Conclusion

Considering the type of industry studied, the results show the clear importance of a structured approach to improving the efficiency in problems of lot sizing and scheduling operations. In the real case study, the developed tool allowed for an improvement of approximately 10%.

It is possible, based on the developed work, that when this is extrapolated to other industrial environments, it may also bring significant benefits.

The generalisations made for the initial problem allow an innovative formulation compared with the known approaches to problems of lot sizing and scheduling of uniform parallel machines. Specifically, the following generalisations were useful: i) consider different setup times for the same sequence of tasks depending on the lot size and the task position in the queue of the machine; ii) the machines, in addition to being grouped together according to their processing speed, should be further sub grouped according to technical features, including the machine width.

From a more conceptual perspective, the work presented also provides significant advantages in terms of tactical planning. The study identified a planning philosophy in the textile industry based on their Material Requirement Planning (MRP) that generates production needs from the backlog.

It is expected, although difficult to quantify, that if the material requirements are generated from the nearly optimal sequence obtained with the developed program, additional gains beyond the direct gains demonstrated in the work will exist in the upstream production sections because it is a system-dependent demand.

References

  1. 1. Allahverdi, Gupta and Aldowaisan1999A review of scheduling research involving setup considerations", International. Journal. Management Science, 27219239
  2. 2. Allahverdi, Ng, Cheng, Mikhail and Kovalyov2008A survey of scheduling problems with setup times or costs, European Journal of Operational Research, 187 9851032
  3. 3. Anagnostopoulos and Rabadi2002A simulated annealing algorithm for the unrelated parallel machine scheduling problem, Robotics, Automation and Control and Manufacturing: Trends, Principles and Allpications, 15120
  4. 4. AnghinolfiD.PaolucciM.2007Parallel machine total tardiness scheduling with a new hybrid metaheuristic approach, Computers and Operations Research, 34 (11), 34713490
  5. 5. BakerK. R.1974Introduction to Sequencing and Scheduling New York: Wiley.
  6. 6. BehnamianJ.ZandiehM.GhomiS. M. T. F.2010A multi-phase covering Pareto-optimal front method to multi-objective parallel machine scheduling International Journal Of Production Research 48 49494976
  7. 7. Blazewicz; Drozdowski; Formanowicz; Kubiak and Schmidt2000Scheduling preemptable tasks on parallel processors with limited availability, Parallel Computing, 26, 11951211
  8. 8. ChaudhryI. A.DrakeP. R.202009Minimizing total tardiness for the machine scheduling and worker assignment problems in identical parallel machines using genetic algorithms International Journal Of Advanced Manufacturing Technology 581594
  9. 9. ChenC. L.ChenC. L.2009Hybrid metaheuristics for unrelated parallel machine scheduling with sequence-dependent setup times International Journal Of Advanced Manufacturing Technology 43 161169
  10. 10. ChenJ. F.2006Minimization of maximum tardiness on unrelated parallel machines with process restrictions and setupsThe International Journal of Advanced Manufacturing Technology557563
  11. 11. Chen, JF2009Scheduling on unrelated parallel machines with sequence- and machine-dependent setup times and due-date constraints.International Journal Of Advanced Manufacturing 44 11-1212041212
  12. 12. ChuangM. C.LiaoC. J.ChaoC. W.202010Parallel machine scheduling with preference of machines International Journal Of Production Research 48 41394152
  13. 13. Curry and Peters2005Rescheduling parallel machines with stepwise increasing tardiness and machine assignment stability objectives, International Journal of Production Research, 43, 32313246
  14. 14. EdisE. B.OzkarahanI.2011A combined integer constraint programming approach to a resource-constrained parallel machine scheduling problem with machine eligibility restrictions Engineering Optimization 43 135157
  15. 15. EomD. H.ShinH. J.KwunI. H.ShimJ. K.KimS. S.2002Scheduling jobs on parallel machines with sequence-dependent family set-up times, International Journal of Advanced Manufacturing Technology, 19, 926932
  16. 16. ErenT.GunerE.202009A bicriteria parallel machine scheduling with a learning effect International Journal Of Advanced Manufacturing Technology 40 12021205
  17. 17. Fanjul-PeyroL.RuizR.202010Iterated greedy local search methods for unrelated parallel machine scheduling European Journal Of Operational Research 207 5569
  18. 18. França, Gendreau, Laport, and Muller1996A tabu search heuristic for the multiprocessor scheduling problem with sequence dependent setup times, International Journal of Production Economics, 43, 7989
  19. 19. Gacias, B; Artigues, C Lopez, P 2010 Parallel machine scheduling with precedence constraints and setup times Computers & Operations Research 37pp: 2141-2151
  20. 20. Gupta, Hariri and Potts1997Scheduling a two-stage hybrid flow shop with parallel machines at the first stage, Annals of Operations Research, 69, 171191
  21. 21. Haouari, Gharbi and Jemmali2006Tight bounds for the identical parallel machine scheduling problem, International Transactions in Operational Research, 13, 529548
  22. 22. HsuC. J.KuoW. H.YangD. L.2011Unrelated parallel machine scheduling with past-sequence-dependent setup time and learning effectsApplied Mathematical Modelling3514921496
  23. 23. HuangS. M.CaiL. N.ZhangX. Y.2010Parallel dedicated machine scheduling problem with sequence-dependent setups and a single server Computers & Industrial Engineering 58 165174
  24. 24. HuoY.LeungJ. Y. T.2010Parallel machine scheduling with nested processing set restrictions European Journal Of Operational Research 204 229236
  25. 25. Jaehwan e Marc, Scheduling Parallel Machines for the Customer Order Problem, Journal of Scheduling, Vol.20054974
  26. 26. Jiang, Yiwei; Tan, Zhiyi; He and Yong2005Preemptive Machine Covering on Parallel Machines, Journal of Combinatorial Optimization, 10, 345363
  27. 27. JougletA.SavoureyD.2011Dominance rules for the parallel machine total weighted tardiness scheduling problem with release dates Computers & Operations Research 38 12591266
  28. 28. KangY. H.ShinH. J.2010An adaptive scheduling algorithm for a parallel machine problem with rework processes International Journal of Production Research 48 95115
  29. 29. Kim, Na, Jang, and Chen2006Simulated annealing and genetic algorithm for unrelated parallel machine scheduling considering set-up times. International Journal of Computer Applications in Technology 262836
  30. 30. KimS. I.ChoiH. S.LeeD. H.2006Scheduling algorithms for parallel machines with sequence-dependent set-up and distinct ready times: minimizing total tardiness, Proceedings of the Institution of Mechanical Engineers Part B-Journal of Engineering Manufacture, 221, 10871096
  31. 31. Lee, Wu and Chen2006A simulated annealing approach to makespan minimization on identical parallel machines, International Journal of Advanced Manufacturing Technology, 31, 328334
  32. 32. Liao and Lin,2003Makespan minimization for two uniform parallel machines, International Journal of Production Economics, 84, 205213
  33. 33. LinL.LinY. X.ZhouX. W.2010parallel Machine Scheduling With A Simultaneity Constraint And Unit-Length Jobs To Minimize The Makespan Asia-Pacific Journal Of Operational Research 27 669676
  34. 34. LinY. K.MEPfundFowlerJ. W.2011Heuristics for minimizing regular performance measures in unrelated parallel machine scheduling problems Computers & Operations Research 38 901916
  35. 35. LogendranR.Mc DonellB.SmuckerB.2007Scheduling unrelated parallel machines with sequence-dependent setups, Computers & Operations Research, 34, 34203438
  36. 36. KirkpatrickS.GelattC. D.VecchiM. P.1983Optimization by simulated annealingScience, 220, 671± 680.
  37. 37. MadhavanK.1993Weighted earliness-tardiness minimization for jobs with sequence dependent set-up times using simulated annealing,Master’s thesis, Department of Industrial and Manufacturing Engineering, The Pennsylvania State University, USA
  38. 38. MellouliR.SadfiC.ChuC. B.et al.202009Identical parallel-machine scheduling under availability constraints to minimize the sum of completion times European Journal Of Operational Research 197 11501165
  39. 39. MetropolisN.RosenbluthA.RosenbluthM.TellerA.TellerE.1953Equation of state calculations by fast computing machinesJournal of Chemical Physics, 21, 1087± 1092
  40. 40. Meyr2002Simultaneous lotsizing and scheduling on parallel machinesEuropean Journal of Operational Research277292
  41. 41. Mokotoff2001Parallel Machine scheduling problems: A surveyÁsia-Pacific Journal of Operational Research, 18, 193242
  42. 42. Monma and Potts1989On the complexity of scheduling with batch setup times, Operations Research, 37, 798804
  43. 43. MoradiE.ZandiehM.2010Minimizing the makespan and the system unavailability in parallel machine scheduling problem: a similarity-based genetic algorithm International Journal Of Advanced Manufacturing Technology 51 829840
  44. 44. Nessah, Yalaoui and Chu2006A branch and bound algorithm to minimize total weighted completion time on identical parallel machines with job release dates, Proceedings of International Conference on Service Systems and Service Management, 2, 11921198
  45. 45. Oh and Kim2008A branch and bound algorithm for an identical parallel machine scheduling problem with a job splitting property, Computers & Operations Research, 35, 863875
  46. 46. OkolowskiD.GawiejnowiczS.2010Exact and heuristic algorithms for parallel-machine scheduling with DeJong’s learning effect Computers & Industrial Engineering 59 272279
  47. 47. Picard, and Queyranne1978The time dependent traveling salesman problem and its application to the tardiness problem in one-machine scheduling, Operations Research, 26, 86110
  48. 48. Potts and Kovalyov2000Scheduling with batching: A review, European Journal of Operational Research, 120, 228249Drexl e Kimms (1997), Lot sizing and scheduling- Survey and extensions Invited Review, European Journal of Operational Research, 99, pp. 221-235.
  49. 49. Potts and Wassenhove1992Integrating scheduling with batching and lot-sizing: a review of algorithms and complexity, Journal of the Operational Research Society, 43, 395406
  50. 50. Rabadi, Moraga and Al-Salem2006Heuristics for the Unrelated Parallel Machine Scheduling Problem with Setup Times, Journal of Intelligent Manufacturing, 17, 8597
  51. 51. Radhakrishnan and Ventura2000Simulated annealing for parallel machine scheduling with earliness tardiness penalties and sequence-dependent set-up times, International Journal of Production Research, 38, 22332252
  52. 52. RajaK.SelladuraiV.SaravananR.ArumugamC.2008Earliness-tardiness scheduling on uniform parallel machines using simulated annealing and fuzzy logic, Proceeding of the Institution of Mechanical Engineers part B-Journal of Engineering Manufacture, 222, 333346
  53. 53. RochaP. L.RavettiM. G.MateusG. R.2008Exact algorithms for a scheduling problem with unrelated parallel machines and sequence and machine-dependent setup times, Computers and Industrial Engineering, 35, 12501264
  54. 54. Shakhlevich and Strusevich2005Pre-Emptive Scheduling Problems with Controllable Processing Times, Journal of Scheduling, 8, 233253
  55. 55. Shie-Gheun, Pyung, Jae and Woon2004Scheduling parallel batch processing machines with arbitrary job sizes and incompatible job families, International Journal of production Research, 42, 40914107
  56. 56. Shim and Kim2007Minimizing total tardiness in an unrelated parallel-machine scheduling problem, Journal of the Operational Research Society, 58, 346354
  57. 57. Shin and Leon2004Scheduling with product family set-up times: an application in TFT LCD manufacturing, International Journal of Production Research, 42, 42354248
  58. 58. Sivrikaya-SerifogluF.UlusoyG.Parallel“.machinescheduling.withearliness.tardinesspenalties”.ComputersOperationsResearch.Vol1999773787
  59. 59. Su, LH2009Scheduling on identical parallel machines to minimize total completion time with deadline and machine eligibility constraints International Journal of Advanced Manufacturing Technology, 40 572581
  60. 60. Sumichrast and Baker1987Scheduling parallel processors: an integer linear programming based heuristic for minimizing setup time, International Journal of Production Research, 25, 761771
  61. 61. Tang and Luo2006A new ILS algorithm for parallel machine scheduling problems, Journal of Intelligent Manufacturing, 17, 609619
  62. 62. UnluY.MasonS. J.202010Evaluation of mixed integer programming formulations for non-preemptive parallel machine scheduling problems Computers & Industrial Engineering 58 785800
  63. 63. WangX. L.ChengT. C. E.202009Heuristics for parallel-machine scheduling with job class setups and delivery to multiple customers International Journal Of Production Economics 119 199206
  64. 64. Wen-Chiunge, Chin-Chia and Chen2006A simulated annealing approach to makespan minimization on identical parallel machines, The International Journal of Advanced Manufacturing Technology, 31, 328334

Written By

F. Charrua Santos, Francisco Brojo and Pedro M. Vilarinho

Submitted: 24 November 2011 Published: 29 August 2012