Corrigendum Corrigendum to “A Novel MILP Model for the Production, Lot Sizing, and Scheduling of Automotive Plastic Components on Parallel Flexible Injection Machines with Setup Common Operators”

In the article titled “A Novel MILP Model for the Production, Lot Sizing, and Scheduling of Automotive Plastic Components on Parallel Flexible Injection Machines with Setup Common Operators” [1], the authors identified errors in the datasets used in the study. Specifically, there was an error in the ci (inventory cost) parameter which uses decimal values; however, the python code used it as an integer. e datasets have therefore been corrected in Tables 6–11, and the corresponding sections in the results section have been updated to reflect this. A revised data availability statement has also been provided. e authors confirm that the results and conclusions are the same as reported in the original article despite the revised datasets. e corrected article is as follows: In this article, a mixed integer linear program (MILP) model is proposed for the production, lot sizing, and scheduling of automotive plastic components to minimize the setup, inventory, stockout, and backorder costs, by taking into account injection molds as the main index to schedule on parallel flexible injection machines. e proposed MILP considers the minimum and maximum inventory capacities and penalizes stockout. A relevant characteristic of the modeled problem is the dependence between mold setups to produce plastic components. e lot-sizing and scheduling problem solution results in the assignment of molds to machines during a specific time period and in the calculation of the number of components to be produced, which is often called lot size, following a sequence-dependent setup time. Depending on the machine on which the mold is setup, the number of units to be produced will be distinct because machines differ from one another. e stock coverage, defined in demand days, is also included in the MILP to avoid backorders, which is highly penalized in the automotive supply chain. Added to this, the proposed model is extended by considering setup common operators to respond to and fulfill the constraints that appear in automotive plastic enterprises. In this regard, the MILP presented solves a lot-sizing and scheduling problem, emerged in a second-tier supplier of a real automotive supply chain. Finally, this article validates the MILP by performing experiments with different sized instances, including small, medium, and large. e large-sized dataset is characterized by replicating the amount of data used in the real enterprise, which is the object of this study. e goodness of the model is evaluated with the computational time and the deviation of the obtained results as regards the optimal solution.

In the article titled "A Novel MILP Model for the Production, Lot Sizing, and Scheduling of Automotive Plastic Components on Parallel Flexible Injection Machines with Setup Common Operators" [1], the authors identified errors in the datasets used in the study. Specifically, there was an error in the ci (inventory cost) parameter which uses decimal values; however, the python code used it as an integer. e datasets have therefore been corrected in Tables 6-11, and the corresponding sections in the results section have been updated to reflect this. A revised data availability statement has also been provided. e authors confirm that the results and conclusions are the same as reported in the original article despite the revised datasets. e corrected article is as follows: In this article, a mixed integer linear program (MILP) model is proposed for the production, lot sizing, and scheduling of automotive plastic components to minimize the setup, inventory, stockout, and backorder costs, by taking into account injection molds as the main index to schedule on parallel flexible injection machines. e proposed MILP considers the minimum and maximum inventory capacities and penalizes stockout. A relevant characteristic of the modeled problem is the dependence between mold setups to produce plastic components. e lot-sizing and scheduling problem solution results in the assignment of molds to machines during a specific time period and in the calculation of the number of components to be produced, which is often called lot size, following a sequence-dependent setup time. Depending on the machine on which the mold is setup, the number of units to be produced will be distinct because machines differ from one another. e stock coverage, defined in demand days, is also included in the MILP to avoid backorders, which is highly penalized in the automotive supply chain. Added to this, the proposed model is extended by considering setup common operators to respond to and fulfill the constraints that appear in automotive plastic enterprises. In this regard, the MILP presented solves a lot-sizing and scheduling problem, emerged in a second-tier supplier of a real automotive supply chain. Finally, this article validates the MILP by performing experiments with different sized instances, including small, medium, and large. e large-sized dataset is characterized by replicating the amount of data used in the real enterprise, which is the object of this study. e goodness of the model is evaluated with the computational time and the deviation of the obtained results as regards the optimal solution. planning levels are characterized by the decision-making time horizon in accordance with three decision-making levels: strategical, tactical, and operational. us, production planning is set at the strategic level by considering families of products, while sequencing and scheduling are set at a more operational decision-making level. Accordingly, Gujjula et al. [1] proposes the following differentiation between these two concepts: (i) production scheduling deals with the assignment of production orders to production intervals with a short planning horizon and specific time periods and (ii) production sequencing deals with the sequence of production orders for each production interval.
Our aim is to solve a lot-sizing and scheduling problem with a sequence-dependent setup on parallel flexible machines. To this end, a mixed integer linear program (MILP) model is proposed to minimize the setup, inventory, stockout, and backorder costs by taking into account injection molds as the main index to schedule on parallel flexible injection machines. We also consider setup common operators to extend the proposed basic MILP model. is article focuses on the specific production lot-sizing and scheduling problem (LSSP) in parallel flexible machines. According to Kim et al. [2], the LSSP deals with the minimization of production and inventory costs by simultaneously optimizing lot sizes and production schedule. e authors also refer to small and big bucket models depending on the number of allowed setups. Accordingly, production scheduling assigns production orders to production intervals with a short-term planning horizon lasting several days or shifts. Moreover, the assignment in the scheduling process has an implicit sequence for each production shift. erefore, the main goal is to identify the time period when to produce, the quantity to produce as the lot size in units or timeslots, and the production sequence required to meet demand and to avoid backorders and stockouts.
As enterprises are seen as complex systems in operations management, their operation mechanisms are difficult to manage. is difficulty further increases because enterprises belong to a supply network system, in which the complexity and relationships with external actors are latent. Current global market conditions and constant changes in the supply chain environment render enterprises as complex systems. Moreover, researchers have to bear in mind that market consumers are currently used to acquire highly personalized products, which is known as mass customization with short development periods ("time to market").
In the last few years, novel technologies have been increasingly used, such as cloud computing, big data, artificial intelligence, and machine learning. is has become a trend that has boosted companies to transform their way of operating at enterprise and supply chain levels. e result of this digital transformation has been coined as Industry 4.0 [3]. Nevertheless, the application of Industry 4.0 to smalland medium-sized enterprises (SMEs) is not as idealistic as the Industry 4.0 definition indicates. e literature includes different studies on implementing Industry 4.0 technologies into different sectors. e present work focuses on the literature review by Echchakoui and Barka [4], which studies the impact that Industry 4.0 has on the plastics industry. e relevance of the work by Echchakoui and Barka [4] is aligned with the present article because we develop MILP to support the LSSP in a company that belongs to the plastic sector by particularly focusing on the injection of plastic automotive components. In the aforementioned literature review, the authors highlight that implementing Industry 4.0 research into the plastics industry is still in its initial stages, but research in this field is growing. e origin of this article lies in the H2020 Project Cloud Collaborative Manufacturing Networks (C2NET) [5], whose research focuses on providing a cloud platform, in which a set of tools and technologies are embedded to support the following: (i) data management and interoperability; (ii) the optimization of plans at enterprise and supply chain levels; and (iii) the integration of collaborative processes among supply network members. e C2NET cloud platform is built according to an open-source philosophy, which makes it affordable and easy to use by SMEs in terms of both monetary and expertise or knowledge required for its use. e optimization module contains advanced optimization models and algorithms to support and calculate replenishment, production, and delivery plans at both the enterprise and network levels. e calculation of plans at the enterprise level is characterized by only considering the resources and data from a single enterprise, while the calculation of plans at the network level uses the constraints, resources, and data from two supply chain enterprises, or more, as input data. When solving replenishment, production, and delivery plans from a collaborative network perspective, the output data of one enterprise plan are used as the input data of another enterprise plan. If we consider two enterprises from a network, A and B, where A is the supplier and B is the manufacturer, the replenishment plan of company B is constrained by the production plan of company A. Hence, information is exchanged and a loop plan is calculated until the materials required by company B coincide with the materials that can be produced by company A. On the C2NET cloud platform (CPL), the negotiation loop is operated by the collaborative module (COT), the plan calculation is managed by the optimization module (OPT), and data exchange and information interoperability are handled by the data collection framework module (DCF) [6]. e operation and management of the complex large-scale systems that characterize enterprises are covered by the models and tools developed in the CLP with the help of embedded intelligent methods.
Different enterprises from diverse sectors were involved in the C2NET project to validate and test the generated results.
e enterprise study object of this article is the automotive industry, which is included in one of the industrial pilots. e automotive supply chain is characterized by the need to perform flexible manufacturing to meet the demand of the original equipment manufacturer (OEM) in terms of delivery time, scheduling, and lot size in a just-intime (JIT) production system [7]. When addressing the LSSP in the automotive industry, suppliers are highly penalized when the components supplied to the OEM are delayed. 2 Complexity us, the automotive components' manufacturers have to manage minimum and coverage stocks to avoid potential penalizations. e coverage goal is set in demand days so that suppliers have to produce at least 3 days of demand in advance (commonly used in the automotive industry) to stock production, as advances to avoid delaying demand because it could imply stopping the automotive assembly line in OEM facilities. e main objective of this article is to model a real problem from a second-tier supplier in the automotive supply chain and to solve it in a reasonable computation time. Accordingly, a lot-sizing and sequencing model is hereafter provided to respond to the requirements of a second-tier supplier from an automotive supply chain. e proposed optimization model is embedded in the OPT module of the C2NET CPL. A novel MILP model for automotive plastic components' production lot-sizing and scheduling on parallel flexible injection machines is proposed with setup common operators. e MILP model was implemented in Pyomo [9], used as an extensible python-based open-source optimization modeling language for linear programming and nonlinear programming, among others. Finally, a complex largescale problem is addressed to deal with the scheduling plan of an automotive components' manufacturer. e reminder of this document is organized as follows. Section 2 presents a literature review to gain insight into works that have addressed similar type problems and to justify this study's contribution. Section 3 describes and analyzes the problem to be solved. Section 4 presents the novel MILP model for the automotive plastic components' production lot-sizing and scheduling on parallel flexible injection machines. We take this MILP as the base model. Section 5 puts forward an extension of the base model, which contemplates common setup operators in the proposed LSSP to provide a more realistic perspective to the base model by taking into account the studied plastic components' injection industry. Section 6 offers comprehensive numerical experimentation by considering different data sizes for both proposed models, including small, medium, and large datasets. is article is concluded by discussing the findings obtained with the addressed problem.

Related Studies
A large amount of research has been conducted into different LSSP characteristics, but very few studies present optimization approaches that combine or integrate LSSP characteristics, that is, lot sizing and scheduling. According to Ríos-Solís et al. [10], the product-part-mold-machine (PPMM) problem and the part-mold-machine (PMM) problem study this combination of approaches and indicate that this problem type is scarcely addressed in the literature. Ríos-Solís et al. [10] defined products as final products and parts as components that derive from the bill-of-materials parts explosion. Furthermore, Ríos-Solís et al. [10] classified the PPMM as bilevel capitated LSSP. Accordingly, the first part of the PPMM and PMM lot-sizing and scheduling problems seeks to determine the optimal size of either a lot of products in the PPMM approach or the parts in the PMM approach. Both approaches seek to assign parts or pieces to molds and molds to the machines. e second part is involved in the scheduling that aims to determine the order of processing molds in machines during each planning time period.
Studies such as Ibarra-Rojas et al. [11] addressed the problem of manufacturing parts that are produced in molds and are mounted on machines. is study proposes an MILP that seeks to maximize the production of parts and also determines the batch size of every part and the assignments of parts to mold and machines. An update of this study is that proposed by Ríos-Solís et al. [10], which aims to determine the lot size of a finished product; that is, it determines the number of finished products to be manufactured, the number of parts to be manufactured, and the assignment of the parts to the mold and the mold to the machine. e model of Ríos-Solís et al. [10] also contemplates the feasibility of scheduling molds in machines during each period. However, in their experimental results, they only handle one period of time periods and propose working with multiple time periods as a future research line. Different approaches have been proposed in the literature to optimally solve scheduling in engineering; in this regard, Li et al. [12] highlighted the importance on the use and application of MILP to deal with the aforementioned problem in the engineering research area.
Studies about LSSP are paid more attention by researchers and companies given their applicability to the real world [13]. In our literature review, we find studies that integrate batch sizing decisions into restrictions for scheduling problems (see Table 1), studies such as that presented by Stadtler [14], in which a combined approach to support a single machine LSSP is proposed. For this purpose, an MILP is formulated to minimize maintenance and inventory setup costs over a planning horizon. Wolosewicz et al. [15] combined production planning and scheduling by proposing an MILP that seeks to determine the lot size for a fixed sequence of operations in the machines, taking into account the times and operating costs. Kim et al. [2] presented a combined approach in an MILP that seeks to minimize the sum of the cost of production, installation, and inventories. James and Almada-Lobo [16] presented an MILP for the scheduling problem and capacitated lot-sizing of a single machine and a parallel machine with sequence-dependent setup times and costs. Meyr and Mann [17] put forward an MILP to simultaneously determine production lot sizes and schedules on nonidentical parallel production lines.
Our model deals with the problem contemplated by Ríos-Solís et al. [10] and Ibarra-Rojas et al. [11]. By continuing with the future research lines indicated by these authors, our study considers many periods when modeling and running experiments to solve the LSSP. e base model herein proposed also bears in mind stock coverage constraints, which are typical in the studied automotive supply chain industry context. e proposed novel MILP also contemplates an objective function Complexity 3 based on the assembly line and allows idle times among molds, which is a fundamental characteristic for real cases and has been ignored by former studies. Finally, the base model is extended by offering a scenario that comes closer to reality by considering another index that represents the workers who change molds and, thus, bears in mind the casuistry associated with the LSSP that refers to the setups of the usual operators.

Problem Description
e main aim of this article is to propose a novel MILP model for the production scheduling carried out by an automotive plastic components' manufacturer that acts as a second-tier supplier in the automotive supply chain. Plastic components are produced in molds that are mounted on parallel flexible injection machines. Injection machines shape plastic pellets into automotive semifinished products to then be assembled on an OEM production line. Nevertheless, for industry, studying car components is treated as the second-tier supplier's end products.
According to Ríos-Solís et al. [10], lot-sizing and scheduling plans of mold-injection enterprises entail decision-making to determine (i) the lot size as the amount of components to be produced during a period of time or a number of periods to produce the same component and (ii) the assignment of molds to machines by considering that components can be produced only in specific molds with their shape cavity. e second-tier supplier herein studied is characterized by having specific molds that produce each automotive component. When two molds are available to produce the same component, these molds involve different processing times given their technical particularities. Each mold can also be setup on different machines to produce the same automotive component, but the same mold mounted on different machines has different production rates depending on the machine on which it is setup. Accordingly, productivity differs depending on the mold and machine assignment (see Figure 1). Moreover, in the automotive sector, two different parts are produced in the same mold, including right-and left-hand parts, which is known as biproduct injection molding [18]. e studied enterprise has 21 injection machines and a set of molds to produce the range of components delivered to the first-tier supplier and finally to the various OEMs that belong to different automotive supply chains, depending on the car brand. e enterprise works three shifts per day over a 5-day week and reserves overtime shifts on the sixth weekday in the event of production not finishing during the normal operation time. Workers are told that they will work overtime periods at least 1 week beforehand.
Molds are changed using cranes and, therefore, a setup time is incurred. A limited number of workers are in charge of changing and mounting molds to the assigned machines. Moreover, these workers, known as setup common operators, work only two of the three shifts that the enterprise arranges.
One of the requirements of the enterprise's study is that, once the mold is setup on a machine, the mold should remain for at least 24 h so as not to saturate the work of the limited setup common operators and to not incur on too many setups because the setup time is estimated between 1 and 3 h, which obviously has an associated setup cost. If a longer production time is needed, the mold is set up during the required time periods without incurring any setup costs.
us, the modeled problem should contemplate no setup carry-over cases.
Backorders are highly penalized in the automotive supply chain. erefore, enterprises in the automotive industry use stock coverage, which indicates the number of demand days that stocks can cover. Normally in the automotive industry, stock coverage is set at 3 demand days; for example, for the demand of four units for the next three periods (d 1 � 4 units, d 2 � 4 units, and d 3 � 4 units), stock coverage is defined as 12 units at the end of the first period. Moreover, as warehouses have space limitations, a maximum inventory is considered.
With regard to the demand, the automotive industry updates the demand during each period for the next five Table 1: Literature review of recent lot-sizing and scheduling problems.

Authors
Objectives Industrial application Resolution methods Solver [2] Minimize the sum of production, setup, and inventory costs Zinc refinery Heuristic algorithm combining a decomposition scheme with a local search procedure CPLEX [11] Maximize the weighted cost of produced pieces Automotive, consumer goods, and toys Decomposition approach CPLEX 11.2 [14] Minimize the sum of inventory holding and setup costs in the planning interval Pharmaceutical Xpress-MP [10] Maximize the profit of finished products Automotive, consumer goods, and toys Iterative heuristic based on mathematical programming Gurobi 6.05 [17] Minimize inventory holding, sequence-dependent setup, and line-specific production costs of potentially heterogeneous production lines -Decomposition-based approach GLPK 4.44 [15] Minimize the sum of production, inventory and setup costs -Lagrangian heuristic Xpress-MP 4 Complexity frozen periods. e OEM works with considerable demand information (1 year of demand horizon), but only communicates the demand for the next 6 months to the first-tier supplier. Finally, first-and second-tier suppliers normally work to a 3-month demand horizon and with daily periods. e LSSP considers a 21-day horizon. A detailed flowchart of the processes is presented in Figure 2, from the generation of the customer demand to the final resolution of the second-tier supplier model. Accordingly, in the automotive supply chain, the OEM generates customer orders, according to the final customer demand. e OEM transforms the customer orders into the master production scheduling (MPS), which jointly with bill of materials (BOM) and the inventory availability computes the materials requirement plan (MRP). e OEM demand plan is generated from the MRP and transferred to the first-tier supplier. en, the first-tier supplier obtains its demand by using a simple bill-of-materials parts explosion given the OEM demand plan. e second-tier supplier estimates the component requirements from the final requirements in a frozen sequence transferred by the first-tier supplier, and the demand plan is generated [8].
en, the second-tier supplier proceeds to compute the LSSP model with the aim of (i) assigning molds to machines, (ii) scheduling the processing molds in machines during each planning time period, and (iii) calculating the optimal lot size of products. e LSSP is modeled by considering molds to be the main index. e proposed production lot-sizing and scheduling base model has as main inputs the data parameters described in Table 2. Nevertheless, if setup common operators are considered when solving the LSSP, data parameters related with the type of operators have to be taken into account for building the extended version of the base model. Finally, the proposed MILP is solved by the second-tier supplier using the Gurobi solver obtaining optimal or near-optimal solutions of the production LSSP. In a nutshell, the objective of the proposed MILP is to minimize the total costs, namely, setup and inventory costs, penalization costs for coverage stockouts, backorder costs, and tool setup costs, such as the route cost of selecting one machine or another to setup a tool.

MILP Model for Lot-Sizing and Scheduling on Parallel Flexible Injection Machines: Notation and Model Formulation
e lot-sizing and scheduling on parallel flexible injection machines problem under study is notated in Table 2, where the main indexes related to machines, tools, products, and periods are notated. e input data parameters are presented, and decision variables are established as the output data of the MILP model for lot-sizing and scheduling on parallel flexible injection machines. e formulation of the MILP model for lot-sizing and scheduling on parallel flexible injection machines is described next. e objective function minimizes total costs, including setup and inventory costs, penalization costs for coverage stockouts, backorder costs, and tool setup costs, such as the route cost of selecting one machine or another to set up a tool.   6 Complexity subject to sequence constraints: Constraints (2) and (3) constrain only setup tools j on previously assigned specific machines i. Constraint (4) determines that one or any tool j can be set up for production during each time period t. Constraint (5) guarantees that the total amount of tools j available for production can only be set up as a maximum during each time period t.
Production and capacity constraints: Constraint (6) computes the amount of product k produced during time period t and ensures that a specific tool j is able to be set up on machine i during time period t when product k is produced. Constraint (7) determines the amount of product k no longer produced when tool j is set up during time period t on machine i by considering that another tool j is set up on machine i during time period t − 1. is also ensures that such a specific tool j is able to be set up on machine i during time period t when product k is produced. Constraint (8) computes the amount of product k to be produced during time period t by subtracting Xnp kt as the amount of product k no longer produced when tool j is set up. Constraint (9) determines the production time used during time period t when tool j is set up on machine i. In TP ijt , we indicate the production lot size during period times, e.g., 24 h. is means that if tool j is set up on machine i, the tool cannot be changed by another one for the next 24 h. erefore, the minimum lot size corresponds to the products produced during the 24 h that tool j is set up on machine i.
Setup constraints: Initial inventory of product k Amount of product k no longer produced during time period t, while a tool is set up X kt ′ Amount of product k to produce during time period t by subtracting Xnp kt Complexity SA ijt � S ijt , ∀i, j, t � 1, i j SA ijt ≤ nc, ∀t.
Constraint (10) allows the first setup of tool j to be determined on machine i, which enables it to be modeled if tool j is set up during time period t on machine i for the first time and decision variables S ijt and SA ijt take the same value 1. Constraint (11) ensures that SA ijt does not take values above 1. Constraint (12) limits the amount of tool changes allowed during time period t.
Inventory balance equations: Inventory balance equations (13a) and (13b) guarantee appropriate values for the inventories, quantities to produce, and backorders for each time period t � 1 and t > 1, respectively.
Stock coverage constraint: Constraints (14) and (15) limit the inventory levels for each product k according to the available space for inventory holding during time period t. Constraint (16) is a constraint for the stock coverage of products.
Bound and nature variables: Constraint (17) indicates the binary nature of setup S ijt and the setup amount SA ijt variables. Constraints (18)

MILP Model for Lot-Sizing and Scheduling on Parallel Flexible Injection Machines with Setup Common Operators: Notation and
Model Formulation e MILP model for lot-sizing and scheduling on parallel flexible injection machines described in the above section provides a solution to an LSSP that emerged in a second-tier supplier of a real automotive supply chain. In this section, the base model is extended by considering setup common operators to respond and fulfill the constraints that arise in automotive plastic enterprises. In this regard, the base model is extended to offer coming closer to reality by considering another index which represents the workers who change molds. It also bears in mind the casuistry associated with the LSSP problem that refers to setup common operators. e nomenclature for the extended model is represented in Table 3. In order to avoid repetitions, the data and decision variables used for the MILP model for lot-sizing and scheduling on parallel flexible injection machines with setup common operators are considered to be the same as in the base model. Table 3 only shows the new data and decision variables in relation to the previous base model. ere are different types of operators and a distinct number of workers corresponding to each operator type. For example, let us consider only one setup operator type that corresponds to the qualified technician category and is specialized in changing molds. Companies have a setup operator type corresponding to the auxiliary technician category, whose task involves helping the qualified technician, as well as a setup operator type corresponding to the mechanic category and provides support whenever failure of a mechanic, electric or physical, among others, occurs. All these categories or operator types have varying numbers of workers who go on different shifts. For example, in a company like that herein studied that has 21 machines, there could be two qualified technicians, four auxiliary technicians, and one mechanical technician per shift. e formulation of the MILP model for lot-sizing and scheduling on parallel flexible injection machines with setup common operators is described next. e objective function minimizes total costs, which include setup costs with common setup operators, inventory costs, penalization costs for coverage stockouts, backorder costs, and tool setup costs, such as the route cost of selecting one machine or another to set up a tool.
subject to sequence constraints: 8 Complexity Equations (21) and (22) constrain only setup tools j by setup operators l on specific previously assigned machines m. Constraint (23) determines that one or any tool j can be set up by setup operator l for production during each time period t. Constraint (24) guarantees that the total amount of tools j available can only be set up for production as a maximum during each time period t by setup operator l.
Production and capacity constraints: Constraint (25) determines the amount of products k no longer produced when tool j is set up by operator l on machine I during time period t by considering that another tool j is set up on machine i during time period t − 1. It also ensures that such a specific tool j can be set up on machine i during time period t when product k is produced. Constraint (26) determines the production time spent during time period t when tool j is set up by operator l on machine i.
Setup constraints: i j SA iljt ≤ nc t , ∀l, t.

Case Study and Computational Experiments
e proposed base MILP model for lot-sizing and scheduling on parallel flexible injection machines and the extended MILP model for lot-sizing and scheduling on parallel flexible injection machines with setup common operators were implemented in Python 3.8.2, using Pyomo [9] as an extensible python-based open-source optimization modeling language for linear programming. e performance of the proposed model was evaluated on a set of instances that reflect different characteristics of the real-world case of the automotive components industry under study. All the numerical tests were conducted on a personal computer equipped with an Intel (R) Core (TM) I5-8500 @ 3.00 GHz Processor and 8 GB RAM. We used Python 3.8.2 and tested applying Gurobi 9.0 to solve the mixed integer linear programming model.
In the next section of data generation, it is described how the data are generated to run the computational experiments.
e datasets generated to validate the proposed models correspond to small, medium, and large datasets. Sized datasets can be accessed through a link available at the end of the document. Finally, the last section presents the results of the computational experiments carried out.  Table 5. e data values are created in the way that mostly represents real data from the automotive components industry; next, the data values are defined as follows: e parameter a j determines the total amount of tools j available for production; in this regard, only one unit of each tool is available, and this means that there are not duplicated tools to produce the same components. e backorder cost (cb k ) and the coverage stockout cost (cst k ) are represented by a very high value (equal to M (99999)) in order to avoid customer missing parts in the model resolution. Inventory costs (ci k ) are set with values uniformly distributed in given interval; e stock coverage is defined in three days of demand. Nevertheless, in small datasets where the number of periods is lower than three, we have considered one coverage day of demand (cov kt � 1) in order not to have unfeasible solutions in the model resolution, in such a way that the model considers one period of future demand (dt + 1) to be produced during period t.
Random [r 1 , r 2 ] values denote a random integer value over the interval from r 1 to r 2 . e following data parameters use Random [r 1 , r 2 ] values: setup cost of a tool (cr ij ), setup cost of preparing a tool (cs j ), maximum inventory (INVMAXk), and the amount of products no longer produced when a tool is set up (np jk ). e amount of products produced when a tool is set up (p jk ) is also denoted as Random [r 1 , r 2 ]. In this regard, [r 1 , r 2 ] indicates that product k is assigned to the tool j; otherwise, p jk � 0. Parts are randomly assigned to tools, with the condition that each part must be assigned to one tool. Table 4 proposes an example of assignment on a small dataset composed of three tools and six products.
In order to generate the values for the demand, blocks of seven time periods corresponding to the 7 days of the week are considered. In this regard, the first five periods of the week will have demand values set as Random (15,40); otherwise, d kt � 0 on the sixth and seventh periods of the week, that is, on Saturday and Sunday. e minimum inventory (INVMINk) is set as one unit for all the products k; accordingly, the initial inventory (INV k0 ) is also set as one unit for all products k. e amount of tool changes allowed (nct) is defined by Random (I, I + 5) with I being the minimum number of machines changes allowed, which coincides with the total number of machines. Considering the same scheme of blocks of weeks divided in 7 periods, no tool changes are allowed in the 7 th period of the week, nct � 0; this is because on Sundays the enterprise does not produce, uses it as a day of rest or for machine maintenance, etc. According to this last statement, the time available for production (tpt)) is 24 hours for the first five periods of the week and 16 hours for the 6 th period of the week. No time production is available for the 7 th period of the week. r ij � 1 indicates that all the tools can be set up on all the machines. e aforementioned parameters and values are defined for the base model. e three parameters added for the extended model, which considers setup common operators, are described in Table 5.
sl ailj � 1 indicates that one setup type operator is required to setup the tool j on machine i e cost of type operator l to setup the tool j on machine i (scl ilj ) is set with values uniformly distributed in given interval; U(u 1 , u 2 ) is a random variable which is uniformly distributed on [u 1 , u 2 ]. Finally, the number of available workers of type operator l available (sls l ) must be as much as the number of machines I.
In addition, we attach the link to the synthetic data generator, so that the model can be reproduced in future research http://hdl.handle.net/10251/161636.

Results and Computational Experiments.
Using the aforementioned synthetic data generator, a set of experiments have been conducted to validate the two proposed models: (i) base LSSP model, an MILP model for lot-sizing and scheduling on parallel flexible injection machines, and (ii) extended LSSP model, an MILP model for lot-sizing and scheduling on parallel flexible injection machines with setup common operators.
In order to give the reader a clear insight of the input data parameter values and the output data results once implemented the proposed MILP, we include an example of a small dataset size. e small dataset of the base model is characterized by having 2 machines, 4 tools, 6 parts, and 3 periods. e results obtained with the decision variables in the MILP model for lot-sizing and scheduling on parallel flexible injection machines are presented in Tables 6 and 7.
According to the results obtained in the MILP model for lot-sizing and scheduling on parallel flexible injection machines, all the available capacity is occupied in the three defined periods. Notwithstanding, demand was higher than the available capacity and, therefore, the model had to delay the demand of products k � 2, 3, 4. Figure 3 shows the Gantt chart showing the schedule obtained after applying the base MILP model. Each row represents a machine i and each rectangle a tool j; inside the rectangle, we have indicated the parts k and processing time t of each tool j.  Tables 8 and 9.

Discussion and Conclusions
is paper addresses the LSSP applied to an automotive plastic components' enterprise. An MILP base model is proposed to deal with the lot-sizing and scheduling problem on parallel flexible injection machines to mainly minimize the setup, inventory, stockout, and backorder costs by taking into account injection molds as the main index to schedule parallel flexible injection machines. e MILP base model is extended to provide the enterprise under study with a more realistic solution that considers setup common operators. erefore, the extended LSSP model, an MILP model for lotsizing and scheduling on parallel flexible injection machines with setup common operators, is presented. is produces a model that adapts to the restrictions of the company under study, an automotive plastic components' enterprise. e peculiarity of this model is that it takes injection molds as the main index to schedule parallel flexible injection machines by considering setup common operators. e novelty of both proposed models lies in our study considering many periods when modeling and running experiments to solve the LSSP. Moreover, the proposed MILP bears in mind stock coverage constraints, which are typical in the studied automotive supply chain industry context, and contemplates an objective function that allows idle times among molds, which is a fundamental characteristic for real cases and has been ignored by former studies.
Finally, this paper validates the proposed MILP by performing experiments with different sized instances, including small, medium, and large datasets. e large dataset is characterized by replicating the amount of data used in the real enterprise that is the object of this study. e goodness of the model is evaluated with the computational time and the deviation of the obtained results as regards the optimal solution.
is study is not without its limitations. e small and medium datasets are solved in both cases in very efficient computing times. e application of the proposed model using the large dataset is more limited in computational efficiency terms. To solve this problem, the literature indicates the generation of heuristics, metaheuristics, and matheuristics. e last type falls within the authors' future research options as far as the contemplated model herein is concerned. us, the first research line intends to improve the computational efficiency to solve the model by applying matheuristics, which would consist in solving the binary variables in both the base model (S ijt and SA ijt ) and its extended version (S iljt and SA iljt ) by a metaheuristic technique, e.g., genetic algorithms, taboo search, and simulated annealing. e metaheuristics result will be provided as input data for the MILP. e following research lines focus on improving the model by considering new constraints that will be very useful for the real firm. In this way, the second future research line is a second extension of the base model that bears in mind the availability of materials. For this purpose, inventory equations are to be added that consider the list of materials needed to manufacture end products. Finally, for the third future research line, a third extension of the model is proposed by considering space limitations in a warehouse's volume. In this way, part volumes are calculated to meet both stock coverage and limited warehouse space, contemplated from the premise that all parts have different volume requirements. is means that the model and its third extension (or third generation) will be capable of meeting the stock coverage of large-sized parts and stocking small-sized ones so that when they have to be produced, the production resources related to bigger pieces will be used.
e third-generation model will allow bigger-sized parts to be stored, which will be left at the stock coverage level by calculating the quantity of smaller parts whose coverage can be extended.

Conflicts of Interest
e authors declare that there are no conflicts of interest regarding the publication of this study.