Galoitica: Journal of Mathematical Structures and Applications

Local Search Algorithms For Solving A Function With Five-Objectives And Release Dates on One-Machine

Hussein Abdullah Jaafar, Hanan Ali Chachan
Volume 10, Issue 2, pp. 44-51 (2024)
DOI: https://doi.org/10.54216/GJMSA.0100204
Online: https://www.americaspg.com/journal/33/article/2830

Abstract

In this research, the issue of scheduling n-jobs on one-machine is represented to minimize Five-Objectives-Function (FOF), for finding approximation solutions for the sum of completion time, total tardiness, total earliness, number of late jobs and late work with release date, this issue denoted by:   Hanan and Hussein used a branch and bound technique (B-a-B) to discovery an optimal solution path. Computational results showed the (B-a-B) technique was efficient in solving issues with up to (16- jobs). Because our issue is of a very difficult type (NP-hard), we suggest local search algorithms to discovery near optimal solution.  The execution of local search techniques can be tested on large group of test issues. Computational results showed with up to (30000 jobs) in acceptable time.

Keywords: Branch and Bound (B-a-B); Local Search (LS); Simulated Annealing (SA); Genetic algorithm (GA).

1.Introduction

A scheduling theory "focuses mainly on the optimal or efficient distribution of one or more resources to tasks over time", for finding approximation or near optimal solutions [1].

The theory of scheduling has been developed rapidly and significantly at the hands of researchers in this field. Many theories, solution techniques, graphs, timelines, and solution algorithms have been used to bring this theory to where it is today. For example, the complexity theory that has played a key in the classification of scheduling problems, were classified into categories according to the degree of difficulty of the solved or computational complexity [2].

Scientific research operations have primarily sought to ensure optimal solutions for scheduling problems by devising simple rules for solving as rule [Earliest-Due-Date] or rule [EDD], and [Shortest-Processing-Time] or rule [SPT] of Jackson and Smith respectively. Also, to obtain the exact solutions of hard issues, is usually used the main kinds from are enumerative techniques, of which, dynamic programming (DP) and (B-a-B) technique [1].

Due to the difficulties of many problems, which cannot be solved using enumerative methods. Many the approximate methods or heuristic method specifically local search methods, from prominent examples, Simulated annealing (SA), Particle Swarms optimization (PSO) and Genetic algorithm (GA) Tabu search (TS) and other, have been utilized to get high quality solutions [3].

For more than a decade, scheduling studies focused on single or (1-objective) performance measures, but in practical world, most an application, with more than (1-objective) [4].

In this research , we discuss the machine scheduling problems MSP with five objectives to measure performance and release dates on (1- machine), this issue is denoted by: 1/rj/ ∑ ( Cj + Tj + Ej + Uj + Vj ) n j=1 …(HH).

Hanan and Hussein [5] used (B-a-B) technique to find an optimal solution. Computational results showed (B-a-B) technique was good or effective in solving issues with up to 16-jobs.

Clearly this issue is (NP- hard), since as include sub issues are (NP- hard) in the strong sense, as 1/rj/∑ Cj n j=1 . Therefore, we use a local search (LS) method for obtaining approximate solutions close to the optimal solution in less time. In this research, we used Annealing (SA) method and genetic algorithm (GA).

2- Coding:s

The following coding's are used in this research:

j=Job index.

N̅=The set of all n-jobs .

n=Number of jobs .

pj=Processing time for job-j ,i.e. which means that it has to be processed for a period of length pj .

dj=Due date for job j ,i.e. the date when the a tasks or jobs should ideally be completed.

rj=a release date of job j ,i.e. the earliness time at which the processing of job can begin.

Cj=Completion time of (job-j) .

Tj=The Tardiness of (job-j).

Ej=The Earliness of (job-j) .

Uj=The Unit penalty of (job-j) .

Vj= The Late work of (job-j) , finally ∑=The Sum

3- Mathematical Model:

In issue or problem (HH):

(HH)=Min δ(σ)=Minσϵδ{ ∑ ( Cσ(j)  + Tσ(j) + Eσ(j) + Uσ(j) + Vσ(j) ) n j=1 }

S.t :

Cσ(1)={rσ(1) + pσ(1)}

Cσ( j )=Max{rj, Cj-1}+pj , j = 2,…, n

Tσ(j)=Max{Cσ(j) – dσ(j), 0} , j= 1,…,n

Eσ(j)=Max{dσ(j) – Cσ(j), 0} , j= 1,…, n

Uσ(j)= { 1     if   Cσ(j) > dσ(j)      ,              j = 1, … , n 0                       o. w

Vσ(j)=Min{ Tσ( j ) , pσ( j )} , j = 1,…, n

The purpose is to Getting a processing order σ =(σ(1),…,σ(n)) for minimize the issue (HH). In order to simplify the issue (HH), can be Partition into (3) sub issues (hh1), (hh2) and (hh3), as below:

Figure
Figure

Then we can find values of (HH) since hh1+ hh2+ hh3 ≤ HH see [6].

4- Six-heuristics techniques to obtain an initial feasible solution:

To obtain an initial feasible solution (σ), in this paper (6) heuristics methods are used for arranging the jobs and calculation the cost issues (HH).

5- Local Search Algorithms:

The local search algorithms (methods or techniques) are a set of general-uses techniques for optimization problems, each technique determine a different strategy for dealing with the problems. The use of (LS) techniques to optimization problems dates to early 1960s [7]. Since that history the interest in this subject has considerably grown in the fields of computer and operations research sciences, and artificial intelligence. Some of the prominent heuristics’ method emulate some of processes that occur in nature (like genetic evolution, metal annealing, and so on), from the common examples SA, GA, Swarm- Intelligence algorithms SIA, and Tabu search TS [8]. These strategies are usually called as "Meta-Heuristics". In this paper we propose two (LS) (meta-heuristics) techniques, to solve our problem (HH), are simulated annealing (SA) and Genetic Algorithm (GA), in sections next, we describe the two algorithms for our problem as follows:

5-1- Simulated Annealing Technique (SA):

The (SA) was displayed by (Kirkpatrick et.al [9]), in the early 1950s. This technique simulates the annealing process in which a material or (metal), this process boils down to raising the temperature of the metals above their melting point and then gradually cooling them to finding an optimal structure. The instrument to crystal formation is carefully controlling the rate of change of temperature [10].

In order not to get too far away from the terminology of improvement problems, so here we simply describe the algorithm for (HH) as follows:

Step-1 : Initialization: To obtain an initial feasible solution s we applied six heuristics methods (see section 4) and compute its objective function value δ(s), then we choose minimum value (i.e. min- objective function value =an initial feasible solution s ).

Step-2 : Initial value of parameter (T=50000) and reduction method:

Step -3 : Neighborhood solution s': To get neighborhood solution s' of the an initial feasible solution s by switch the location of any two jobs that adjacent or not be adjacent, and compute its objective function value δ(s')

Step-4 : Find Δδ = δ(s') – δ(s)

Step -5 : Acceptance or rejection test: If Δδ ≤ 0, we accept s' (i.e. s'꞉=s), but if Δδ> 0 then we accept s' with a certain probability p (where P =exp−Δ/T).

Step-6 : Stop condition: After (50000) iterations the algorithm stops, or reach a runtime (600) second . If no we reduce T by the following relationship: Tnew = Told -1, then go step (3).

5-2- Genetic Algorithm (GA):

The (GA) technique is based on Darwin’s (1859) theory of the "survival-of-the-fittest" that is, it depends it is based on the principles of genetics and natural chose [10]. Therefore, it is very appropriate to use genetics concepts in this technique. The (GA) is a kind of optimization techniques, for finding near optimal solutions to ( NP- hard) issues. The basic rules for these methods were developed by Holland and Goldberg see ([11], [12]) (1988) during their investigations on how to develop computing means and Programs that are capable of simulation or learning [3].

The work of the GA involves a set of procedures that we explain for our problem as follows as:

Step (1): Initialization: Here we start with initial population of size 50 solutions, 6 of them generated by applied six heuristics methods (see section 4), otherwise generated at randomly.

Step (2) : Calculate the value for δ(σ) for each solution

Step (3) : Create a new population: Repetition the following processes (genetic operators) :

a) Selection: Select the best individuals from the current population based on the value of the δ(σ). In this work we selected the best five solutions, and ten solutions randomly.

b) Crossover: This process is applied to the five solutions that we get from the previous procedure, by applying the type one-point crossover (see [13]). From this procedure we get 40 solutions, besides the ten random solutions we have got 50 solutions.

c) Mutation: The mutation procedure applies to all solutions obtained from the two procedures above.

Step(4): Stop Criteria: The (GA) Stops when (50) iterations, or reach a runtime (600) second .

6- Computational Experience:

The algorithms of this paper (SA) and (GA) are coding in (MATLAB-2018) and Programmed on a computer -dell-Core- i7- with ram-32- (G-B)], CPU= 3.4, hard 1 T.

We created (5) issues randomly, for each issue, nϵ{5,…, 30000} jobs, that were generated as follows:

Table (1) shows a comparison of the performance of (SA) and (GA) when the value of n ≤ 30000 jobs. We also have other table (2) that show the average objective function values, and average run time for (SA) and (GA) .

Table 1. Results comparison between SA and GA for n =5, 10, 16, 100, 500, 1000, 5000, 10000, 20000, 25000, 30000
Table 1. Results comparison between  SA and GA for n =5, 10, 16, 100, 500, 1000, 5000, 10000, 20000, 25000, 30000
Figure
Figure

n: n-jobs.

EX: Example number.

SA: The Simulated Annealing (SA) method.

GA: The Genetic algorithm (GA) method.

T. (SA): The time which is required for (SA) (in seconds).

T. (GA): The time which is required for (GA) (in seconds).

Table 2. Compare the average value and time for SA and GA.
Table 2. Compare the average value and time for SA and GA.

In the tables (2) we have:

n: n-jobs.

Av.SA: The average objective function values of (SA) method.

Av.GA: The average objective function values of (GA) method.

Av. T.(SA): The average run time for (SA).

Av. T.(GA): The average run time for (GA).

7. Conclusions and suggestions:

1. From the results obtained for using of two methods (SA and GA) on issue (HH), The performance of two methods can be tested on large class of test issues. The computational results showed a superior ability to solve problems, as up to (30,000) functions were solved in a record period.

2. GA is better in n=5 to less than 5000 jobs, while SA best in n=5000 ,..,30000 jobs.

3. To make the performance of the (SA and GA) methods better, we propose making a hybrid between the two methods search or between them and another (LS) methods,

References

  1. Chen, B., Chris N. P, and Gerhard, J. W. "A review of machine scheduling: Complexity, algorithms and Approximability," Handbook of combinatorial optimization. Springer, Boston, MA, (1998). 1493-1641.
  2. Michael, L. P. " Scheduling: theory, algorithms, and systems". Fifth Edition, (2016).
  3. Walser, J. P. "Integer optimization by local search: a domain-independent approach". Springer-Verlag, (1999).
  4. Nagar A., Haddock J. and Heragu S.,(1995). Multiple and Bi-Criteria Scheduling a Literature Survey, Eur. J.OPI. Res. 1:88-104.
  5. HA Chachan, HA Jaafar. "Exact Solutions for Minimizing cost Function with Five Criteria and Release Dates on Single Machine". Ibn AL-Haitham Journal For Pure and Applied Science, 2020. Sci. 33 (3).
  6. Chu, C, and Portmannm M.C. "Some new efficient methods to solve the n/1/ri/∑Ti scheduling problem", European journal of operational research 58.3 (1992): 404-413.
  7. Dunham, B., Fridshal, D., Fridshal, R., & North, J. H. Design by natural selection. In Form and Strategy in Science. (1964). 306-311.
  8. Sörensen, K., and Fred, W. G. "Metaheuristics." Encyclopedia of operations research and management science (2013): 960-970.
  9. Kirkpatrick, S., Gelatt, C. D., & Vecchi, M.P. "Optimization by simulated annealing." science 220.4598 (1983): 671-680.
  10. Haupt, R. L., and Sue, E. H. "Practical genetic algorithms." .SECOND EDITION, (2004).
  11. Holland, J. "Adaptation in natural and artificial systems: an introductory analysis with application to biology." Control and artificial intelligence (1975).
  12. Goldberg, D. E., and Holland, J.H. "Genetic algorithms and machine learning." Machine learning 3.2 (1988): 95-99.
  13. Baúto, J., Neves,R., and Horta, N. "Parallel Genetic Algorithms for Financial Pattern Discovery Using GPUs". Springer International Publishing, (2018).