Abstract

The purpose of this paper is twofold. First, it introduces a new hybrid computational intelligence algorithm to the optimization community. This novel hybrid algorithm has hyperheuristic (HH) neighborhood search movements embedded into a recently introduced migrating birds optimization (MBO) algorithm. Therefore, it is called HHMBO. Second, it gives the necessary mathematical model for a shift scheduling problem of a manufacturing company defined by including the fairness perspective, which is typically ignored especially in manufacturing industry. Therefore, we call this complex optimization problem fairness oriented integrated shift scheduling problem (FOSSP). HHMBO is applied on FOSSP and is compared with the well-known simulated annealing, hyperheuristics, and classical MBO algorithms through extended computational experiments on several synthetic datasets. Experiments demonstrate that the new hybrid computational intelligence algorithm is promising especially for large sized instances of the specific problem defined here. HHMBO has a high exploration capability and is a promising technique for all optimization problems. To justify this assertion, we applied HHMBO to the well-known quadratic assignment problem (QAP) instances from the QAPLIB. HHMBO was up to 14.6% better than MBO on converging to the best known solutions for QAP benchmark instances with different densities. We believe that the novel hybrid method and the fairness oriented model presented in this study will give new insights to the decision-makers in the industry as well as to the researchers from several disciplines.

1. Introduction

Workforce scheduling has been a subject of continued research and commercial interest in several disciplines due to its important practical applications within the context of intelligent systems. Workforce scheduling is a concept that embraces a variety of scheduling problems, also referred to as manpower scheduling and personnel scheduling in the literature. Constructing efficient and equitable schedules is a challenging issue requiring time and labor cost for the companies with high number of employees.

The real world problem we tackled aims to provide fair personnel work schedules for a large-scale manufacturing company that works 24 hours and seven days a week. Personnel requirements for each day and shift differ and are updated periodically. Employee requirement changes every four weeks, regularly. On the other hand, there is a high rate of employee circulation. Large numbers of new employees are recruited and large numbers of employees leave at the end of each period. Therefore, possible maximum level of fairness within each planning period is sought. There are also some essential legal regulations for employee schedules which make the problem much more complicated. The problem is described in detail in Section 3.

The presented problem has a sophisticated solution space. We have envisioned that exploring the solution space by more than one neighborhood search method could contribute to finding promising results. Hyperheuristics is a widely known way of applying multiple heuristic techniques. On the other hand, recently proposed migrating birds optimization algorithm is receiving growing attention from the researchers, due to the ability of providing good quality solutions over a wide range of instances of a problem. As a result, we wanted to integrate the exploitation capability of MBO with HH’s exploration capability for solving the problem. Consequently, we introduce a novel technique that has hyperheuristic movements embedded in the migrating birds optimization algorithm (HHMBO). To the best of our knowledge, there has been no investigation about hybridizing hyperheuristics with MBO in the literature. HHMBO is compared with the well-known algorithms, and it is shown that the proposed hybrid algorithm is promising especially for large sized instances of FOSSP.

HHMBO obtains very successful results on the FOSSP model. Hence, we believe HHMBO is also promising for the other combinatorial optimization problems. Therefore, we aimed to measure its performance on a widely tackled problem’s benchmark instances. Based on this idea, we have implemented HHMBO on the quadratic assignment problem (QAP). As a result, HHMBO is again found to be very successful on converging to the best known solutions for QAP instances with different densities. We should note that the data as well as the source codes of the programming framework can be found at http://mimoza.marmara.edu.tr/falkaya/research.htm.

The contribution of this study is threefold: (i) defining and validating the mathematical model of the fairness oriented shift scheduling problem (FOSSP), (ii) proposing a new hybrid metaheuristic algorithm that is composed of hyperheuristic movements embedded in migrating birds optimization (HHMBO), and (iii) showing the superiority of HHMBO through computational experiments conducted on both FOSSP dataset and well-known QAP benchmark instances.

The remainder of the manuscript is organized as follows: Literature review is presented in Section 2, and problem description details are presented in Section 3. Proposed solution techniques are described in detail in Section 4. Experimental setup is demonstrated in Section 5. Results are presented and investigated in Section 6. Section 7 concludes the paper and comprises suggestions for further research.

2. Literature Review

Many scientific studies have been examined in order to locate the problem that we have dealt with. Ernst et al. [1] offered a guide study that consisted of an annotated bibliography of personnel scheduling. There are also many review studies that extensively examine the workforce scheduling literature [26]. Brucker et al. [7] categorized the shift scheduling problems. Baker classified workforce scheduling problems into three types [8]: shift scheduling problem, days-off scheduling problem, and tour scheduling problem. Shift scheduling involves selecting a set of the most suitable shifts from a (large) pool of candidate shifts on a single day by satisfying employee requirement in each time slot. On the other hand, the main concern in days-off scheduling is to determine the off-work days for each worker over the rostering horizon rather than to assign the worker particular shifts on working days. In contrast to days-off scheduling, tour scheduling chooses off days for the workers and decides shift types for each of their working days over the planning horizon. Mathematical model of tour scheduling problem is summarized and problem classification is presented by Alfares [9]. Erhard et al. [4] presented the first review study that focuses on quantitative methods for physician scheduling literature. They indicated in their study that it is more common to include fairness aspects for physician scheduling domain than to ignore them.

Many different workforce scheduling problem models are presented up to now. A new mathematical formulation for mine shift scheduling is presented by Seifi et al. [10]. Brunner and Stolletz [11] prepared a schedule for the employees in check-in counters at airport. Atlason et al. [12] presented a shift assignment study in which planning horizon is divided into short periods. Morris and Showalter [13] presented a rewarding study that clarifies the usage of set covering formulation for shift scheduling, days-off scheduling, and tour scheduling problems ([1416]). Alfares [17] proposed a specific type of days-off scheduling, solved by proposed solution technique. Altner et al. [18] presented a days-off scheduling formulation. Lau [19] introduced a special tour scheduling problem.

The model we offer in this study associates tour scheduling problem and employee assignment problem and incarnates them as a single problem by overseeing the fairness issue. We call this integrated problem fairness oriented shift scheduling problem (FOSSP), in which schedules are constructed for employees during the planning period where the objective is providing fairness among all workers. The problem we are tackling is undertaken by solving the tour scheduling and employee assignment problems consecutively in [20]. However, obtaining solutions to subproblems gives suboptimal results. Therefore, an integrated solution approach is necessary. The mathematical model of FOSSP is built from scratch and then the model is implemented with a solver. However, the solver finds the optimum result but with an exponential growth in run time, due to the NP-Hard nature of the problems. Therefore, heuristics and/or metaheuristic approaches that provide reasonable solutions for the problem are needed.

Many metaheuristic based solution techniques have been applied for solving the workforce scheduling problems so far. They include artificial bee colony algorithm [21], particle swarm optimization [22], migrating birds optimization [23], genetic algorithm (GA) [24], an adaptive multiple crossover GA [25], and a modified differential evolution (DE) algorithm ( [2629]). A tabu-search hyperheuristics solution for nurse scheduling problem is presented in Burke et al.’s work [30]. Pan et al. [31] proposed a hybrid heuristic, combining tabu search and large neighborhood search techniques. Hernández-Leandro et al. [32] presented a Lagrangian relaxation and a metaheuristic for the multiactivity shift scheduling problem. A hybrid discrete water wave optimization algorithm is presented for scheduling problems [33].

Combinatorial optimization problems have a sophisticated solution space and a single improvement technique is insufficient to obtain promising results. More than one neighborhood search method with different characteristics may be promising to obtain more efficient exploration in the solution space. One widely known way of applying multiple heuristic techniques is hyperheuristics. Hyperheuristics (HH) is a metaheuristic technique formally defined as a heuristic to select and manage a set of low level heuristics. Many HH variations for optimization and scheduling problems have been defined up to now, such as tensor based hyperheuristic for nurse scheduling [34], column based hyperheuristic for bus driver scheduling problem [35], tabu-search hyperheuristics [30], and a simulated annealing hyperheuristic [36]. Hyperheuristics are also integrated with swarm based computational intelligence techniques such as hybrid particle swarm optimization [37], ant colony optimization based hyperheuristic [38], and hyperheuristic based artificial bee colony algorithm [39]. On the other hand, Duman et al. [40] recently proposed a new metaheuristic algorithm named migrating birds optimization (MBO). They applied their algorithm to quadratic assignment problems (QAP) and proved its efficiency.

3. Problem Description

In this section, we try to define and clarify the proposed and tackled problem. Firstly, the properties and limitations of the problem are explained. Then, cost measurement method is described. Lastly, the mathematical model of FOSSP is presented. The terms time period, time slot, and working slot are used interchangeably throughout this manuscript.

3.1. Properties and Limitations of the Problem

The main motivation behind defining this new problem is obtaining a fair distribution of working slots (time periods) among fixed number of employees during the specified planning period. Production factory operates incessantly 24 hours a day, seven days a week. There are totally three shifts in each day; those are day shift, evening shift, and night shift. Employee requirement list contains weekly employee demand for each day of the week and each shift of a day. The planning horizon which is specified as four weeks in our case may consist of several weeks. Employee requirement list is updated by management department at the end of each period, and same the requirement list is valid for all weeks in planning horizon. Multiweek employee schedules are prepared supplying personnel demand. That is, the output schedule must satisfy the number of workers needed for each day and shift, besides ensuring a fair distribution between employees along the given weeks.

Additionally, there are some essential legal regulations for employee schedules. Some of those rules may be listed as follows; if an employee has night shift on Sunday, (s)he cannot be assigned to day shift on the following Monday; if an employee has weekend off, he/she cannot be off on adjacent Monday and an employee cannot work more than six consecutive days. These additional legal constraints increase the complexity of the problem. Under these constraints, the aim is to provide a fair schedule distribution among employees throughout the planning period. Employees are assigned to a specific stationary shift type during one week and each employee has two off days. However, for each worker, shift types and off days may change from one week to another.

3.2. Determination of Schema Costs

A tour or a schema may be defined by a seven-lettered string containing D, E, N, or X which mean day shift, evening shift, night shift, and off day, respectively, and each letter corresponds to the days of the week starting from Monday up to Sunday. An example schema string is “XXEEEEE” which means Monday and Tuesday are off and the week continues with five successive evening shifts. Thus, there occur exactly 63 different schemata with three shift types and two days off rules.

Three shifts in a day (namely, day, evening, and night) and seven days of the week make a total of 21 time slots, starting from Monday day shift and ending with Sunday night shift. In the factory, day shift is between 07:00 and 15:00, evening shift is between 15:00 and 23:00, and night shift is between 23:00 and 07:00. Each employee is assigned to one of those shifts each week; additionally each employee has two off days during a week.

Taking individual employee preferences into account while modeling the problem was not appropriate, as it would make the already complex problem unsolvable. Hereby, the preferability of time zones has been determined by a survey conducted with the employees. We had classified the off days according to their desirability. We have identified five off day types: (i) weekend off, (ii) Friday-Saturday off, (iii) Sunday-weekday off, (iv) consecutive weekday off, and (v) separate weekday off. For determining the quality of a schema, we assigned numerical values to off day types and shift types. Based on the survey results obtained, enumerations for shift types are determined as one, two, and three for day, evening, and night shifts, respectively. Similarly, off day types, weekend off, Friday-Saturday off, Sunday-weekday off, consecutive weekday off, and separate weekday off, are enumerated from one to five, respectively (Table 1).

Each schema (out of 63 schemata) has a predetermined cost, obtained by the multiplication of its off day type enumeration and shift type enumeration. An illustrative cost calculation example for some of the schemata is given in Table 2. One can easily recognize that more preferable schemata have lower cost when the schema cost calculation is examined. So, the objective of the problem turns out to be minimizing the cost. As an example, “DDDDDXX” is the most preferred and lowest cost tour.

A small sample requirement input for four employees is illustrated in Table 3. Schema ID is schema identifier; a schema may be identified by a number between one and 63. FOSSP scheduling decides schema usage quantities by caring for the employee requirements in each time period. The requirements for Monday day shift and evening shift are zero and no employees are assigned to day shift on Monday. The requirement for Monday night shift is one and one employee will be assigned to night shift on Monday with schema ID 63. FOSSP output satisfies employee requirements by selecting the most suitable schema with the required usage quantity.

Since the requirements are the same for all weeks during the planning period (four weeks in our case), the same usage quantity of each schema must be used for each week. The sample output of FOSSP is given in Table 4; schema ID 1 is assigned to employee one and employee three in week one, two other employees in week two, and so on. Schema ID 2 is not assigned to anyone. Schema ID 25 is assigned to one employee and schema ID 63 is assigned to one employee in each week. The problem assigns the same schemas with same quantities to different employees for given number of weeks.

3.3. Fairness Oriented Shift Scheduling Problem Model

The scheduling problem we handled in this study was modeled as two consecutive problems in previous studies. Tour scheduling problem and employee assignment problem [20] are jointly sufficient to define this particular scheduling issue. Note that tour scheduling problem reduces to set covering problem [13] which is NP-Hard. Similarly employee assignment problem reduces to the generalized assignment problem [14] which is also shown to be NP-Hard. Since FOSSP corresponds to the combination of both problems, it is also NP-Hard. Solving the problem as two subproblems offers suboptimal solutions; however, whole parts of the issue are significant and we need to find a solution for an integrated single problem. FOSSP is the first sample that put those problems together and solves them as a unique problem in literature, to the best of our knowledge. In the following, we provide the necessary notation and then the mathematical formulation of FOSSP. is the number of times schema is used for each week , is the set of schemas (remember that a schema is a seven-lettered string denoting the shift types and off days; each schema is denoted by a number from 1 to 63), represents the time slots of week (there are totally 21 time slots in a week; each day contains three shifts (planning time slot), and seven days comprise 21 time slots similarly; each time slot is denoted by a number from 1 to 21), is the set of employees, is the set of weeks, is the cost of schema , is the requirement (number of required workers) at time slot , is the assignment variable and shows the assignments of each employee for each week and for each schema . is equal to one if an employee is assigned to schema in week , and it is equal to zero otherwise, indicates the time slot coverage of each schema. If schema comprises time slot then is equal to one and it is equal to zero otherwise. is the average cost value for all employees, calculated by total of schema assignment number and schema cost multiplication, divided by the number of employees, is the all weeks’ total cost value. This value is calculated separately for each employee. If employee e is assigned to schema s during week , variable is equal to one and schema cost is added to the total. The sum of all weeks’ schema costs is calculated and divided by total number of planning week number W. So average cost value is calculated for each employee, is the sum of squared distances of each employee individual total and the general mean total M. The sum of square deviations which measures the pairwise differences is one of the inequality indices widely applied in the literature [41, 42],

The objective is minimizing the squared distances of each employee so that maximum fairness is sought. Constraint (4) means that each employee is assigned to only one schema in each week. Constraint (5) ensures that the total number of employees assigned to schema s for each week is equal to (number of total employee assignments in each week and for each schema). Constraint (6) ensures that requirement in each time slot (i.e., the required number of employees) is satisfied.

Variables and s1 are used in constraints five to seven. demonstrates the following week and s1 corresponds to the schema assignment of the following week.

Additional constraints (equations (7)–(9)) may be explained as follows: Constraint five carries out the rule; if employee has night shift on Sunday, (s)he cannot be assigned to day shift on adjacent Monday. Time slot 21 corresponds to Sunday night shift and time slot 1 corresponds to Monday day shift (Table 3). This constraint prevents assigning any two employees to adjacent shifts for consecutive weeks and . Another legal regulation is that if an employee has weekend off, he/she cannot be off on Monday (the first day of the next week), implemented by constraint six. Time slot numbers from 16 to 21 embrace weekend period, while time slots 1 to 3 correspond to three shifts of Monday. Total assignment for those three days must be greater than or equal to one. Hence, if someone had weekend off, that person will work on Monday of the next week (), or in other words an employee cannot be off for three consecutive days. Constraint seven enforces the rule; an employee cannot work for more than six days consecutively. If q is equal to zero, it checks only the first week; if q is equal to one, it calculates the total for six days of first week starting from Tuesday and one day (Monday) from second week and so on.

The proposed model is implemented using GAMS software. Tests are done in GAMS for small dataset and the results are demonstrated in Section 6. However, for the large-scale real-world requirements, we have implemented heuristic based solution techniques and developed a novel hybrid technique described in detail in the next section.

4. Proposed Solution Methods

In this section, the solution methods are clarified. Initial individual generation process for FOSSP, hyperheuristics, simulated annealing, migrating birds optimization algorithms, and a novel hybrid algorithm, which is one of the most important contributions of this study, are explained, respectively.

4.1. Initial Individual Generation for FOSSP

Recall from the small example that the ultimate output of FOSSP is a matrix containing schema numbers assigned to employees for each week. Therefore, a solution (also called an individual) to a problem instance will refer to a feasible output in the remainder of the manuscript. Again, recall that, due to the nature of the problem, same set of schema numbers are used in each week with different permutations. A sample FOSSP individual is illustrated in Table 5 for ten employees and four weeks. Employee number one is assigned to schema number five in week one, employee number two is assigned to schema twenty in week one, and so on.

We want to remind that requirement list is updated periodically before preparing the schedules and the requirements are the same for all weeks in planning horizon. Initial individual creation progress of FOSSP is as follows: Schemas are assigned to employees for the first week satisfying the requirements in each time interval. The schedules of subsequent weeks (week two, week three, etc.) are constructed by shuffling assigned schema values in week one. Additional controls for meeting the requirements and controlling official rules are also taken into account.

4.2. Hyperheuristics

Hyperheuristics (HH) is a neighborhood search technique used for selecting, applying, and managing low-level heuristics and it is widely used in solving combinatorial optimization problems [43]. Pseudocode of the HH is presented in Algorithm 1. HH has two important functionalities, one of which is heuristic selection mechanism and the other is the move acceptance mechanism. Heuristic selection mechanism is responsible for selecting a low-level heuristic within the pool. Move acceptance mechanism decides whether to accept new solutions or not. In our implementation, simple random heuristic selection, random permutation heuristic selection, and adaptive searching heuristic selection strategies are used. Only Improvement and Monte Carlo acceptance strategies are exploited as acceptance strategies. Now let us explain the low-level heuristics applied for tackled problems, respectively.

4.2.1. Low-Level Heuristics for FOSSP

There are totally four low-level heuristics for FOSSP in this study. Each heuristic checks the additional constraints specified in the model.Heuristic 1 (H1): H1 selects a random schema among the ones that are already assigned to an employee. Another random schema is selected with tournament selection with size five. Five schemas are selected randomly among 63 schemas, and one of those five schemas is chosen as second schema. Tournament selection increases the possibility of choosing a lower cost schema.Heuristic 2 (H2): H2 randomly selects two employees for each week and swaps their schema assignment values.Heuristic 3 (H3): H3 selects two employees randomly for each week and inserts the schema value in subsequent location to the next place in prior employee location.Heuristic 4 (H4): H4 selects two employees randomly for each week and inverts schema assignment values between these employee locations.

4.2.2. Low-Level Heuristics for QAP

Four low-level heuristics are implemented on QAP. Those may be explained basically as follows:Swap: Swap heuristic simply selects two points in a QAP individual and relocates their places.Insert: Two random points are selected within an individual and the subsequent one is placed right after the first random point. All points between selected points move one step to the right.Inverse: Two random points are selected within an individual. All assignments between the selected points are reversed.Scramble: Two random points are selected on an individual. Assignments between the selected points are scrambled.

4.2.3. Heuristic Selection Strategies

Selecting the low-level heuristics requires a strategy. We applied three different heuristic selection strategies. These are simple random (SR), random permutation (RP), and adaptive searching (AS).(i)SR randomly selects one of the low-level heuristics and applies it only once.(ii)RP firstly constructs a permutation of low-level heuristics and applies each one once according to the permutation.(iii)AS is a smart selection mechanism that we designed in this study. Each low-level heuristic has an equal initial score () and those scores are updated during the run. If heuristic improves the solution, its score is increased as much as the change quantity (); if it worsens the solution, its score is decreased as much as . A successful heuristic’s score may not exceed predefined upper boundary (); analogously an abortive heuristic’s score may not be less than the predefined lower boundary (). The heuristic with greater score has more probability to be selected. It is applied once and the scores are updated according to its performance.

4.2.4. Acceptance Strategies

Once a low-level heuristic is selected and applied, the acceptance of new solution also requires a strategy. We applied two strategies; these are Only Improvement (OI) and Monte Carlo (MC).(i)OI acceptance strategy only accepts better solutions.(ii)MC acceptance strategy accepts better solutions certainly. Additionally, it accepts worse solutions with a small probability (Monte Carlo constant) in order not to get stuck at the local optima.

Initialization i = 0
Initial candidate solution
Final solution
sNew = ,
while (i < maxIterations) Select heuristic according to heuristic selection strategy
 sNew = applySelectedHeuristic
if (sNew is accepted according to move acceptance strategy)
   = Snew
end if
i++
end while
return
4.3. Simulated Annealing

Simulated annealing (SA) is a well-known local search algorithm proposed by Kirkpatrick et al. [44], inspired from the annealing process of metal work. A starting temperature is determined. The larger this value is, the more inferior solutions are encouraged. After a predetermined number of iterations, is set to . When is large, the temperature decrease ratio is large and the acceptance of inferior solutions become less likely at a greater rate. When temperature becomes less than a predefined value, SA stops (the stopping condition). The number of iterations at each temperature is limited by and greater values of correspond to slower cooling; that is, more neighbor solution trial is occurring when there is a greater likelihood of inferior exchanges being accepted. In our implementation, value changes and increases by an initially specified value. When a random neighbor is generated, it is compared with the previous solution. If it is better than the previous one, it is accepted. If it is worse than the previous one, it may still be accepted with a small probability. This probability is calculated based on the difference of old and new solution quality and the temperature. The pseudocode of SA is given in Algorithm 2.

Generate a random initial solution and indicate it as current solution, cs, initialize
temperature T
Best solution(bs) = cs
while termination condition is not satisfied
for R times
  Obtain a neighbor solution, ns of cs
  delta = cost of ns–cost of cs
  if delta < 0
   cs = ns
  else if random() < 
   cs = ns
  if cost of ns < cost of bs
   bs = ns
end for
  T = T/a
  R = R ∗ b
end while
4.4. Migrating Birds Optimization

Migrating birds optimization (MBO) is a neighborhood search technique proposed by Duman et al. [40], inspired from the V formation flight of the migrating birds. It has been recently proposed but successfully applied in various research areas such as task allocation problem [45], flow shop scheduling problem [4648], U-shaped assembly line balancing problems with workers assignment [49], and continuous functions [50].

The pseudocode of MBO is given in Algorithm 3. Similar to birds of a V shape migration, some initial solutions organize a V formation including one leading solution and some followers. In the flock of solutions, a limited number of neighboring solutions for each main solution are generated. The neighboring solutions of each initial solution are evaluated and if there are any improvements among them, that initial solution is replaced by the solution provided by the most improved neighbor. Then, each main solution is tried to be improved further by the help of its neighbors. This means that each solution will share some of its unused neighbors to the next (behind) main solution. Therefore, except the leading solution, the other main solutions of the flock have the chance to be improved by one of the neighbors of the main solution in front of them. The procedure is repeated a number of times. Then, the leading solution moves to the end of the flock and one of its followers becomes the new leader. The same procedure is done and repeated for the new flock. The algorithm continues until a number of iterations are reached. Finally, the best solution of the flock is introduced as the solution of the MBO algorithm.

Generate nob initial solutions randomly and place them on a hypothetical V formation arbitrarily
while termination condition is not satisfied
for nof times
  Try to improve leading solution by generating and evaluating non neighbors of it
  for each solution in the flock (except leader)
  Try to improve by evaluating (non-olf) neighbors of it and olf unused best neighbors from the solution in the front
  end for
end for
 Move the leader solution to the end and forward one of the solutions following it to the leader position
end while
4.5. A New Hybrid Algorithm: HHMBO

Now, we present a novel hybrid technique by integrating various hyperheuristic techniques with the migrating birds optimization algorithm. To the best of our knowledge, this work is the first attempt of hybridizing MBO with hyperheuristics.

MBO is a metaheuristic algorithm that explores new solutions by single step heuristics as illustrated in Figure 1. Neighbor generation technique is fixed and does not change throughout the execution of the algorithm. Therefore the performance of classical MBO is much dependent on the neighbor generation technique. However, giving chance more than one heuristic with different characteristics to discover search space may increase its exploration capability. Based on this idea, we integrated the recently presented MBO algorithm with the hyperheuristic principles. Instead of a single discovery method, we took the advantage of exploiting a set of low-level heuristics in order to construct the neighbor solutions in the population.

Neighborhood generation process of hyperheuristics embedded migrating bird optimization (HHMBO) is presented in Figure 2. The neighbor solution generation part of MBO is hybridized by HH characteristics, which is capable of managing heuristic pool. A set of heuristic selection strategies are handled for choosing the low-level heuristics. In our implementation, we have applied simple random, random permutation, and adaptive searching heuristic selection strategies. The new neighboring solution is accepted or rejected according to the current move acceptance specifications. We have implemented Only Improvement and Monte Carlo move acceptance strategies. HHMBO operates in different ways according to the adjusted heuristic selection strategy and the move acceptance strategy. As a result, the HHMBO types that emerged in the application can be listed as follows: simple random Only Improvement (SR_OI), simple random Monte Carlo (SR_MC), random permutation Only Improvement (RP_OI), random permutation Monte Carlo (RP_MC), adaptive searching Only Improvement (AS_OI), and adaptive searching Monte Carlo (AS_MC). HHMBO generates neighbor solutions by one of those hyperheuristic variations. The pseudocode of the algorithm is given in Algorithm 4.

Generate nob initial solutions randomly and place them V formation
Determine the heuristic selection strategy (Simple random, random permutation or adaptive searching)
Determine the move acceptance strategy (Only improvement or monte carlo)
while termination condition is not satisfied
for nof times
  Try to improve leading solution by generating and evaluating non neighbors of it applying selected low level heuristic
  for each solution in the flock (except leader)
   Try to improve by evaluating (non-olf) neighbors of it and olf unused best neighbors from the solution in the front
   Accept or reject the neighbor solution according to current move acceptance strategy.
  end for
end for
 Move the leader solution to the end and forward one of the solutions following it to the leader position
end while

HHMBO offers a collaboration of hyperheuristics and migrating birds optimization algorithm. HH provide an extensive exploration capability due to their ability to quickly adapt according to the problem instance at hand. MBO exploits the leader solution more detailed each time and the leader is updated in each generation. HHMBO takes the advantage of exploring the solution space by the exploration talent of HH in addition to the exploitation skills of MBO. The properties of the HHMBO which distinguish it from the other metaheuristic approaches are listed as follows:(i)A number of solutions running in parallel(ii)The benefit mechanism among the solutions(iii)Exploiting the leader solution more than the others in each generation(iv)Exploring the search space by multiple operators where the best strategy is determined by HH

5. Experimental Setup

In this section, we provide the details of computational experiment settings. Firstly the dataset used in experiments is described. Then the parameter settings of MBO, HH, SA, and HHMBO are explained. Lastly, the benchmark dataset is clarified.

GAMS is used to verify and test the mathematical model. All algorithm implementations are done using Java programming language on Eclipse IDE running on Intel i7-5500U CPU and 16 GB memory computer operated by Windows 10 operating system. Besides the basic constraints on the formulation presented, additional legal regulation constraints have also been applied while implementing each solution technique.

5.1. Data Preparation

We had a limited amount of real data provided by our collaborator company. However, we needed a great amount of experimental data to achieve a fair comparison among solution techniques we had implemented. Therefore, a simple application is prepared, which generates synthetic data, which have the general characteristics of the real data. Requirements are selected randomly among a certain range, where lower and upper boundaries are calculated based on employee number. A real input dataset for 200 employees and sample synthetic requirement data values are illustrated in Table 6. The employee numbers are shown in the top row and they vary from 30 to 500. This illustration comprises a sample requirement input for varied number of employees. First column of the table contains the time slot IDs; each one corresponds to a day and a shift type. The requirements in each time slot for a company with 200 (real), 30, 50, 100, 150, 200, and 500 employees are given in the subsequent columns.

5.2. Parameter Settings

MBO and SA perform a unique heuristic technique for improving solutions. Since we have four different heuristic techniques, we have conducted an experiment to understand which of the four operators in the system is compatible with which algorithm. In order to assess a fair comparison among all applied techniques, we set the stopping criterion of the algorithms based on the number of instances (noi) created while each algorithm is running. This experiment is done on each of the datasets, while the number of instances (noi) is set to 10,000 and each case is repeated 50 times. Heuristic operators are listed from the best performing one to the least performing one in Table 7. H1 through H4 correspond to heuristic one through heuristic four, respectively, which are explained in Section 4.2.1. Swap, Insert, Inverse, and Scramble are applied on QAP and explained in Section 4.2.2.

In order to get the best performance from the algorithms for FOSSP, we need to use their best performing values. These best performing values are discovered with fine-tuning experiments. The number of solutions that algorithm can generate while surfing in the solution space is limited to 50,000 for each algorithm. The experiments are repeated ten times and the results acquired from the average performances are represented in Tables 8 and 9. Best parameter values are emphasized in bold font.

5.3. Experimental Setup of Benchmark Data

Apart from the specific problem defined in this study, computational experiments are also conducted with QAP to measure the success of the HHMBO. Computational experiments presented have been done using QAPLIB benchmark dataset, where QAP instances are available together with their best known solutions [51]. Fine-tuning experiments are handled to find out the best performing values. The number of solutions that the algorithm can generate while navigating the solution space is limited to 50,000. The experiments were repeated ten times and the results from the average performances are shown in Table 10, with the best parameter values being in bold.

6. Results and Discussion

In this section, we present and analyze the results of computational experiments. GAMS results are presented firstly. Then, the results obtained by heuristic solution techniques on FOSSP are presented. Lastly, experimental outcomes on QAPLIB are presented.

6.1. GAMS Results

The GAMS utilizing CPLEX solver is used to verify and test the mathematical model of FOSSP. If the schedule is completely fair and all assignments are scrupulous for each employee, then fitness is equal to zero. The result gets away from zero, while the solution wanders away from fairness.

Solver tests are done for datasets with 10, 20, 30, and 60 employees and results are illustrated in Table 11 in terms of cost and execution time. FOSSP is capable of finding optimal value (zero) for employee numbers 10 to 30. FOSSP produces results closer to optimal for employee number 60. As the size of the problem gets larger, complexity increases. Obviously, execution time increases beyond linear behavior as the number of employees increases. Model attains border line of maximum iteration number in GAMS. Execution is terminated on maximum iteration number; hence, the execution time values are the total minutes required for maximum iteration in each case.

GAMS is capable of solving the model, but it is poor in terms of execution time, especially for large-scale problems. Therefore, we needed to implement and use heuristic based solution techniques for obtaining reasonable results within acceptable run time.

6.2. Results Obtained by Utilizing Synthetic FOSSP Dataset

In this subsection, results of heuristic based solution techniques on FOSSP are presented. If is the number of employees, we limited the run time with iterations in order to assess a fair comparison among the applied techniques. This corresponded to 0.9 for a problem of size 30 and to 34 for a problem of size 100 on the specified machine. Consequently, as the complexity of the problem increases, the effort to be spent on its resolution also increases.

Solution techniques are tested for numbers of employees of 30, 50, 100, 150, 200, and 500. We have generated 100 sample synthetic inputs for each case. Average numerical cost values gained from the ten runs are demonstrated in Table 12. For all numbers of employees, HHMBO variants discover the best results. For numbers of employees of 30 and 50, HHMBO SR_MC variant outperforms the others by at least 5% on average. When the number of employees increases to 100, 150, 200, and 500, HHMBO RP_OI variant outperforms the other techniques.

When the performances are analyzed in accordance with the increase of the number of employees, it is apparent that MBO and HHMBO variants retain their accomplishment as complexity rises. However, MBO is 66%, 90%, 30%, 9%, and 4% worse on average than the best performing HHMBO variant for numbers of employees of 30, 50, 100, 150, and 200, respectively. It is clear that both algorithms are successful in spite of increasing problem complexity. However, HHMBO variants obtain slightly better results than MBO in each condition.

The best performing HHMBO variant is 156%, 281%, 304%, 412%, and 443% better than SA for numbers of employees of 30, 50, 100, 150, and 200, respectively. As the complexity of the problem increases, the performance of SA decreases and the difference between the two algorithms increases exponentially. Best performing HHMBO variant is 51%, 77%, 15%, 60%, and 210% better than the best performing HH variant for numbers of employees of 30, 50, 100, 150, and 200, respectively. The performance of HH is admissible for numbers of employees of 30 to 150, whereas when the number of employees increases to 200, HH performs exponentially worse.

For the experiment in which the number of employees is 500, the total iteration number determined with corresponds to 250,000. That is a reasonably big number of chances to search through the solution space. For this challenging case, the best performing HHMBO variant (RP_OI) is 274% better than SA, 138% better than HH, and 16% better than MBO.

HHMBO (RP_OI) obtained significantly better results in complex FOSSP instances. RP_OI applies each of the four problem specific heuristics consecutively due to the permutation order. Each heuristic is applied to an equal number of instances. Each heuristic has a particular ability to discover search space. Accomplishment of HHMBO (RP_OI) exposes that when the algorithm is given a great search ability, using heuristics equal numbers of times helps us to find the best results. HHMBO is successful on catching values close to global optimum. HHMBO provides diversification along the search space by applying a variety of heuristics alternately; that is why it is promising for solving combinatorial optimization problems.

The standard deviation results gained by FOSSP experiments are presented in Table 13 to demonstrate the robustness of the algorithms. It is observed that HHMBO-RP_OI is more robust than its rivals. We can say that the HHMBO variants produce slightly better standard deviation results than their HH variants. This can be explained by the design of the algorithms as follows. The HHMBO variants wander within the solution space by exploiting some prioritized (leader) solutions more than HH do, which inherently makes them more robust.

The average results of each algorithm are illustrated in Figure 3 for each number of employees. When the number of employees is equal to 30, all algorithms produce close results to each other. As the number of employees increases, the distinction between the algorithms involved in the experiment becomes more prominent. HHMBO-RP_OI produced the best results for the most challenging experiment, when the number of employees is equal to 500. HHMBO versions figure out lower (better) results when they are compared with their HH versions.

We have also applied t-test to check if the differences are statistically significant. The best performing HHMBO-RP_OI and all other algorithms in the experiment are tested and the statistical results obtained by two-tailed t-test are given in Table 14. We observed that the value for pairwise t-tests among the best performing proposed variant HHMBO-RP_OI and the state-of-the-art algorithms is 0.004% on average. The results imply that HHMBO-RP_OI is indeed statistically different from other algorithms.

6.3. Results on Benchmark Problems in QAPLIB

After observing that HHMBO variants get very successful results for the FOSSP instances, we wanted to see their ability in converging optimal solutions on a widely used problem. We applied HHMBO on QAP, where MBO is firstly applied and tested. If is the size of a QAP instance, we limited the run time with iterations. This corresponded to 0.01 for a problem of size 12 and to 48 for a problem of size 100 on the specified machine.

We have utilized 41 QAPLIB instances with different densities. Density corresponds to the percentage of nonzero entries in the flow matrix. The instance names, densities, size of the instances, best known solutions (BKS), and the percentage deviations of heuristic results from BKS are given in Table 15. Problem instances are listed from the sparse one to the dense one. Only the minimum costs obtained in 10 runs are considered, since the aim is to check the ability of HHMBO in finding BKS.

The results indicate that AS_IO variant of HHMBO is accomplished on catching promising solutions. HHMBO (AS_OI) is up to 14.6% better than MBO on converging to the BKS. According to the average percentage deviation gained from 41 instances, HHMBO (AS_OI) converges 7.5% to BKS, while MBO is 8.2% close to it. HHMBO (AS_OI) performs 0.7% better than MBO on average. Best performing variant of this experiment is adaptive searching Only Improvement HHMBO. Adaptive searching strategy exploits low-level heuristics depending on their performances. This adaptive feature ensures choosing the most beneficial low-level heuristic for each specific case during the run. It has been observed from the experiments conducted on QAPLIB benchmark problems that HHMBO consistently allows finding better results, albeit slightly.

7. Conclusion

In this study, we introduced a novel hybrid computational intelligence algorithm to the literature and the mathematical model of a shift scheduling problem of a manufacturing company defined by including the fairness perspective, which is typically ignored especially in manufacturing industry. The novel algorithm is designed by embedding hyperheuristic (HH) improvements in the migrating bird optimization (MBO) algorithm, called HHMBO. In this way, the exploitation capability of MBO is improved and the solution space is explored in a more diversified manner.

The problem that we tackled is called fairness oriented shift scheduling problem (FOSSP). The model of FOSSP is firstly verified with a solver, where the solver is capable of catching global optima with large execution time even for small instances. Therefore, exploitation of heuristic based techniques was an apparent need. In line with this need, we applied HHMBO together with simulated annealing (SA), hyperheuristics (HH), and classical migrating bird optimization (MBO). We have conducted computational experiments in order to assess the performance of the algorithms on synthetic data. Results show the superiority of HHMBO-RP_OI and it is observed that it outperforms its rivals by 40% on average for FOSSP. Besides, it is seen that HHMBO-RP_OI definitely offers better solutions in large problem instances, which is a desired property in practice and gap in the literature. We believe that this good performance is due to integrating the exploitation capability of HH with MBO’s exploration capability.

To justify the superiority of HHMBO over the other algorithms, we used QAP instances from the QAPLIB. This experiment was significant to understand whether the achievement of the algorithm is specific to the particular problem. We conducted computational experiments on 41 QAPLIB instances with assorted densities. According to the results of this experiment, AS_OI variant of the new hybrid algorithm could achieve up to 14.6% better results than MBO.

There are several interesting directions for future research. The approach may be applied on different types of optimization problems to highlight its wide applicability and generality. An example may be the test suites given in [52]. Furthermore, a comparative study may be conducted on swarm based hybrid algorithms. A multiobjective variation of HHMBO may be developed and may be applied on a set of multiobjective problems. Another research direction is to help solve employee transportation issues while constructing weekly schedules.

Data Availability

The data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

This work was supported by the Marmara University Scientific Research Committee under the Project ID FEN-C-DRP-131217-0671.