Next Article in Journal
Integral Models Based on Volterra Equations with Prehistory and Their Applications in Energy
Previous Article in Journal
Three-Dimensional Numerical Study of the Effect of Protective Barrier on the Dispersion of the Contaminant in a Building
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Optimization Method to Address Psychosocial Risks through Adaptation of the Multidimensional Knapsack Problem

by
Marta Lilia Eraña-Díaz
1,
Marco Antonio Cruz-Chávez
1,*,
Fredy Juárez-Pérez
2,
Juana Enriquez-Urbano
1,
Rafael Rivera-López
3 and
Mario Acosta-Flores
1
1
Research Center in Engineering and Applied Sciences, Autonomous University of Morelos State (UAEM), Morelos, Cuernavaca 62209, Mexico
2
México National Technological/Alamo Temapache Technological Institute, Veracruz 92730, Mexico
3
Computation and Systems Department, National Technological Institute of Mexico/Veracruz Technological Institute, Veracruz 91860, Mexico
*
Author to whom correspondence should be addressed.
Mathematics 2021, 9(10), 1126; https://doi.org/10.3390/math9101126
Submission received: 7 April 2021 / Revised: 1 May 2021 / Accepted: 12 May 2021 / Published: 16 May 2021
(This article belongs to the Section Computational and Applied Mathematics)

Abstract

:
This paper presents a methodological scheme to obtain the maximum benefit in occupational health by attending to psychosocial risk factors in a company. This scheme is based on selecting an optimal subset of psychosocial risk factors, considering the departments’ budget in a company as problem constraints. This methodology can be summarized in three steps: First, psychosocial risk factors in the company are identified and weighted, applying several instruments recommended by business regulations. Next, a mathematical model is built using the identified psychosocial risk factors information and the company budget for risk factors attention. This model represents the psychosocial risk optimization problem as a Multidimensional Knapsack Problem (MKP). Finally, since Multidimensional Knapsack Problem is NP-hard, one simulated annealing algorithm is applied to find a near-optimal subset of factors maximizing the psychosocial risk care level. This subset is according to the budgets assigned for each of the company’s departments. The proposed methodology is detailed using a case of study, and thirty instances of the Multidimensional Knapsack Problem are tested, and the results are interpreted under psychosocial risk problems to evaluate the simulated annealing algorithm’s performance (efficiency and efficacy) in solving these optimization problems. This evaluation shows that the proposed methodology can be used for the attention of psychosocial risk factors in real companies’ cases.

1. Introduction

In any company, adequate attention to psychosocial risk (PSR) factors and the generation of efficient institutional policies regulating interpersonal relationships allow anticipating risks associated with a low productivity level. Looking to the future, algorithmic management, rapid changes in the structure of work and the workforce [1,2] pose an unknown situation, which possibly increased the risks of work stress. Problems such as high staff turnover, difficulties in communications, poor leadership, psycho-logical stressors, coping mechanisms, family work relationship, among other factors, constitute a barrier to the progress and evolution of organizations [3,4]. The benefits of attending to these psychosocial aspects include boosting productivity, wellbeing of their employees, moving towards a highly competitive company and improving market positioning [5,6].
In addition, in Industry 4.0, current digital tools (a new generation of sensors) and recent developments in information technologies (Big Data, Machine Learning, Artificial Intelligence, Internet-of-Things) play an essential role in the development of more competitive and globalizing companies. Furthermore, these new developments impact the workforce by obtaining advantages to improve worker motivation, implementing policies for organizational and human aspects and promoting health in the workplace [7,8,9].
A large number of quality publications in the existing literature promote workers’ health. For example, the international ISO-45003 standard proposes implementing “good practices” to avoid PSRs and having a healthy work environment [10,11]. Likewise, the European Union Information Agency for Occupational Safety and Health (EU-OSHA) and the Spain National Institute for Safety and Health at Work (INSST) promoting the improvement of occupational safety and health conditions to decrease occupational hazards, work accidents, and occupational diseases [12].
Furthermore, Cox et al. [13] identify ten potentially dangerous work psychosocial characteristics, classifying them according to their relationship with the work context. In Kompier and Levi [14], the checklists of the European Foundation for the Improvement of Living and Working Conditions (Eurofound) are discussed. In [15], the Guide to the Actions of the Labor and Social Security Inspectorate on Psychosocial Risks points out the advantage of quickly, validly, and reliably information collecting using questionnaires complying with established requirements such as reliability and validity. In Sebastián et al. [16], several treatment recommendations and ergonomic and psychosocial evaluations are given.
The attention of occupational PSR factors has led to the developing and compliance of regulations that consider that an unfavorable work environment can cause physical and mental illnesses [10]. These regulations aim to improve work environments so that workers’ activities develop favorably.
Concerning the instruments identifying PSR factors, in Spain, both the Psychosocial Evaluation Procedure called Psychosocial Factors (FPSICO, for its acronym in Spanish) of the National Institute of Occupational Safety and Health (INSHT, for its acronym in Spanish) and the Copenhagen Psychosocial Questionnaire (CoPsoQ) of the Union Institute of Labor, Environment, and Health (ISTAS) contain questionnaires for diverse types of companies [17,18]. Furthermore, the European Working Conditions Surveys (EWCS) [19] develop instruments to identify the employment situation, such as the Labor Day planning and duration, the work organization, training and learning, and physical and psychosocial risk factors. On the other hand, the Official Mexican Standard NOM-035 [10] establishes the elements to identify, analyze and prevent PSR factors, and to promote a favorable organizational environment in the workplace.
In particular, in Leka et al. [20], the policy context for managing work-related PSRs in the European Union (EU) is discussed. They highlight the importance of properly managing these risks, with the financial benefits for workers’ insurance premium payments. In Sureda [21], PSR factors in one public hospital are evaluated with the FPSICO procedure, composed of 75 ten-level Likert items and seven factors: mental workload, temporal autonomy, job content, supervision-participation, role definition, worker’s interest, and personal relationships.
In light of these works, it can be seen that PSR assessment is becoming increasingly important for research on occupational safety and health. However, in [22], it is pointed out that even though several sources guide the identification of PSRs, the probability and statistical evaluation of PSRs remain poorly studied. For example, in [23], a significant correlation between work resources and work-related stress symptoms is shown.
As in other disciplines of knowledge, several propositions incorporate computational tools and artificial intelligence techniques to improve risk attention and occupational health. In Khakzad [24], a heuristic is applied for using imprecise probabilities in a Bayesian network for system safety assessment under uncertainty. In Han et al. [25], the Random Forest classification heuristic is implemented to select the optimal feature set work-related stress measured by physiological signals of electrocardiograms (ECG) and respiration (RSP). The detection of work stress was carried out with the support of a wearable device, concluding that excessive stress decreases work efficiency and leads to negative emotions and various diseases.
In one particular case, job rotation is a successful strategy used in manufacturing systems. Job rotation helps prevent musculoskeletal disorders, eliminates boredom, and increases job satisfaction and morale, providing benefits to both workers and the company. Asensio-Cuesta et al. [26] developed a genetic algorithm for this problem, and Song et al. [27] implemented a heuristic using factors related to workload ergonomic evaluation data generated in the workplace. On the other hand, Yan et al. [28] developed data processing algorithms with real-time warning indicators for evaluating and signaling risk positions through a smartphone.
Concerning optimization processes, the Multi-dimensional Knapsack Problem (MKP) has been adapted to diverse problems requiring the selection of elements with capacity restrictions in containers. MKP has been applied to solve various practical problems in the industry, such as resource allocation, transportation [29], and production planning [30,31]. In [32], a survey of the multiple applications of 0–1 MKP is presented, emphasizing that the most popular approaches are based on metaheuristics, highlighting population-based strategies such as Genetic Algorithm (GA), Particle Swarm Optimization (PSO), and Ant Colony Optimization (ACO). Most of these procedures are evaluated using various benchmarks to demonstrate their effectiveness. Furthermore, Drake et al. [33] propose a hyper-heuristic to select the arguments of crossover operators to solve a group of instances obtained from three well-known benchmark libraries (OR-Lib, SAC-94, and that presented by Glover and Kochenberger). In [34], an approach was proposed in which a greedy algorithm is first used to reduce the search space, and then a linear programming algorithm is used to obtain the optimal values of some instances of the OR-Lib. In Dzalbs et al. [35], a variant for population selection in a GA using several instances of two benchmark libraries (OR-Lib and Glover and Kochenberg) is presented. Finally, in [36,37], both ACO and PSO are used to solve several SAC-94 instances, achieving the optimal value in all of them.
From the existing occupational risk attention literature, and to the best of our knowledge: (1) There is no evidence that some methodology uses an optimization technique generating a subset of risk factors to be included in a plan for PSR factors’ attention. (2) There are no proposals considering a budget assigned to each area or department of the company for making decisions about the prioritization of occupational risk care.
This article proposes a new methodology to find the combination of PSR factors that maximizes the company’s attention level, considering the company’s budgets for each of its departments. The risk factors are first identified using the questionnaires recommended by the applicable regulations. Then, the problem of optimizing PSR is modeled as a Multiple Knapsack Problem (MKP). Finally, an optimal solution for this problem is found using an adaptation of the simulated annealing (SA) algorithm.

2. Materials and Methods

This section describes the materials and methods used to carry out the mapping scheme to build an MKP from a PSR optimization problem, and the adaptation of the SA algorithm to find a solution.

2.1. Materials and Background

2.1.1. Psychosocial Risk Factors

According to the 1984 Joint International Labour Office (ILO)/World Health Organization (WHO) Committee on Occupational Health, the PSR are “the interactions between and among work environment, job content, organizational conditions, and workers’ capacities, needs, culture, personal extra-job considerations that may, through perceptions and experience, influence health, work performance, and job satisfaction” [38]. 2014/2015 European Healthy Work Campaign asserts that “psychosocial factors are linked not only to health outcomes but also to performance-related outcomes such as absenteeism, workability and especially job satisfaction” [39]. For the determination of PSR factors, multiple models and variables have been proposed, and a classification of them is needed. The related literature shows the dimensions coinciding in most of the models [4]:
  • Psychosocial stressors: These imply stressful worker demands such as the workload, autonomy offered by the position, support, or harassment from the boss.
  • Coping strategies: These are related to the internal processes of the individual, such as their perception and the way they react to events, among others.
  • Family work relationships: These are the extra-work aspects that affect the work environment. This relationship is a dimension little considered in the workplace.
In particular, the most common PSR factors are workload, dealing with other people, lack of resources (equipment or materials to carry out the work), lack of support (implying the perception of insufficient support, cooperation, and recognition), poor working conditions (excessive noise and heat), and other work aspects that are annoying for the staff.
Among the benefits of addressing these PSR factors are preventing and promoting a safe work environment. Additionally, more direct benefits are obtained, such as:
  • Improve the ability to respond to regulatory compliance issues.
  • Avoid incidents and thus reduce costs to companies.
  • Reduce downtime and downtime costs.
  • Reduce the cost of insurance premiums.
  • Reduce absences and employee turnover rates.
  • Recognition for having achieved an international goal (which in turn can influence clients who are concerned about their social responsibilities).
The effects of poor PSR management translate into high rates of temporary work disability for accidents and insurance policy claims. Therefore, the attention given to PSRs does not differ from the generic risk management process in any company. Both the International Standard ISO-45003 and the Mexican NOM-035 contemplate the following steps: identification of risk, evaluation of its impact/effect on the organization, determination of the best actions to follow, and finally, their application to generate maximum benefit in the organizational environment. Additionally, several countries’ regulations require the introduction of procedures promoting improvements in the safety and health of workers at their workplace. In the European Union, the European Framework Directive 89/391/EEC establishes a legal framework indicating the need for a continuous risk assessment and its reduction. This implies a continuous improvement process that must be repeated within a period established in the organizational context [20,40,41].

2.1.2. Multidimensional Knapsack Problem

MKP is a 0–1 combinatorial optimization problem that has been extensively studied [42,43]. MKP is classified as an NP-hard problem [44]. The MKP is represented by the optimization model depicted in Equations (1) to (3) [44]. In Martello and Toth’s books [45,46], there is an extensive explanation of the properties and algorithms for MKP resolution and its variants.
m a x   f = m a x j = 1 n p j x j
Subject to
j = 1 n a i j x J ˙ c i   i = 1 ,   ,   m
x j     { 0 , 1 }   j = 1 ,   ,   n
MKP is described as a set of n elements with gain pj > 0, j = {1, …, n}, and m resources (backpacks) with capacities ci > 0 i = {1, …, m}. Each j-th element consumes an amount aij > 0 of each i-th resource. Equation (1) represents the objective function, that is, to choose a subset from the n elements maximizing the total gain value. This selection must not exceed the maximum capacity of each backpack m, expressed in the set of constraints in inequalities (2). Finally, Equation (3) indicates that x variables take only binary values, i.e., xj = 1, if the j-th element is selected, and xj = 0 otherwise. An MKP graphical representation is shown in Figure 1, where there are n boxes with a profit pj represented by a specific color in Figure 1a. Each j-th box contains different shapes with a weight aij, shown in Figure 1b. When selecting the j-th box, each shape is stored in the backpack corresponding to it. Each backpack has a specific maximum weight capacity, which cannot be exceeded.

2.1.3. The Simulated Annealing Algorithm

Simulated Annealing (SA) is a local search algorithm. It is named simulated annealing by analogy to the physical process of annealing solids, where a solid crystalline structure is first heated and then slowly cooled until it reaches a stable state (a state of minimum energy) that is free from defects of crystallization. The SA algorithm is inspired by this thermodynamic behavior, which is compared to the search for an optimum value for discrete optimization problems [47,48,49]. Due to its simple implementation, convergence properties, and local optimal escape ability, SA has become a popular heuristic for solving complex problems in recent decades. Since many engineering, planning, and manufacturing problems can be modeled as minimizing or maximizing a cost function [50], they can be solved using SA-based approaches.
When an optimization problem is solved, in each SA iteration, the objective function improvement is valued by comparing two solutions, the current one and one randomly selected from its neighborhood. The best solutions are always accepted, while only a fraction of “not good” solutions are accepted to escape from one local optimum and continuing the search for better solutions. The probability of accepting “not good” solutions (i.e., moving to solutions that generate a worse value in the objective function) depends on the acceptance criterion of SA based on the Boltzmann distribution. By gradually decreasing the temperature to zero, the worst movements will be accepted less frequently, and the distribution of the solution associated with the inhomogeneous Markov chain modeling the algorithm behavior converges to a distribution, in which the probability is concentrated in a more significant part in the set of optimal solutions. It is necessary to specify the set of algorithm parameters [51,52,53] presented in Table 1.

2.2. Propoused Methodology

Figure 2 shows the methodological stages for optimizing the attention of PSR factors. These stages are described in the following paragraphs:
  • Identify each j-th PSR factor vj and its level of required attention pj, by applying NOM035, ISTAS-CoPsoQ, or F-Psico-based questionnaire [10,16] or using any instrument for PSR prevention of company workers, and qualify them according to the scales integrated into the instrument.
  • Construct the cost matrices of the areas or departments that address the PSR factors (a minimum of four is suggested: training, communication, industrial safety with non-conformity mechanisms, and human resources with social support actions). Assign the maximum budget for each department.
  • Map the PSR optimization problem as an MKP using the previously obtained data.
  • Tune and apply the SA algorithm to solve the PSR factors optimization problem.
  • Generate reports to comply with regulations and provide the maximum benefit to the company’s labor wellbeing.
The first four stages are detailed in the next sub-sections. Stage five of this methodology is developed in the next section.

2.2.1. Identification of PSR Factors and Generation of Cost Matrices

Reference guide number III, included in the Mexican NOM-035 standard, identifies 25 dimensions, ten domains, and five categories of psychosocial risks in the workplace [10]. Additionally, NOM-035 contains instructions to determine the risk level. For this investigation, a study case in a company is shown in Figure 3, named CASE-1. This figure shows that the highest of the five risk levels occurs in work time management. Table 2 describes the four company departments addressing these risk factors and the actions that would be feasible to apply by each one of them.
The company’s departments must apply budget resources, either monetary or not, to obtaining a budget consumption matrix. For CASE-1, the matrix has five rows and four columns, as shown in Table 3. This matrix contains the monetary costs incurred to attend to each of the company’s risk aspects. The company’s departments must also indicate the maximum budget that will be applied to address these risks. By maximizing attention to the psychosocial risk-weighted elements subject to departments’ budget, decision makers are provided with essential information for organizational wellbeing.

2.2.2. Mapping the PSR Optimization Problem as an MKP

The variables used to build the PSR optimization model are obtained from the first two stages of the proposed methodology. Each vj, j = {1, …, n}, represents a PSR factor identified through the questionnaire applied and evaluated following the selected instrument. Each PSR factor has a value pj, indicating the attention level required to provide the organization’s benefits. The aij cost of attending the j-th PSR factor for the i-th department is defined in the consumption matrix. Finally, ci, i = {1, …, m} represents the budget limit of each i-th department. According to the optimization model presented in (1) to (3), one backpack represents one company’s department. Constraints defined by inequalities (2) indicate that the departments cannot spend more than their budget limits. The objective function (1) is related to maximize the level of attention pj given with the subset of selected PSR represented by the binary variable xj, following the constraints defined by Equation (3).
Figure 4 shows the adaptation of the PSR optimization problem as an MKP. Each box represents a PSR using one color, indicating its risk level (see Figure 3). The attention of each PSR generates a cost according to the department where it is applied.
Inside each box, the shapes represent the departments where the risk will be addressed (4 different shapes, one for each department), consuming part of their budget. The selection of the boxes should generate a maximum benefit of attending to the risks, considering that the sum of the costs of the selected risks should not exceed the budget limit of each department.
By using the costs associated with each department, risk levels, and the budget limit assigned to each department in the Case-1 problem, the problem solution is to attend two risks (“Work time management” and “Job Content”) in all departments, with a level of attention of 1179 (total profit of v2 and v3). The budget limits are $580, $360, $500, and $380 for the Training, Communication, Industrial Safety, and Human Resources departments. It is interesting to note that if the Training department’s budget is reduced to $560, the solution would be to attend to the risk factor “Work time management” only. This change implies reducing the budget use from 96.7% to 53.6%, from 42.4% to 17.6%, from 53.8% to 21.5%, and from 69.7% to 33.0%, in Training, Communication, Industrial Safety, and Human resources departments, respectively.

2.2.3. The SA Algorithm Structure

The SA-based algorithm used for this work is described in the following paragraphs. First, one candidate solution w is defined by the set of selected PSR factors, and the associated costs in each department, as follows:
w = {Profit, (x1, …, xn), (b, …, bm)}
where Profit is the total profit of attending the selected PSRs. xj ∈ {0,1}, for j = {1, …, n}, indicates if a PSR factor is attended or not, and bi, i = {1, …, m}, is the budget consumed by each department attending the selected PSRs.
The cost function f(w) is the total profit of the set of selected PSR factors. The current solution’s neighborhood Ω is defined as the set of feasible solutions generated by including or eliminating a selected risk element.
The initial solution, w0, is generated as follows: first, a sequence of n zeros is created. Next, using a random number r ∈ [1, n], the zero value in the r-th position is replaced by a value 1. This replacing process is iteratively applied until the budget limit of any department is exceeded. The resulting binary sequence is used as the initial solution to the SA algorithm.
For constructing a neighboring solution (Figure 5), a neighborhood function η(w) to swap and shift values on the current solution is defined. Figure 5a shows the swap process, consisting of the generation of two random numbers to obtain a new sequence. Figure 5b shows the shifting process consisting of generating a random number indicating from which element the shifting is performed. A normal random variable with mean 0.5 is used to decide whether swap or shift is applied: if it is greater than 0.5, the swap process is chosen; otherwise, a shift is performed.
The SA algorithm adaptation used in this work is shown in Algorithm 1. First, the fSD, Vm, and T0 parameter values are defined (line 1). fSD is a multiple of the standard deviation computed using a set of solutions randomly generated [51]. Vm is a factor to determine the Markov chain size. T0 is the SA initial temperature. T0 is set using the fSD value. Next, the initial solution w0 is created (line 2). Then, in line 3, both current solution w and the optimal solution wopt are set using w0. Additionally, current temperature T is set with T0 and the size of the Markov chain M is computed as follows:
M = Vm × (n × m)
where n is the number of PSR factors, and m the company’s number of departments. After that, the M value is used to determine the number of iterations of the SA searching procedure. In this procedure, named the Metropolis cycle, new solutions are created and accepted using the Boltzmann criterion (lines 6–20). The current temperature is reduced at the end of each step of the SA external cycle (lines 4–22) using the α coefficient. At the end of the external cycle, the SA algorithm returns its current solution as the best problem solution.
The accepting criterion of new solutions in the Metropolis cycle is as follows: First, a new solution is created (line 7) using the swap and shift operations previously described. Next, the difference Δ between new and current solutions’ fitness values is computed (line 8). Then, if Δ is greater than 0, the new solution is selected as the current one (line 10). In the other case, if Δ is not greater than 0, the not improved solution can be selected as the current solution using the Boltzmann criterion (lines 12–15).
Algorithm 1. Simulated annealing.
1 Introduce fSD and Vm; Assign T0 = fSD
2 Calculate a feasible initial solution w0
3 Assign w = w0; wopt = w0, T = T0; M = Vm * (n × m)
4 repeat
5   Initialize counter m = 0
6   for m = 0 to M do
7       Generate new solution w’ = Ω(w)
8       Calculate Δ = f(w’) − f(w)
9       if Δ > 0 then
10        w = w’
11      else
12        Generate random ρ(0,1)
13        if ρ ≤ eΔ/T then
14          w = w’
15        end if
16      end else
17      if wopt < w then
18        wopt = w
19      end if
20  end for
21  T = α × T
22 until Tβ × T0
Regarding parameter tuning, a sensitivity analysis was performed as follows: for the α parameter, it started from 0.95 to 0.99, where the best was determined to be 0.98. For the β parameter, between 0.01 to 0.001, it was set as 0.001. Two scenarios were tested for the initial SA parameters (T0 and Vm). Table 4 shows the parameter values for these scenarios. The first, called SA-high, T0 = SD and Vm was set between 3 and n, and the second one, named SA-fast, used 0.5 for both parameters. In this way, the solutions generated for all instances are contrasted. A procedure was developed to compute the standard deviation of one hundred random solutions, where the value is recorded in a flat file that is read as input data for the SA algorithm.

3. Results

In the next paragraphs, the results of the experimental study are detailed. We analyze two test scenarios: first, the results of the HP1 MKP benchmark problem, and then thirty MKP benchmarking instances. This study is carried out on a computer DESKTOP-AQV7GQH, Intel Core i5-8250U CPU, 1.80 GHz, 8.00 GB RAM produced by DELL Technologies, Austin, Texas, USA, using a Windows 10 operating system with a Microsoft Visual C ++ 2012.

3.1. Test Scenario for the HP1 MKP Benchmark Problem

According to the MKP model mapped for the PSR optimization problem presented in Section 3, vector p contains the attention levels required by PSR factors, vector x is a binary sequence, where value zero indicates that the PSR is not included, and value one indicates that it is selected. The budget consumption matrix A contains the amounts to attend to each j-th PSR factor of each i-th department, and vector c has the department’s maximum budgets. The HP1 instance of the SAC-94 benchmark [54,55] is applied, containing 28 PSR factors with four departments to attend them subject to ceiling budgets. The PSR factors are described in Table 5. A total of 25 PSR factors are used, in accordance with the NOM-035 norm, plus three additional factors from the organizational environment.
In Table 6, the values of the risk level for each PSR factor are shown in the third row. Each department’s budget limits are shown in the second column of the table, and the first column shows the department names. The budget consumption matrix for each department of the company is shown in the center of Table 6. The amounts corresponding to the V1 factor are presented in column 4 (40, 16, 38, 38), while those for factor V2 are presented in in column 5 (91, 92, 39, 52), and so on.
Three solutions to this problem obtained using the SA algorithm are shown in Table 7. Figure 6 shows the percentages of solutions obtained in 30 independent runs. In Table 7, it can be seen that the Human Resources department applies the total of the assigned budget.
The optimal solution is shown in the last row of Table 7, as follows:
w = {3418, (1, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1), (216, 199, 201, 180)}
In this solution, the attention levels giving the maximum profit of 3418 units selects the following PSR factors: dangerous and unsafe conditions (V1), poor and unsanitary conditions (V2), quantitative loads (V4), accelerated work rates (V5), high responsibility work (V8), lack of control and autonomy over the work (V10), limited or no possibility of development (V11), insufficient participation in management (V12), influence of work outside the workplace (V15), poor clarity of functions (V17), workplace violence (V21), little or no recognition and compensation (V23), limited sense of belonging (V24), job instability (V25), job satisfaction (V26), motivation (V27), and attitude (V28). As shown in Table 6, the departments’ budget expenditure is as follows: Training $216, Communication $199, Industrial Safety $201, and Human Resources $180.
As shown in Figure 6, the optimal solution reported for this instance in the existing literature was obtained in 66.6% of the 30 runs executed to the SA algorithm. This proposal dramatically simplifies the preparation of the PSR factors attention plan in a company. When the optimization model is solved, the subset of PSR factors to be addressed is obtained, with a near-optimal benefit level. These factors were adjusted to the budgets of all the departments that correspond to each one. The departments should only generate a budget consumption matrix for each risk factor that they are involved in addressing.
The advantage of using a heuristic such as the SA algorithm to solve the PSR optimization problem is that a set of near-optimal solutions is obtained. Each one is adjusted to the budgets assigned for all departments. These results give the company the possibility of choosing the plan that best suits its needs. In the three solutions shown in Table 7, the solution with 3405 of profit consumes 99% of the budgets of departments 1 and 3, and 98% of that of department 2. This percentage is higher than the optimal solution (3418), but with a budget use of 98% for departments 1 and 2 and 97% for department 3. This fact could be a reasonable justification for the decision maker better implementing the solution with the profit of 3405, indicating a different selection of risk factors only from the following PSR factors: contradictory or inconsistent uploads (V9), insufficient participation in management (V12), poor clarity of functions (V17), and poor relationship with collaborators (V20).

3.1.1. Test Scenario for Thirty MKP Benchmark Problems

Thirty benchmark problems described in Drake et al. [33] and Chu [56] are used to verify the SA algorithm’s performance and compare its two sets of parameter values: SA-high, SA-fast. The SAC-94 library of MKP instances, taken from various articles in the existing literature, represents data from different real-life problems. Most of these instances are small, and their optimal value is known. On the other hand, the GK benchmark [57] presents instances with up to 2500 elements and 100 backpacks. Furthermore, ORLib is a set of 270 instances grouped by the number of elements {100, 250, 500}, number of backpacks {5, 10, 30} and tightness ratio {0.25, 0.50, 0.75}. Most of these studies report only the upper bound obtained. However, in [34,35], global optima were obtained for several OR-Lib instances. These values were obtained using the MIP CPLEX library, but consumed significant amounts of processing time to solve large problem instances. In [34], using a greedy search heuristic considerably reduced the processing time required to find values close to the global optimum, reaching an RE of 0.04%. This heuristic made it possible to discard non-promising search-space areas, using the profit and weights of the MKP elements. The combined use of the greedy approach and Linear Programming (LP) reduced the processing time from 5 h to less than 10 min. The use of metaheuristics for this research makes it possible to solve the problem quickly and easily, with an acceptable RE, allowing its use in real-time decision-making systems in a company. It is also important to clarify that metaheuristics are needed to treat large instances where the processing time grows exponentially, since MKP is classified as an NP-Complete problem [44].
Table 8 shows the characteristics of the 30 benchmarks used in this test scenario. The selected problem size in this work ranges from 28 elements with 4 backpacks up to 250 elements with 30 backpacks. The SA is run 100 times for each of these benchmark instances.
Table 9 shows the main results for both SA-high and SA-fast versions. The first column in this table shows the benchmark instance with the type of PSR optimization problem, where the elements and departments are detailed in Table 8. The second column shows the optimal value for the benchmark instance or the Upper Bound UB* (highlighted using an asterisk) reported in the existing literature. For example, the hp1 instance contains 28 PSR factors attended by four company departments. This table shows the maximum and minimum values reached and the average and mode of the results obtained by running the algorithm 100 times for each instance. According to this table, the mode value is equal to the optimal value in most instances with smaller sizes. It can also be observed that the SA-high version obtained the best results. Alternatively, the SA-fast version equaled the SA-high version results only in the smaller instances and in the OR30X100_0.5_1 instance. Regarding the worst value found (the minimum) by both versions, the SA-fast version found the worst values, except for the following large instances: OR5X250_0.75_4, OR10X250_0.75_4, OR30X250_0.25_3, OR30X250_0.5_3, and OR30X250_0.75_3. With respect to the average values (Avg), the SA-fast version found the worst values for all instances. According to the results shown in Table 9, the SA-high version performance was better than the SA-fast version when maximizing the objective function of the MKP.
The SA runtime was compared with those obtained in five algorithms used to solve the instances shown in Table 10. The compared were as follows:
  • CF-LAS (Choice Function-Late acceptance strategy) [33] is a hyper-heuristic with crossover operator performed on an Intel Core 2 Duo 3GHz CPU machine with 2 GB RAM.
  • RSH (Reduce and Solve Heuristic) [34] coded in C ++ and tested on a PC Intel i5 2.6 GHz CPU, 6 GB RAM.
  • ICA (Imperialist Competitive Algorithm) [35] also coded in C ++ and run on an AMD Threadripper 2990WX, 3.0 GHz CPU, 64 GB RAM, Windows 10 Pro.
  • ACO DI (Ant colony optimization with Dynamic Impact) [36] coded in C ++.
  • 3R-SACRO-PSO (Three-ratio Self-Adaptive Check and Repair Operator-inspired Particle Swarm Optimization) [37] implemented in C and tested using an Intel Core i7 3.4 GHz CPU, 16 GB RAM.
The SA-high and SA-fast versions were implemented in C++, and they were tested on an Intel Core i5 CPU, 8 GB RAM.
The relative error, RE, was evaluated for each instance using Equation (7), where Vop is the optimal global value (the optimum). If this value is unknown, the upper bound reported in the existing literature was used as the reference value. Finally, VSA is the value computed using the proposed SA-based algorithm.
RE = abs ((VopVSA)/Vop) * 100
Table 10 shows the relative error (RE) obtained by solving 30 MKP instances. The main comparison was performed using the RE, since some of the compared methods do not report their running times. This table shows that the metaheuristics proposed in this work reach competitive results concerning the compared algorithms, highlight the SA-high version since it obtains the optimal value for the first ten instances. In terms of running times, the SA-fast version was faster than the SA-high version in all instances. Alternatively, comparing the REs between algorithms, the following facts are shown: both SA versions were better than the CF-LAS method when solving the instance number 10. Furthermore, in 18 large instances (instances 13–30), the SA-high version was better than the CF-LAS method. In particular, the SA-high performance was better than RSH in one instance and obtained the same values in two instances. In the rest of the cases, both SA versions were competitive with all metaheuristics. The highest RE obtained for the SA-high version was less than 1, and for the SA-fast version, this was at least 1.12. These results indicate that the SA versions proposed in this work have outstanding efficiency, and they compete with the metaheuristics found in the literature for the MKP problem. In Table 10, column 2, the optimum is the global optimum in most cases, and in very few cases, the optimum is an upper bound (marked with *), because the global optimum of the MKP is not yet known.
Figure 7 shows the relative error of the thirty benchmark instances. The highest value for the SA-high scheme is 0.93 and that for the SA-fast scheme is 1.12. For benchmark instance number 10, the SA-high scheme reached the global optimum, while the SA-fast scheme had a relative error of 0.52.
Carrying out one contrast between the two SA parameter schemes, Figure 8 shows that, on average, the SA-fast scheme solved the benchmark instances 76% faster than the SA-high scheme.

3.1.2. Statistical Analysis

The algorithms CF-LAS, RSH, and the SA-high version were used to perform the statistical analysis of the algorithm proposed in this work. The comparison using these algorithms was performed on the basis of Table 10, since the others were lacking in data. For the statistical analysis, the results of 18 large instances were used, from the OR5X100_0.25_6 instance to the OR30X250_0.75_3 instance (Table 11). The null hypothesis H0 used in this analysis indicates that the means of the results of the algorithms are equal, and the alternative hypothesis H1 suggests that at least one algorithm had a different behavior.
H 0 : X 1 ¯ = X 2 ¯ = = X r ¯
H 1 : N o t   a l l   a r e   t h e   s a m e
Figure 9 presents the normality graph of the three algorithms. From this figure, it can be concluded that no normality exists in the data since the points are not located on the diagonal of the graphs.
The homoscedasticity analysis was performed using the box-and-whisker graph presented in Figure 10. It can be seen that, for each algorithm, the boxes are not the same, indicating a difference in variances and that homoscedasticity does not exist. As the two assumptions of normality and homoscedasticity of the data did not exist for applying a parametric test such as ANOVA, the robust ANOVA test of Welch and Box [58] was used.
The Welch and Box test [58] was performed in order to perform statistical analysis with robust ANOVA using the WRS R package [59] to compare the three algorithms using the 10% of the trimmed means. The obtained p-value was 1.912572 × 10−5, and the null hypothesis was refuted. The value Fw of the statistician was 18.31316, and the degrees of freedom were v1 = 2 and v2 = 22.47213.

4. Discussion

This methodology is used to generate the first plan of attention to PSR factors. In the case study, the budget consumption matrix is obtained from the hp1 instance. Still, in a real case, its preparation requires great effort, since multiple meetings between the company departments are needed to agree on the amounts used to attend each risk factor and establish the budget ceiling. When solving the optimization model of this instance, Table 7 shows the three solutions obtained using the budget consumed by each department. Again, it is essential to emphasize that companies must apply most of their assigned budget in order to achieve the most significant benefit, since an unconsumed budget would imply neglecting its purpose or mismanagement. In the instance of hp1, a competitive solution achieved a profit of 3405, consuming 99% of the budget of departments 1 and 3 and 98% of the budget of department 2. The benefits of using metaheuristics such as the SA-based approach presented in this work are evident. They can obtain several near-optimal solutions, and the decision-makers have several scenarios from which to select that which best aligns with the company’s objectives, such as the use of the greatest budget to obtain the greatest benefit in addressing psychosocial risks.
The cost matrix generation for each department, even without considering the risk levels presented in the company, provides the opportunity to incorporate future actions and move towards the continuous improvement of the organizational environment. In accordance with various methodologies described in the existing literature, the success of these projects type (continuous improvement) lies in communication. However, since this work involves psychosocial aspects, the application of diverse issues such as social support, the use of mechanisms of disagreement, and well-targeted training will make a difference. This methodology requires costs to attend to each PSR factor offering important support in decision making. This proposal reduces the tensions related to the creation of one intervention plan, since each department generally has its own prevention perspective according to its own goals and objectives. The generation of the cost matrix per department enriches the actions, activities and interventions that need to be followed in order to improve the organizational environment.
Regarding the metaheuristic used to solve the PSR optimization problem, it is clear that the smallest instances, the solution found by the SA algorithm, is the optimal value reported in the benchmark literature. For the other instances, the sampling error shown in Figure 8 validates the two SA schemes’ quality and precision. The SA-fast scheme has a maximum RE no greater than 1.12%, representing competitive solutions found in a reasonable time. It is ideal for large PSR optimization problems. This behavior allows the SA algorithm to be incorporated into the technology platform with the enterprise security methodology [60,61,62]. On the other hand, as shown for small instances, the SA-high scheme presents greater precision, where its implementation brings great benefits.
Regarding the statistical results, we observe that the proposed SA algorithm is competitive with those contrasted in the existing literature, demonstrating its independence.
Solving the PSR optimization problem has great relevance, due to the changes in the forms of work that are currently taking place [1,7,8,9,63]. Algorithmic management [2,64,65,66], which assigns tasks and evaluates workers using data-driven systems, has proven to be efficient. However, at the same time, the present challenges of the psychosocial type should be considered. This presents a wide field of study for future works.
As future work, we intend to automate the identification of the level of attention that the PSR factor requires, incorporating, in addition to the questionnaire, information from interviews, minutes of discussion group meetings, and definitions of performance indicators aligned to the strategic objectives of the company, among other things.

5. Conclusions

Given the challenges that organizations face regarding digitization and process automation, technological tools play an essential role in supporting decision making. Changes in the workforce go hand in hand with job wellness and occupational health, hence the importance of using algorithms that optimize solutions to address psychosocial risks. In this work, a methodological scheme was presented that, on the basis of the detection of psychosocial risk factors in a company, the mapping to an MKP optimization model, and its solution using the SA algorithm, is able to obtain the subset of risk factors for a company with a maximum value at the level of care, that is, with a local-optimal solution that maximizes the benefit to the factors with the highest identified risk. This subset of selected factors can be incorporated into an optimal PSR treatment plan in the workplace. As shown by the evaluation of the method, the level of attention to risks is maximized under the limited budgets of a company’s departments. This methodology favors the organizational environment and promotes business competitiveness, complying with existing regulations for the identification, analysis and prevention of PSR factors.
By solving the benchmark instances for MKP, it was shown that the SA algorithm was able to solve the PSR optimization problem. The algorithm obtained values close to the optimum (and, in some cases, the global optimum) in the conducted tests.
The suggested metaheuristic was developed using two tuning schemes: SA-high and SA-fast. It can be observed that the second scheme had a better execution time (almost 80% faster than the first), sacrificing precision of results by a value within the range of 2–3%. These results are competitive, since the operation speed is one of the variables of interest under the new requirements given in the work scheme, such as algorithm management.
The results show that an SA-high scheme is a promising approach, since it achieves results below 1% for relative error. This implies that the results may be beneficial for a real PSR problem of a company.
As future work, it is intended to automate the identification of the level of attention that the PSR factor requires, incorporating, in addition to the questionnaire, information from interviews, minutes of discussion group meetings, and the definition of performance indicators aligned to the strategic objectives of the company, among other things.

Author Contributions

Conceptualization, M.L.E.-D., and M.A.C.-C.; investigation, M.L.E.-D., F.J.-P., J.E.-U., and R.R.-L.; methodology, M.L.E.-D., M.A.C.-C., and R.R.-L.; validation, M.L.E.-D., F.J.-P., and M.A.-F.; writing—original draft, M.A.C.-C., M.L.E.-D., and R.R.-L. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by CONACYT under grant INNOVAPYME-21105.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Wadsworth, E.; Walters, D. Safety Health at the Heart of the Future of Work: Building on 100 Years of Experience; International Labour Office: Geneva, Switzerland, 2019; Available online: https://www.ilo.org/safework/events/safeday/WCMS_687610/lang--en/index.htm (accessed on 28 February 2021).
  2. Jarrahi, M.H.; Sutherl, W. Algorithmic Management Algorithmic Competencies: Understanding Appropriating Algorithms in Gig Work. In Proceedings of the International Conference on Information, Munich, Germany, 15–18 December 2019; Springer: Berlin/Heidelberg, Germany, 2019; pp. 578–589. [Google Scholar]
  3. Vives, A. Employment entrepreneurship as corporate social responsibility. GCG Mag. Glob. Compet. Gov. 2013, 7, 16–33. (In Spanish) [Google Scholar]
  4. Juárez-García, A. Psychosocial factors, stress health in different occupations: An exploratory study. Health Res. 2007, 9, 57–64. (In Spanish) [Google Scholar]
  5. Fuentes, S. Job Satisfaction Its Influence on Productivity (Study Carried out in the Delegation of Human Resources of the Judicial Body in the City of Quetzaltenango). 2012. Available online: http://biblio3.url.edu.gt/Tesis/2012/05/43/Fuentes-Silvia.pdf (accessed on 28 February 2021). (In Spanish).
  6. Pérez-Fuentes, M.D.C.; Jurado, M.D.M.M.; Rubio, I.M.; Sánchez, J.G.S.; Linares, J.J.G. Mindfulness for Preventing Psychosocial Risks in the Workplace: A Systematic Review and Meta-Analysis. Appl. Sci. 2020, 10, 1851. [Google Scholar] [CrossRef] [Green Version]
  7. Branca, T.A.; Fornai, B.; Colla, V.; Murri, M.M.; Streppa, E.; Schroder, A.J. The challenge of digitalization in the steel sector. Metals 2020, 10, 288. [Google Scholar] [CrossRef] [Green Version]
  8. Ejsmont, K. The Impact of Industry 4.0 on Employees—Insights from Australia. Sustainability 2021, 13, 3095. [Google Scholar] [CrossRef]
  9. Gorgenyi-Hegyes, E.; Nathan, R.; Fekete-Farkas, M. Workplace Health Promotion, Employee Wellbeing and Loyalty during Covid-19 Pandemic—Large Scale Empirical Evidence from Hungary. Economies 2021, 9, 55. [Google Scholar] [CrossRef]
  10. Reference Guide, Official Mexican Standard NOM-035-STPS-2018, Psychosocial Risk Factors at Work-Identification, Analysis Prevention. 2018. Available online: https://www.dof.gob.mx/nota_detalle.php?codigo=5541828&fecha=23/10/2018 (accessed on 28 February 2021). (In Spanish).
  11. Sánchez, C. The inclusion of the emotional salary in Mexico official Mexican Standard NOM-035-STPS-2018. Psychosocial risk factors at work-identification, analysis prevention. Mag. Chang. Perm. 2020, 11, 602–624. (In Spanish) [Google Scholar]
  12. Institute of Safety Hygiene at Work (INSHT). (In Spanish). Available online: https://www.insst.es/documentacion/publicaciones-periodicas/seguridad-y-salud-en-el-trabajo (accessed on 28 February 2021).
  13. Cox, T.; Griffiths, A.; Rial-González, E. Research on Work-Related Stress. Office for Official Publications of the European Communities; European Agency for Safety & Health at Work: Luxembourg, 2000; Available online: https://www.coursehero.com/file/p6s7aue/Cox-T-Griffiths-A-Rial-Gonzalez-E-2000-Research-on-work-related-stress/ (accessed on 28 February 2021).
  14. Kompier, M.; Levi, L. Stress at Work: Causes, Effects Prevention: A Guide for Small Medium-Sized Businesses; European Foundation for the Improvement of Living and Working Conditions: Dublin, Ireland, 1994. [Google Scholar]
  15. Peiró, J.M.; Yeves, J.; Lorente, L. The Analysis of Psychosocial Risks at Work: Research Professional Practice in Spain, International Yearbook. 2012, p. 19. Available online: http://portal.ugt.org/saludlaboral/observatorio/catalogo2014/publicaciones/revistas/021in/descargas/Anuario2013ING.pdf#page=20 (accessed on 28 February 2021). (In Spanish).
  16. Sebastián, M.L.; Idoate, V.M.; Llano, M. SOFI-SM: Questionnaire for the Analysis of Physical, Mental Psychological Work Fatigue. Digit. Mag. Saf. Health Work 2008, Nº. 2, 1–22. (In Spanish) [Google Scholar]
  17. Magnano, P.; Santisi, G.; Platania, S.; Zammitti, A.; Tous-Pallares, J. The Italian version of the Work Psychosocial Climate Scale. Work 2020, 66, 789–798. [Google Scholar] [CrossRef] [PubMed]
  18. Cerda-Silva, G.; Porras-Tapia, F. Review of the psychometric properties of the psychosocial risk assessment scale at work event / ISTAS 21 in the Chilean context. Sci. Work 2018, 20, 121–125. (In Spanish) [Google Scholar]
  19. Eurofound. Changes Overtime–First Findings from the Fifth European Working Conditions Survey; Publications Office of the European Union: Doublin, Ireland, 2014. [Google Scholar]
  20. Leka, S.; Jain, A.; Zwetsloot, G.; Cox, T. Policy-level interventions and work-related psychosocial risk management in the European Union. Work. Stress 2010, 24, 298–307. [Google Scholar] [CrossRef]
  21. Sureda, E.; Mancho, J.; Sesé, A. Psychosocial risk factors, organizational conflict job satisfaction in health professionals: A sem model. Ann. Psychol. 2019, 35, 106–115. [Google Scholar] [CrossRef]
  22. Metzler, Y.A.; Von Groeling-Müller, G.; Bellingrath, S. Better safe than sorry: Methods for risk assessment of psychosocial hazards. Saf. Sci. 2019, 114, 122–139. [Google Scholar] [CrossRef]
  23. Bergh, L.I.V.; Leka, S.; Zwetsloot, G.I. Tailoring Psychosocial Risk Assessment in the Oil and Gas Industry by Exploring Specific and Common Psychosocial Risks. Saf. Health Work. 2018, 9, 63–70. [Google Scholar] [CrossRef]
  24. Khakzad, N. System safety assessment under epistemic uncertainty: Using imprecise probabilities in Bayesian network. Saf. Sci. 2019, 116, 149–160. [Google Scholar] [CrossRef]
  25. Han, L.; Zhang, Q.; Chen, X.; Zhan, Q.; Yang, T.; Zhao, Z. Detecting work-related stress with a wearable device. Comput. Ind. 2017, 90, 42–49. [Google Scholar] [CrossRef]
  26. Asensio-Cuesta, S.; Diego-Mas, J.A.; Canós-Darós, L.; Andrés-Romano, C. A genetic algorithm for the design of job rotation schedules considering ergonomic and competence criteria. Int. J. Adv. Manuf. Technol. 2012, 60, 1161–1174. [Google Scholar] [CrossRef]
  27. Song, J.; Lee, C.; Lee, W.; Bahn, S.; Jung, C.; Yun, M.H. Development of a job rotation scheduling algorithm for minimizing accumulated workload per body parts. Work 2016, 53, 511–521. [Google Scholar] [CrossRef]
  28. Yan, X.; Li, H.; Li, A.R.; Zhang, H. Wearable imubased real-time motion warning system for construction workers. Musculoskeletal disorders prevention. Autom. Construct. 2017, 74, 2–11. [Google Scholar] [CrossRef]
  29. Lahyani, R.; Chebil, K.; Khemakhem, M.; Coelho, L.C. Metaheuristics for solving the multiple knapsack problem with setup. Comput. Ind. Eng. 2019, 129, 76–89. [Google Scholar] [CrossRef]
  30. Chebil, K.; Khemakhem, M. A dynamic programming algorithm for the Knapsack Problem with Setup. Comput. Oper. Res. 2015, 64, 40–50. [Google Scholar] [CrossRef]
  31. Khemakhem, M.; Chebil, K. A tree search based combination heuristic for the knapsack problem with setup. Comput. Ind. Eng. 2016, 99, 280–286. [Google Scholar] [CrossRef]
  32. Laabadi, S.; Naimi, M.; El Amri, H.; Achchab, B. The 0/1 Multidimensional Knapsack Problem and Its Variants: A Survey of Practical Models and Heuristic Approaches. Am. J. Oper. Res. 2018, 8, 395–439. [Google Scholar] [CrossRef] [Green Version]
  33. Drake, J.H.; Özcan, E.; Burke, E.K. A case study of controlling crossover in a selection hyper-heuristic frame-work using the multidimensional knapsack problem. Evol. Comput. 2016, 24, 113–141. [Google Scholar] [CrossRef] [Green Version]
  34. Belaid, M.B.; Lazeb, A.; Zennaki, M.; Sadouni, K.A. Reduce and Solve Algorithm for the Multidimensional Knapsack Problem. 2017. Available online: https://www.researchgate.net/publication/315541822 (accessed on 25 April 2021).
  35. Dzalbs, I.; Kalganova, T.; Dear, I. Imperialist Competitive Algorithm with Independence and Constrained Assimilation for Solving 0-1 Multidimensional Knapsack Problem. arXiv 2020, arXiv:2003.06617. [Google Scholar]
  36. Skackauskas, J.; Kalganova, T.; Dear, I.; Janakram, M. Dynamic Impact for Ant Colony Optimization algorithm. arXiv 2020, arXiv:2002.04099. [Google Scholar]
  37. Chih, M. Three pseudo-utility ratio-inspired particle swarm optimization with local search for multidimensional knapsack problem. Swarm Evol. Comput. 2018, 39, 279–296. [Google Scholar] [CrossRef]
  38. ILO/WHO Committee on Occupational Health. Psychosocial Factors at Work: Recognition Control, Report of the Joint ILO/WHO Committee on Occupational Health, Ninth Session; ILO/WHO: Geneva, Switzerland, 1984; pp. 18–24. [Google Scholar]
  39. Publications Office of the European Union. Available online: https://osha.europa.eu/en/publications/psychosocial-risks-europe-prevalence-and-strategies-prevention/view (accessed on 28 February 2021).
  40. Martín-Aragón-Gelabert, M.; Terol-Cantero, M.C. Post-covid-19 psychosocial intervention in healthcare professionals (intervención psicosocial postcovid-19 en personal sanitario). Int. J. Soc. Psychol. 2020, 35, 664–669. [Google Scholar] [CrossRef]
  41. Potter, R.; O’Keeffe, V.; Leka, S.; Webber, M.; Dollard, M. nalytical review of the Australian policy context for work-related psychological health and psychosocial risks. Saf. Sci. 2019, 111, 37–48. [Google Scholar] [CrossRef]
  42. Varnamkhasti, M.J. Overview of the algorithms for solving the multidimensional knapsack problems. Adv. Stud. Biol. 2012, 4, 37–47. [Google Scholar]
  43. Gurski, F.; Rehs, C.; Rethmann, J. Knapsack problems: A parameterized point of view. Theor. Comput. Sci. 2019, 775, 93–108. [Google Scholar] [CrossRef] [Green Version]
  44. Kellerer, H.; Pferschy, U.; Pisinger, D. Knapsack Problems; Springer: Berlin/Heidelberg, Germany, 2004; pp. 299–428. Available online: https://www.springer.com/gp/book/9783540402862 (accessed on 25 April 2021). [CrossRef]
  45. Connolly, D.; Martello, S.; Toth, P. Knapsack Problems: Algorithms and Computer Implementations. J. Oper. Res. Soc. 1991, 42, 513. [Google Scholar] [CrossRef]
  46. Kellerer, H.; Pferschy, U.; Pisinger, D. Multidimensional Knapsack Problems. In Knapsack Problems; Springer: Berlin/Heidelberg, Germany, 2004; pp. 235–283. [Google Scholar]
  47. Rere, L.R.; Fanany, M.I.; Arymurthy, A.M. Simulated Annealing Algorithm for Deep Learning. Procedia Comput. Sci. 2015, 72, 137–144. [Google Scholar] [CrossRef] [Green Version]
  48. Li, Z.; Kucukkoc, I.; Nilakantan, J.M. Comprehensive review and evaluation of heuristics and meta-heuristics for two-sided assembly line balancing problem. Comput. Oper. Res. 2017, 84, 146–161. [Google Scholar] [CrossRef]
  49. Asghari, S.; Navimipour, N.J. Review comparison of meta-heuristic algorithms for service composition in cloud computing. Majlesi J. Multimed. Process. 2015, 4, 1–7. [Google Scholar]
  50. Aarts, E.; Korst, J.; Michiels, W. Simulated Annealing. In Search Methodologies; Springer: Berlin/Heidelberg, Germany, 2006; pp. 187–210. [Google Scholar]
  51. Martínez-Rangel, M.G.; Cruz-Chávez, M.A.; Zavala-Díaz, J.C.; Juárez-Romero, D.; Díaz-Parra, O. Analysis of the simulated annealing convergence in function of the standard deviation the Boltzmann quotient for scheduling problems. Res. Comput. Sci. 2007, 4069, 282–293. [Google Scholar]
  52. Jerrum, M.; Sinclair, A. The markov chain montecarlo method: An approach to approximate counting integration. In Approximation Algorithms for NP-Hard Problems; PWS Publishing Company: Boston, MA, USA, 1996. [Google Scholar]
  53. Cruz-Chávez, M.A.; Martínez-Rangel, M.G.; Cruz-Rosales, M.H. “Accelerated simulated annealing algorithm applied to the flexible job shop scheduling problem. Int. Trans. Oper. Res. 2017, 24, 1119–1137. [Google Scholar] [CrossRef]
  54. Fréville, A.; Plateau, G. An efficient preprocessing procedure for the multidimensional 0–1 knapsack problem. Discret. Appl. Math. 1994, 49, 189–212. [Google Scholar] [CrossRef] [Green Version]
  55. Fréville, A. The multidimensional 0–1 knapsack problem: An overview. Eur. J. Oper. Res. 2004, 155, 1–21. [Google Scholar] [CrossRef]
  56. Chu, P.C.; Beasley, J.E. A genetic algorithm for the multidimensional knapsack problem. J. Heuristics 1998, 4, 63–86. [Google Scholar] [CrossRef]
  57. Glover, F.W.; Kochenberger, G.A. Handbook of Metaheuristics; Springer Science & Business Media: Berlin/Heidelberg, Germany, 2006; Volume 57. [Google Scholar]
  58. Wilcox, R. Introduction to Robust Estimation and Hypothesis Testing, 3rd ed.; Academic Press: Cambridge, MA, USA, 2013; ISBN 9780123869838. [Google Scholar] [CrossRef]
  59. R Version 4.0.5. The Foundation for Statistical Computing. (2021-03-31). Available online: https://www.r-project.org/ (accessed on 7 May 2021).
  60. Eraña-Díaz, M.L.; Cruz-Chávez, M.A.; Rivera-López, R.; Martínez-Bahena, B.; Avila-Melgar, Y.; Cruz-Rosales, M.H. Optimization for risk decision-making through simulated annealing. IEEE Access 2020, 8, 117063–117079. [Google Scholar] [CrossRef]
  61. Eraña-Díaz, M.L. Simulated Annealing Machine Learning Applied to Business Risk Factor Optimization. Ph.D. Thesis, Universidad Autónoma del Estado de Morelos, Chamilpa, Mexico, 2020. (In Spanish). Available online: http://riaa.uaem.mx/handle/20.500.12055/1243 (accessed on 28 February 2021).
  62. Williams, S.P.; Schubert, P. Designs for the digital workplace. Procedia Comput. Sci. 2018, 138, 478–485. [Google Scholar] [CrossRef]
  63. Ghezzi, V.; Probst, T.M.; Petitta, L.; Ciampa, V.; Ronchetti, M.; Di Tecco, C.; Iavicoli, S.; Barbaranelli, C. The interplay among age employment status on the perceptions of psychosocial risk factors at work. Int. J. Environ. Res. Public Health 2020, 17, 3611. [Google Scholar] [CrossRef] [PubMed]
  64. Möhlmann, M.; Zalmanson, L. Hands on the wheel: Navigating algorithmic management uber drivers. In Proceedings of the International Conference on Information Systems (ICIS), Seoul, Korea, 10–13 December 2017; pp. 10–13. [Google Scholar]
  65. Lee, M.K. Understanding perception of algorithmic decisions: Fairness, trust, emotion in response to algorithmic management. Big Data Soc. 2018, 5, 20539517/18756684. [Google Scholar] [CrossRef]
  66. Cheng, M.; Foley, C. Algorithmic management: The case of Airbnb. Int. J. Hosp. Manag. 2019, 83, 33–36. [Google Scholar] [CrossRef]
Figure 1. MKP Representation: (a) Boxes with a color that have a specific profit; (b) figures with different weight. Each knapsack holds just one kind of figure and has a limited capacity.
Figure 1. MKP Representation: (a) Boxes with a color that have a specific profit; (b) figures with different weight. Each knapsack holds just one kind of figure and has a limited capacity.
Mathematics 09 01126 g001
Figure 2. Methodology stages for optimizing the attention of PSR factors.
Figure 2. Methodology stages for optimizing the attention of PSR factors.
Mathematics 09 01126 g002
Figure 3. Risk level of five organizational psychosocial risks.
Figure 3. Risk level of five organizational psychosocial risks.
Mathematics 09 01126 g003
Figure 4. MKP mapping scheme: (a) The PSRs with a specific risk level represented by a color; (b) The department cost matrix for each color risk; (c) The departments attending the selected risks with a limited budget.
Figure 4. MKP mapping scheme: (a) The PSRs with a specific risk level represented by a color; (b) The department cost matrix for each color risk; (c) The departments attending the selected risks with a limited budget.
Mathematics 09 01126 g004
Figure 5. Construction of a neighboring solution. (a) The swap process to create a neighborhood solution; (b) shifting process to create a neighborhood solution.
Figure 5. Construction of a neighboring solution. (a) The swap process to create a neighborhood solution; (b) shifting process to create a neighborhood solution.
Mathematics 09 01126 g005
Figure 6. Percentages of solutions for the Hp1 instance with 30 runs of the SA algorithm.
Figure 6. Percentages of solutions for the Hp1 instance with 30 runs of the SA algorithm.
Mathematics 09 01126 g006
Figure 7. Relative error of the two SA schemes when solving the 30 MKP benchmark instances.
Figure 7. Relative error of the two SA schemes when solving the 30 MKP benchmark instances.
Mathematics 09 01126 g007
Figure 8. Contrast in the resolution time of the two SA schemes.
Figure 8. Contrast in the resolution time of the two SA schemes.
Mathematics 09 01126 g008
Figure 9. Normality graphs for the three compared algorithms.
Figure 9. Normality graphs for the three compared algorithms.
Mathematics 09 01126 g009
Figure 10. Box-and-whisker plot to evaluate homoscedasticity between the compared algorithms.
Figure 10. Box-and-whisker plot to evaluate homoscedasticity between the compared algorithms.
Mathematics 09 01126 g010
Table 1. SA parameters.
Table 1. SA parameters.
ParameterDescription
w0Initial candidate solution
TExternal cycle control parameter
T0Initial value of the control parameter
αControl coefficient (0 < α < 1)
LMarkov chain size
fCost function
Neighborhood
βStop criterion coefficient
TfFinal value of the control parameter
Table 2. Actions by department for the work time management risk.
Table 2. Actions by department for the work time management risk.
TrainingCommunicationIndustrial SafetyHuman Resources
Schedule and develop time management coursesDesign brochures or posters that graphically remind workers to organize their time so as not to be overloaded by workImplement a nonconformity mechanism. Through a module on the company’s website where the worker can comment or suggest alternatives for workload issues associated with their position or organizational climateProgram actions that promote social support-publicize strategies or support schemes both by the company and among colleagues, an example would be to facilitate a mechanism to share excess work or cover in special events
Table 3. CASE-1. Cost for each department in each aspect of risk.
Table 3. CASE-1. Cost for each department in each aspect of risk.
DepartmentsBudgetPsychosocial Risk Factors
Risk Level
560825354428247
Mental WorkloadWork Time ManagementJob ContentSupervision-ParticipationTemporal Autonomy
j = 1, …, n
Training (T)$600i = 1, …, m450300280550310
Communication (C)$850200150210480750
Industrial safety (I)$930480200300350150
Human resources (H)$545130180200320350
Table 4. SA tuned parameters.
Table 4. SA tuned parameters.
AlgorithmT0 = fSDVmαβ
SA-high1 SD30.980.001
SA-fast0.5 SD0.50.980.001
Table 5. NOM-03 risk factors.
Table 5. NOM-03 risk factors.
ItemDescriptionItemDescription
V1Dangerous and unsafe conditionsV15Influence of work outside the workplace
V2Poor and unsanitary conditionsV16Influence of family responsibilities
V3Dangerous worksV17Poor clarity of functions
V4Quantitative loadsV18Leadership characteristics
V5Accelerated work ratesV19Social relationships at work
V6Work time managementV20Poor relationship with collaborators
V7Emotional psychological loadsV21Workplace violence
V8High responsibility workV22Little or no performance feedback
V9Contradictory or inconsistent uploadsV23Little or no recognition and compensation
V10Lack of control and autonomy over workV24Limited sense of belonging
V11Limited or no possibility of developmentV25Job instability
V12Insufficient participation in managementV26Job satisfaction
V13Limited or no trainingV27Motivation
V14Extensive working hoursV28Attitude
Table 6. HP1 values for the psr optimization problem.
Table 6. HP1 values for the psr optimization problem.
DepartmentBudget cjaijPSR Factors, Vj
Risk Level, Pj
5601125683284712219641251158222631132420864210381264931672714910811690
V1V2V3V4V5V6V7V8V9V10V11V12V13V14V15V16V17V18V19V20V21V22V23V24V25V26V27V28
j = 1, …, n
T219i = 1, …, m4091312318251181149821615810426480101
C2031692418608216217092241560484301006
I208383954081215012030406806441582802000
H18038527200341246118153810480306130354
Table 7. Results for the HP1 benchmark problem using the SA algorithm.
Table 7. Results for the HP1 benchmark problem using the SA algorithm.
Total ProfitBudget Consumed by Each DepartmentBinary Value 1 Indicates That Vj Is Selected
TCIHX1X2X3X4X5X6X7X8X9X10X11X12X13X14X15X16X17X18X19X20X21X22X23X24X25X26X27X28
34042171982061801011100110111110111011110111
34052161981971801101100111100010001110111111
34182161992011801101100101110010101010111111
Table 8. MKP benchmark instances.
Table 8. MKP benchmark instances.
ElementsDepts.MKP BenchmarkProblems
284SAC-94hp1
354SAC-94hp2
4030SAC-94pb6
3730SAC-94pb7
505SAC-94pet 7
6030SAC-94sento 2
402SAC-94weish08
605SAC-94weish16
905SAC-94weish30
1052SAC-94weing 8
10015GKgk01
20050GKgk6
1005ORLibOR5X100_0.25_6 OR5X100_0.5_4 OR5X100_0.75_
10010ORLibOR10X100_0.25_5 OR10X100_0.5_4 OR10X100_0.75_4
10030ORLibOR30X100_0.25_5, OR30X100_0.5_1, OR30X100_0
2505ORLibOR5X250_0.25_9,
OR5X250_0.5_4, OR5X250_0.75_
25010ORLibOR10X250_0.25_7, OR10X250_0.5_2, OR10X250_0
25030ORLibOR30X250_0.25_3, OR30X250_0.5_3, OR30X250_0
Table 9. Results for the thirty MKP benchmark problems using the SA algorithm.
Table 9. Results for the thirty MKP benchmark problems using the SA algorithm.
InstanceOptimum/UB*SA-HighSA-Fast
MaxMinAvgModeMax.Min.AvgMode
hp13418341834043412.63418341834043412.43418
hp23186318631483178.431863186308731293167
pb6776776776776776776776776776
pb710351035103510351035103510281033.41035
pet 716,53716,53716,44816,487.816,44816,53716,34716,40916,448
sento 287228722872287228722872287148720.48722
weish0856055605560556055605560556035604.65605
weish167289728972877288.67289728972147269.297289
weish3011,19111,19111,15711,183.7411,19111,19111,08411,170.4511,191
weing 8624,319624,319605,714618,194.8620,060621,086578,923595,697.9621,086
gk013766374537133727.263727374436963725.173721
gk67680 *762075897601.47609761175737596.117599
OR5X100_0.25_624,61324,61323,99824,346.4124,32124,48723,73724,221.7524,386
OR5X100_0.5_445,09045,09044,64144,849.6644,91145,03344,26544,674.1344,398
OR5X100_0.75_561,09161,07960,50360,766.6160,84560,97560,09060,516.0760,757
OR10X100_0.25_522,75122,65422,15722,411.112522,39522,58121,70522,211.2122,147
OR10X100_0.5_445,62445,47544,66045,102.7745,10345,36544,53344,994.7544,885
OR10X100_0.75_461,96661,83361,36461,603.1761,57061,81061,20661,520.361,474
OR30X100_0.25_521,84421,81421,46021,586.5521,53421,72021,16021,494.6421,500
OR30X100_0.5_140,76740,63040,28840,415.6340,63040,63040,01940,313.9940,302
OR30X100_0.75_358,05257,99257,68757,786.7557,72157,96357,33057,712.0657,721
OR5X250_0.25_961,88561,47060,67461,139.9861,07561,23259,99860,75260,545
OR5X250_0.5_4109,383108,643108,048108,381.5108,190108,595107,658108,160.53108,187
OR5X250_0.75_4152,130151,497150,375150,964.31150,767151,115150,755150,944.4150,767
OR10X250_0.25_758,70458,15857,12257,643.2157,76358,08556,93557,470.9157,416
OR10X250_0.5_2108,717108,622108,048108,384108,190108,595107,658108,160.53108,187
OR10X250_0.75_4151,324150,808149,618150,244.78150,127150,479149,884150,204.4150,767
OR30X250_0.25_356,61456,21555,46155,797.8555,65855,98255,58955,753.855,741
OR30X250_0.5_3106,442105,957105,357105,577.653105,711105,775105,480105,631.8105,774
OR30X250_0.75_3153,158 *152,711152,054152,283.94152,223152,370152,151152,294.2152,283
Table 10. Comparative efficiency and efficacy with other algorithms to MKP benchmark.
Table 10. Comparative efficiency and efficacy with other algorithms to MKP benchmark.
NoInstanceOptimum/UBSA-HighSA-FastCF-LAS
[33]
RSH
[34]
ICA
[35]
ACO DI
[36]
3R-SACRO
-PSO [37]
TimeRETimeRETimeRETimeRETimeRETimeRETimeRE
sssssss
1hp134182.540.000.640.00-0.00----0.750.00 0.00
2hp231868.000.000.060.00-0.00----36.650.00 0.00
3pb677618.000.005.370.00-0.00----0.140.00 0.00
4pb7103520.000.0016.740.00-0.00----4.60.00 0.00
5pet 716,5371.240.000.190.00-0.00----67.620.00 -
6sento 2872294.000.0047.610.00-0.00----1.940.00-0.00
7weish0856058.810.001.130.00-0.00----0.70.00--
8weish1672896.000.002.980.00-0.00----00.00-0.00
9weish3011,19110.000.005.480.00-0.00----0.010.00-0.00
10weing 8624,31977.530.003.550.52-0.63----0.010.00-0.00
11gk01376631.700.567.000.58-0.57---0.61-0.14--
12gk67680 *787.700.74186.000.90-1.15---0.52-0.26--
13OR5X100_0.25_624,6138.470.001.270.51-1.1614.410.00-0.00----
14OR5X100_0.5_445,09034.490.007.790.13-0.5350.070.00-1.52----
15OR5X100_0.75_561,09141.560.020.680.19-0.4021.180.00-0.00----
16OR10X100_0.25_522,75158.800.437.390.75-2.00104.090.00-0.00----
17OR10X100_0.5_445,62455.710.3312.200.57-1.0277.790.00-0.17----
18OR10X100_0.75_461,96627.610.217.200.25-0.5846.960.00-0.00----
19OR30X100_0.25_521,844353.250.1430.000.57-3.4590.250.19------
20OR30X100_0.5_140,767271.390.3467.800.34-1.56116.820.00------
21OR30X100_0.75_358,052307.720.1066.300.15-0.92109.40.00------
22OR5X250_0.25_961,885144.580.6716.200.96-0.42170.520.00------
23OR5X250_0.5_4109,383143.100.5735.000.68-0.20194.520.00------
24OR5X250_0.75_415213085.150.4222.800.67-0.13162.22.32------
25OR10X250_0.25_758,704326.000.9371.001.05-0.83201.310.00------
26OR10X250_0.5_2108,717490.000.0990.000.11-0.39248.560.01------
27OR10X250_0.75_4151,324535.000.34130.100.56-0.23222.210.04------
28OR30X250_0.25_356,6142405.000.70390.001.12-1.55287.240.21------
29OR30X250_0.5_3106,4422260.250.46450.000.63-0.71324.080.15------
30OR30X250_0.75_3153,158*3933.400.29840.000.51-0.39262.540.13------
Table 11. Data of the algorithms used for statistical analysis.
Table 11. Data of the algorithms used for statistical analysis.
AlgorithmInstance Number
131415161718192021222324252627282930
SA-high000.020.430.330.210.140.340.10.670.570.420.930.090.340.70.460.29
CF-LAS1.160.530.421.020.583.451.560.920.420.20.130.830.390.231.550.710.39
RSH0000000.1900002.3200.010.040.210.150.13
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Eraña-Díaz, M.L.; Cruz-Chávez, M.A.; Juárez-Pérez, F.; Enriquez-Urbano, J.; Rivera-López, R.; Acosta-Flores, M. Optimization Method to Address Psychosocial Risks through Adaptation of the Multidimensional Knapsack Problem. Mathematics 2021, 9, 1126. https://doi.org/10.3390/math9101126

AMA Style

Eraña-Díaz ML, Cruz-Chávez MA, Juárez-Pérez F, Enriquez-Urbano J, Rivera-López R, Acosta-Flores M. Optimization Method to Address Psychosocial Risks through Adaptation of the Multidimensional Knapsack Problem. Mathematics. 2021; 9(10):1126. https://doi.org/10.3390/math9101126

Chicago/Turabian Style

Eraña-Díaz, Marta Lilia, Marco Antonio Cruz-Chávez, Fredy Juárez-Pérez, Juana Enriquez-Urbano, Rafael Rivera-López, and Mario Acosta-Flores. 2021. "Optimization Method to Address Psychosocial Risks through Adaptation of the Multidimensional Knapsack Problem" Mathematics 9, no. 10: 1126. https://doi.org/10.3390/math9101126

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop