1. Introduction
The International Organization of Vine and Wine (OIV) estimates that global wine production reached approximately 221 million hectoliters in 2023 [
1]. The wine industry is a highly relevant economic sector, contributing significantly to employment, tourism, and exports in numerous countries [
2,
3]. Wine production, due to its specific nature, involves the consideration of multiple critical variables to ensure the quality of the final product [
4]. In this context, effective planning and scheduling are essential for wineries, as they directly influence the ability to meet customer demand, maintain high-quality standards, and optimize the use of available resources. The bottling stage, in particular, represents approximately 30% of the total costs of the wine value chain [
5]. Poor planning in this phase can lead to production-line disruptions, especially during the filtration stage, which significantly impacts the overall production process [
6].
This study aims to develop and apply an operational model based on mixed-integer programming that optimizes the sequencing of batches on the filtration and bottling lines. The proposed methodology integrates sequence-dependent setup times with the objective of minimizing the total processing time for orders and reducing the costs associated with resource usage.
Although the literature has explored aspects related to bottling planning, the specific constraints of the filtration process have received less attention. In particular, the clogging index which measures the potential of particles present in the wine to obstruct the filtering surface is a determining factor that has not been sufficiently addressed [
7]. This index is influenced by the mechanical properties of the particles, such as their degree of deformation and disintegration [
8]. The accumulation of solids in the filters reduces the flow and increases the processing time for each batch. If not properly managed, the clogging index can reach a critical threshold, requiring the production line to be stopped to replace the filter, resulting in significant losses of time and product [
9]. A robust setup plan could mitigate these risks and ensure the feasibility of the production schedule.
Currently, many wineries perform planning manually, which is often inefficient and leads to adjustments and rescheduling based on unforeseen circumstances, generating additional costs due to delays in fulfilling planned orders. Existing research mainly addresses these issues from a strategic or tactical perspective by formulating the simultaneous lot-sizing and scheduling (SLS) problem and examining its implications for inventory management and order fulfillment. However, these studies do not exhaustively consider the constraints derived from the filtration process [
10].
To address the challenges within the wine industry and contribute to operational decision-making in daily bottling planning, this document is structured as follows: first, it presents an analysis of the predominant practices in the Chilean wine industry, based on a survey conducted with key companies in the sector. This analysis identifies the mechanisms and tools used in planning, as well as the operational considerations and critical variables involved in production processes. Next, a thorough literature review is provided to establish the state-of-the-art and highlight existing knowledge gaps. The third section details the problem and the formulation of the proposed model, followed by its practical application in a real operational context. Finally, the document concludes with a discussion of the results obtained, the limitations of the study, and potential future research directions that could further optimize these processes in the wine industry.
1.1. Industry Practices in the Chilean Wine Industry
Through the application of a questionnaire to production leaders and managers from 17 wine-producing companies in Chile during September and October 2024, complemented with additional plant visits and interviews, a mixed linear programming model that considers sequence-dependent setup times was established regarding industrial practices in the planning of the wine-bottling process in Chile. The wineries were selected based on the criteria that they had a bottling process and an annual production exceeding one million liters, and that they represent 48% of Chile’s total wine production.
1.1.1. Standard Format Characteristics
Currently, wineries have reduced the total number of SKUs, managing an average of between 100 and 200 products. The 750 mL bottle format is the most commonly used, representing approximately 80% of bottled wine. Other formats include capacities of 187.5 mL, 350 mL, 500 mL, 700 mL, 1000 mL, 1500 mL, 3000 mL, and 5000 mL. Bottles are classified into three main types: Bordeaux, Burgundy, and Special, each with variations in diameter, height, and weight. The types of closures used are mainly divided into crown caps and corks (natural or synthetic), chosen according to preservation requirements and market preferences. Regarding labeling, two main adhesion methods are used: glue-based and self-adhesive labels, selected according to the type of bottle and the product’s marketing approach.
1.1.2. Setup Times and Changeovers
In the bottling and packaging process, four types of technical adjustments are identified. The first adjustment focuses on the bottle type, taking into account volume, height, and diameter. The second adjustment relates to the type of closure, which may be a crown cap or cork. The third adjustment is linked to labeling machines, which must adapt to different types of labels and bottle formats. Finally, the fourth adjustment corresponds to the packaging system, organizing bottles into cases of 6, 12, or 24 units, according to commercial and logistical specifications.
Due to the modernization of equipment, the frequency of format changes or adjustments between different bottle types has significantly decreased in recent years. The use of modern machines with automatic adjustments and standardized inputs has enabled most companies to reduce the time required for complex adjustments to as little as 60 or 90 min. Additionally, many wineries have two bottling lines and two filtration lines that can operate simultaneously, achieving a bottling capacity ranging from 3000 to 4000 L per hour. These systems can process batches of between 10,000 and 25,000 L in shifts of approximately 9 h. However, the need to extend work shifts to meet bottling schedules has increased costs, while the reduction in working hours imposed by current legislation has added extra pressure to meet objectives within the available time.
1.1.3. Bottling-Process Planning
The planning of the bottling process is defined in weekly meetings with the participation of the commercial, quality, operations, logistics, procurement, and production departments. During these meetings, both the weekly and daily bottling plans are established, determining the SKUs to be processed, required volumes, and specific quality and packaging requirements. The implementation of the daily plan and any necessary process adjustments fall under the responsibility of the production area, particularly the production supervisor. This is a key aspect of current operations: since the supervisor holds full responsibility for execution, the daily operational plan relies heavily on their experience, making it susceptible to human error and variability.
In this context, the marketing department maintains a strong interaction with the market, identifying trends, consumer needs, and characteristics for the development of new products and their positioning in different segments. Simultaneously, it gathers product demand, which materializes as purchase orders.
The basic information provided by the marketing department includes the SKU, which contains all specifications necessary for production—such as bottle type and format, closure system, specific label, and packaging configuration—along with the order content, volume (in number of bottles), and the required delivery date. This information is incorporated into the weekly planning meeting, where representatives from the aforementioned departments jointly determine the tactical and operational bottling plan. Based on the agreed plan, the operations department defines raw material requirements and coordinates with the supply department to ensure availability in the plant. The quality department, in turn, sets the product quality standards and operating conditions to be maintained during the bottling process.
Meanwhile, the production department receives the relevant information, requirements, and materials to plan daily execution. Using these, it is responsible for assigning wine batches to bottling lines, defining the production sequence, and coordinating the necessary adjustments and format changes. Finally, the logistics department is in charge of planning the delivery and dispatch routes of the finished products.
This planning dynamic presents particularities that significantly differentiate it from other industrial sectors. Unlike industries such as beer, dairy, water, or juice production, where bottling processes operate with high volumes and more homogeneous production standards, the wine industry deals with SKUs that represent unique products in both format and content. This diversity leads to a high frequency of setup and format changes on bottling lines, due to the wide variety of presentations and the relatively small size of production batches. Furthermore, wine is a product that is especially sensitive to microbiological contamination, which imposes strict sanitization and quality-control protocols. These conditions mean that the planning and execution of the bottling process in the wine industry face specific challenges that require differentiated approaches when compared to other beverage industries.
2. Literature Review
Scheduling problems in production systems have been widely studied, starting with the formulation of the Flow-Shop Problem (FSP), proposed by Johnson [
11]. This model is particularly relevant to industries with structured production processes, such as bottling. Several extensions have been formulated to represent more complex production layouts. Rao [
12] introduced the Hybrid Flow-Shop Problem (HFSP) which models a scheduling environment where
n jobs must be processed through
m stages, each containing
k machines denoted by (
) with all jobs follow the same stage order, as opposed to the fixed machine sequence in the FSP.
Additionally, time-dependent scheduling models, for which an extensive review is found in Gawiejnowicz [
13], classify processing times as either monotonic or non-monotonic, fluctuating based on job characteristics and machine performance.
To further address the limitations of traditional models, researchers have introduced family setups which group similar jobs and reduce transition times. Models for unrelated parallel machines, as explored by Graham [
14], handle heterogeneous capacities. Finally, the inclusion of sequence-dependent setup times, as highlighted by Allahverdi et al. [
15,
16], underscores that setup times can vary significantly with the order of job processing, making sequencing a critical factor in optimizing production efficiency.
However, a significant limitation in the literature involves properly accounting for job ordering in multi-machine scenarios, especially when setup tasks require extensive reconfiguration processes. This is particularly significant in industries such as wine bottling, where changing from one wine type to another demands substantial cleaning and adjustment. Our work addresses this gap by proposing a continuous-time scheduling model that integrates hydraulic considerations and complex sequence-dependent setups.
2.1. Scheduling of Bottling Operations
There has been significant interest in researching the final stage of beverage production from a tactical perspective. The General Lot Sizing and Scheduling Problem (GLSP), introduced by Fleischmann [
17], laid the foundation for addressing production quantities and scheduling decisions sequentially. Meyr (2000) [
18] expanded this model to include sequence-dependent setup times (GLSPST), where setup costs vary with the processing order, and later extended it to parallel production lines (GLSPPL) for high-volume operations [
19].
In a historical context, the Simultaneous Lot Sizing and Scheduling Problem (SLS), formulated later by Clark (2000) [
20], integrates lot sizing and scheduling decisions into a single model. Additionally, Clark’s extension in 2011 [
21] incorporates time-dependent setups and period overlapping, further adapting the model to real production systems where both time and sequence are critical.
These models have proven valuable in bottling operations across various industries, including the works of Ferreira et al. (2012) [
22] and Toledo et al. (2015) [
23] in the soft-drink and mineral-water sectors, as well as studies on beer by Baldo et al. (2017) [
24] and Toscano et al. (2019) on fruit-based beverages [
25]. Toscano et al. (2020) [
26] emphasize that efficient synchronization between preparation and bottling stages is essential to minimizing idle time and ensuring continuous production flows.
In the specific case of wine-bottling operations, however, the available models are more limited. Berruto et al. (2006) [
27] propose a simple scheduling model for a single production line with multiple products that primarily considers personnel capacity via normal and overtime hours, lacking flexibility in team allocation. Basso and Varas (2017) [
28] introduced an MIP formulation to address bottling scheduling, while Basso (2020) [
29] proposed a collaborative approach to scheduling in this context. Mac Cawley et al. (2022) [
30] further contributed by developing a robust scheduling method for large-scale wine-bottling operations, employing decomposition techniques to efficiently handle the complexities of sequence-dependent setups and reconfiguration processes. These contributions underscore the need for an integrated, advanced scheduling model that can effectively address the challenges unique to wine-bottling operations.
2.1.1. Physicochemical Properties and Their Relationship with Filtration
The efficiency of wine filtration is significantly influenced by its physicochemical properties, including viscosity, density, and surface tension. De la Garza et al. noted that an increase in viscosity leads to greater flow resistance through porous media, which requires higher pressures to maintain an adequate filtration rate [
31]. This phenomenon is particularly relevant in continuous filtration applications, where variations in wine composition directly impact both the duration and quality of the filtration process. Alsawaftah et al. further explain that surface tension and density influence the formation of filter cakes that accumulate on the membrane surface [
32]. These layers of particles affect permeability and increase the frequency of required maintenance, highlighting the importance of controlling the physicochemical properties of wine to enhance process efficiency and minimize membrane fouling. Additionally, recent studies have explored in greater depth the relationship between fluid dynamics and filtration performance. Yanniotis et al. demonstrated that compounds such as ethanol, dry extract, and glycerol significantly affect wine viscosity, influencing its behavior when flowing through filtering media [
33]. Moreover, Lee and Bush analyzed how surface tension and density determine bubble stability, a phenomenon relevant to the liquid–gas interface in filtration systems [
34]. Finally, Venerus and Nieto Simavilla described how surface-tension gradients generate capillary flows in complex liquids such as wine, which can be extrapolated to the formation of deposits on membranes during filtration [
35].
2.1.2. Impact of Particle Content on Membrane Fouling
The accumulation of suspended particles, including phenolic compounds, proteins, and sediments, plays a central role in membrane fouling during wine filtration. These particles tend to form deposits on the membrane surface, reducing permeability and increasing hydraulic resistance over time. Umiker and colleagues demonstrated that such particle accumulation decreases the effective filtration area and leads to a rise in the pressure required to maintain a constant flow rate, which in turn raises operational costs and prolongs filtration cycles [
36]. This phenomenon is further intensified in fluids with high organic load or fine particulate matter, where pore blockage and surface layering become more frequent [
7,
9]. Mathematical models developed by researchers such as Sanaei and Song have provided tools to simulate these effects by incorporating particle transport, adsorption dynamics, and resistance accumulation into predictive frameworks [
37,
38]. These models highlight how particle content not only influences membrane performance but also directly impacts the frequency of maintenance, cleaning protocols, and overall process stability. Understanding the interaction between particle properties and membrane dynamics is therefore essential for improving filtration efficiency and designing more resilient wine-processing systems.
In
Figure 1, the evolution of the hydraulic performance of a bottling line is presented. The figure shows how the progressive reduction in flow rate, due to the obstruction of pores on the filtration surface, affects the processing time of a batch.
2.1.3. Methods for Quantifying Clogging Potential
To quantify the fouling potential of wine, experimental methods are used to evaluate its hydraulic behavior under controlled conditions. These tests do not aim to replicate the industrial filtration process exactly—where both flow rate and pressure may vary dynamically—but rather employ a constant-pressure system to isolate the effect of filter clogging on flow capacity.
In the wine industry, the most commonly used indicators for this purpose are the Laurenty Index and Vmax [
7,
39]. Both indicators are calculated under the same operational conditions: a temperature of 20 °C, a constant pressure of 30 psi, and filter discs of 25 mm in diameter with a pore size of 0.65 µm, using a constant-pressure setup [
40,
41]. The test involves filtering a total volume of 400 mL using a sealed, pressurized system that maintains steady pressure throughout the procedure.
The Laurenty Indexis calculated by recording the time required to filter the first 200 mL and comparing it with the total time taken to filter all 400 mL. The difference between these two times reflects the rate at which the flow decreases due to progressive clogging of the filter. A larger time gap indicates higher fouling potential. In industrial practice, wines with a Laurenty Index below 35 are typically considered suitable for bottling, as values above this threshold are associated with significant filtration deviations and potential operational disruptions.
On the other hand, Vmax is defined as the maximum volume that can be filtered before reaching a critical operating threshold—such as a minimum acceptable flow rate or a critical pressure drop [
8]. This metric is directly linked to the effective filtration area, providing a more direct and operationally useful interpretation of hydraulic performance. In this context, Vmax offers a clearer interpretation, as it allows the filtered volume to be associated with a known surface area [
40,
41]. The industry generally requires wines to exceed a minimum Vmax value of 4000 mL to ensure process efficiency and avoid excessive filter replacements.
These evaluations are carried out systematically once the wine has completed its stabilization and is ready for bottling, as part of quality-control procedures aimed at anticipating hydraulic behavior, optimizing lot allocation, and minimizing unplanned downtimes in bottling operations [
42].
2.1.4. Application of Darcy’s Law for Calculating Flow Rate and Processing Time
Darcy’s law is fundamental in modeling fluid flow through porous media. Delagarza highlighted that this equation incorporates fluid properties, such as viscosity, as well as filtration-medium characteristics and operational conditions, allowing for a precise prediction of initial flow rates and pressure adjustments based on wine conditions [
31]. By integrating these factors, Darcy’s law facilitates operational planning by allowing wineries to anticipate processing times and reduce the impact of fouling on membranes, optimizing the filtration system’s efficiency according to wine characteristics and operational demands.
In Equation (
1), Darcy’s law is represented, establishing that viscosity has a negative association with flow rate and a positive association with the pressure differential during the filtration stage. According to the literature, this variable is influenced by factors such as temperature, sugar content, the use of additives (e.g., arabic gum and carboxymethyl cellulose), and alcohol content. Additionally, operational conditions are represented through the pressure differential, which is directly associated with the flow rate (m
2). In this context, higher flow rates result in higher pressure differentials. Furthermore, fouling capacity impacts the flow rate through a progressive reduction in the filtration area as particles obstruct the filter surface.
In
Figure 2, the interaction of variables affecting the filtration and bottling process is illustrated, highlighting that assigning a wine batch to a specific filtration and bottling line is a non-trivial decision. This is because the processing time associated with a batch, as presented in Equation (
15), depends on both hydraulic properties and the characteristics of the filtration medium, as well as the fouling capacity. Therefore, selecting the optimal route for bottling must necessarily consider the actual flow rate and effective processing time, rather than relying solely on the nominal flow rate, as is commonly done in current industrial practice.
2.2. Resolution Algorithms
The scheduling of operations in the wine industry has been tackled using various resolution methods including heuristics, metaheuristics, and exact approaches, each offering distinct trade-offs. Heuristic methods, like those proposed by Berruto [
27], provide fast, feasible solutions to reduce downtime but often lack precision and scalability in environments with high variability and frequent format changes. Metaheuristics (e.g., genetic algorithms as applied by Baldo [
24]) can reduce transition times but may fall short when exact solutions are required. In contrast, mixed-integer programming (MIP) models, such as those developed by Basso [
29], deliver detailed optimization by incorporating sequence-dependent setup times; however, they struggle with simultaneously allocating multiple batches across different production lines.
Mac Cawley et al. [
30] have further contributed by employing a decomposition algorithm for large-scale wine bottling, achieving cost reductions of 15–30% through effective handling of sequence-dependent setups across parallel lines—though their approach can be computationally intensive and is often tied to specific operational data under the assumption of two setup types. In light of these limitations, our work proposes an exact and continuous scheduling approach that avoids time discretization, enabling a more precise modeling of processing and setup times. This method thoroughly evaluates all possible batch combinations for filtration and bottling, supports daily operational decision making in environments with a finite number of lines, and aligns with Meyr’s observations on the critical role of sequence-dependent setups in optimizing production flow. Overall, our framework offers robust, scalable, and adaptable support for precise and efficient daily planning in the wine-bottling industry.
2.3. Research Gaps and the Contribution of This Study
Despite advances in bottling operations modeling, the reviewed literature reveals significant limitations in the representation of critical physical conditions, particularly during the filtration stage. Most existing approaches assume constant nominal flow rates, overlook the dynamic effects of clogging potential, and fail to explicitly incorporate the physicochemical properties of wine, such as viscosity or particle composition. Additionally, although some studies have considered sequence-dependent setup times, their application has been mostly confined to generic contexts or based on simplified assumptions. In response to these gaps, this study proposes an exact mixed-integer programming model that incorporates a continuous-time processing approach based on Darcy’s law, allowing for a realistic representation of flow-rate reduction due to clogging. The model integrates both the hydraulic parameters of the wine and the technical configurations of filtration and bottling lines, including setup times associated with format changes. Through this formulation, the study captures the interaction between product properties, line configuration, and operational decisions, offering a robust daily planning tool applicable to real-world settings such as the Chilean wineries included in the case study.
3. Problem Description
The problem focuses on the efficient planning and sequencing of operations in a winery, with an emphasis on the filtration stage, an area that has been little explored in the literature. Filtration presents critical constraints due to the clogging potential of particles in the wine, which is measured using indicators that estimate filtration speed, flow reduction, and pressure differential increase. If not controlled, this process can cause interruptions, increase operational costs, and introduce variability in processing times. These factors directly affect production efficiency, compromising the ability to meet demand profitably.
The developed model aims to minimize the total production time by optimally assigning wine batches to filtration and bottling lines. Each filtration line has different pore sizes and filtering areas, which affect hydraulic performance depending on the physicochemical properties of the wine, such as viscosity. In addition, the assignment to the bottling line is limited by maximum flow rate and bottle type. The solid content in the wine, measured by the clogging index, impacts the flow and processing time. After each batch, it is possible to perform washes or adjustments that clean the filters and extend their lifespan, reducing uncertainty and allowing for better planning.
Based on the notation of [
14]
, we propose a
/
/
indicating a flexible (Hybrid Flow Shop) with unrelated parallel machines with a sequence-dependent batch or family setup time that minimizes makespan.
3.1. Transitions and States in the Bottling Process
The states of the bottling system refer to the different levels of operation, adjustment, preparation, and cleaning of the production lines, which are necessary to ensure compatibility between different types of wine and packaging formats. State represents the system during the bottling process, that is, when the line is operational and actively processing a batch of wine. In this state, the production flow is expected to be continuous, and all operational parameters are adjusted to maintain the efficiency of the process.
State corresponds to the adjustment of a format or parameter of the production line. This adjustment may include changes in the type of bottle, the closure system (such as cork or crown cap), labeling, or packaging, which are necessary to adapt to the SKU specifications. Additionally, it may include a cleanse or replacement of the filter based on the current condition and the filtration requirement of the following batch. This state implies a brief interruption in the production flow while these changes are made to ensure that the equipment is properly configured for the new format.
In contrast, states , , and correspond to known and fixed values that represent sequential cleaning and adjustment activities.
3.2. Batch-Processing Time
Our approach to the scheduling problem seeks to sensitize the batch-processing time considering a decrease in the flow over time due to clogging. Each production line comprises two stages: filtering and bottling. The nominal flow for both stages is determined by SKU-specific parameters. In the case of filtration, the admissible flow rate is determined by the filtering area available, calculated for the number of filters that a housing can contain and the pore diameter of the filter itself, which is specified in accordance with the filtering requirements of the batch. For the bottling stage, bottle size is the parameter that conditions the capacity of the line; furthermore, it is assumed that the flow will remain constant for this stage. With regard to the aggregated flow, the minimum of both is considered.
In the literature, authors have considered a processing-time calculation based on the nominal flow of the line, thereby overestimating the actual production capacity.
In order to model the reduction in flow rate resulting from filter clogging, a Darcy estimation is employed. This is a validated approach for describing the hydraulic performance of a fluid in a porous medium [
43].
In principle, there are two possible scenarios: (1) The admitted flow rate through the filtration line (i.e., the Darcy flow rate, ) is greater than the flow rate through the bottling line (i.e., the operational flow rate, ). In this case, the latter will be considered the initial flow rate. (2) Conversely, if the operational flow rate is greater than the Darcy flow rate, the initial flow considered is that from the filtration stage. In both scenarios, the objective is to model the decline of the flow rate, represented by the function , to the minimum acceptable threshold, , as a fraction of the initial condition. At this point, the filters must be cleaned or replaced to restore efficient operation within tolerable margins. The reduction in flow rate is attributed to the accumulation of solids within the filters, which decreases the available filter area, , resulting in an exponentially distributed decline. The rate of filter clogging depends on the physicochemical characteristics of the wine batch being processed.
The variables and the modeling procedure will be defined in the following section, according to the cases described.
3.2.1. Variables
: Total volume of the batch to be filtered.
: Operational flow rate.
: Flow rate determined by Darcy’s law.
: Time when the flow rate starts to decrease due to clogging.
: Total filtration time.
: Filter clogging rate.
K: Combined permeability and thickness coefficient, .
- -
k: Filter permeability coefficient.
- -
L: Filter thickness.
: Initial filtration area.
: Pressure differential.
: Fluid viscosity.
: Minimum allowable flow rate.
3.2.2. Development
During the initial phase, the flow rate is given by:
There are two possible cases:
Case 1: . In this case, the flow rate is forced to
and the volume filtered during this phase is:
Case 2: . In this case, the flow rate is determined by Darcy’s law, i.e.,
, and the filtered volume is:
If , filtration does not occur.
From
onwards, the flow rate starts to decrease due to clogging. The effective filtration area decreases exponentially:
The flow rate during this phase follows Darcy’s law:
The volume filtered during the second phase
is:
Total filtered volume
The total filtered volume is the sum of the volumes filtered in both phases:
Substituting the expressions for and , we have two cases:
Case 2: :
Solving for total filtration time
To solve for
, we begin by the right-hand side of the equation:
Multiplying both sides by
:
Solving for
:
Finally, taking the natural logarithm for both sides:
Final equation
where
will depend on whether
or
.
3.3. Sequence-Dependent Setup Transitions
A crucial aspect to address in the model is the sequence-dependent setup times. In the literature, this is typically classified into families of setups, including both major and minor operations. Major operations involve tasks such as bottle changes, while minor operations include cleaning the line or labelling [
24,
30].
In particular, we define one aspect of the sequence-dependent setup times for the desired SKU format within a specified batch, denoted as . This refers to adjustments made to the bottling line to meet the specific requirements of the SKU. Factors to consider include the type of bottle (size, shape, weight), labeling, the type of closing (crown or corking with respective capsule), and packaging. It must be acknowledged that the operational constraints of each line determine the admissibility of specific formats.
Subsequently, a transition matrix will be defined for each setup task, as changes from one SKU to another may require one or more adjustments, with execution times varying accordingly. In general, large wineries handle between 100 to 200 SKUs. The more complex setup processes typically require approximately 60 to 90 min, reflecting enhanced operational efficiency enabled by novel machinery. Additionally, the setup transition matrix can be clustered in order to reduce its dimensionality. For instance, labeling can be defined as fixed with a lower-bound setup time, as it is necessary to change the label for every SKU transition.
Moreover, accounting for available workforce is essential for effective planning [
30]. We will consider the maximum setup time across all tasks, allowing for parallel execution if there are sufficient workers. Otherwise, if the workforce is limited, we will sum the individual task-execution times. This approach allows for the adaptation of setup times based on the operational conditions of the winery.
7. Discussion
The results reveal a complex interaction between the hydraulic properties of the wine, fouling capacity, and the physical characteristics of the filtration and bottling systems. While the deviations observed in lines 1 and 2 (61 and 63 min, respectively) represent an 11% increase in the total production plan time, these differences cannot be solely attributed to the physical filtration capacity. Line 2, with a larger filtration area (18 m2 compared to 12 m2 for line 1), showed a similar deviation, highlighting that increasing the filtration area does not guarantee a proportional reduction in operational deviations.
This behavior suggests that the wine’s fouling capacity and hydraulic properties, such as viscosity and suspended particle concentration, play a dominant role in reducing flow rate and system efficiency, regardless of the filtration area size. While a larger area may delay the impact of fouling, it does not completely eliminate the limitations imposed by the wine’s intrinsic properties.
Variations in wine viscosity or fouling capacity (e.g., increased solids content) lead to longer bottling times and may consequently necessitate recalculating the optimal solution to adjust both the processing sequence and batch assignment. Nonetheless, the statistical validity of the allocation obtained through the MILP model does not rely on hypothesis testing or random sampling, since the approach is deterministic: the optimal solution is grounded in the mathematical formulation itself, rather than in probability-based variability. Accordingly, the model remains applicable as long as the physicochemical parameters (e.g., viscosity) or fouling indicators are properly updated; this enables dynamic, continuously optimal scheduling in line with the wine’s actual conditions, rather than focusing solely on operational transitions. Instead of employing statistical tests, the robustness of the results is determined by directly comparing the proposed allocation with the company’s current policy and by conducting sensitivity analyses, thereby confirming the model’s effectiveness under reasonable parameter changes.
Additionally, the times allocated for batch transitions remained consistent as planned, indicating that the observed deviations are directly linked to the bottling process rather than peripheral operations. This reinforces the need for targeted strategies to mitigate hydraulic limitations, such as dynamically adjusting planned times based on the type of wine being processed. These results question the sustainability of the current production-planning model, which assumes homogeneity in batch performance and does not fully integrate hydraulic and fouling differences into its design. This limitation could be addressed through a more predictive approach, incorporating real-time data on flow rate and filtration resistance, enabling more accurate planning and reducing costs associated with operational deviations.
The development of optimization models that incorporate real variables significantly contributes to planning and scheduling in the wine industry. Throughout this work, it has been demonstrated that meticulously considering critical stages such as filtration, including factors like the clogging index, operational conditions of the process, and the physicochemical properties of the wine, allows for the generation of efficient production plans that better address the inherent uncertainty of this industry’s nature. By integrating these variables into the proposed model, the allocation and sequencing of batches in the filtration and bottling lines are optimized; similarly, the total processing times are minimized and interruptions in the production line are reduced. This operational approach, applicable to wineries of any size, underscores the importance of advancing optimization models that reflect practical production conditions and address the specific complexities of the wine sector. In this context, the results of the proposed mathematical model demonstrate the advantages of an optimized assignment between filtration and bottling lines, highlighting how the combination of filtration line F2 with bottling line L1, and F1 with L2, minimizes operational disruptions by avoiding line changes that require an additional 90 min. However, these results also reveal that the model’s efficiency heavily depends on the alignment between batch properties and the filtration-line capacities. While batches assigned to F2-L1 benefited from a larger filtration area (18 m2) that mitigated the impact of fouling, batches processed in F1-L2, with a smaller area (12 m2), required more precise coordination to avoid significant delays. This underscores the need to incorporate real-time data into production planning, enabling dynamic adjustments to further enhance operational efficiency. Additionally, considering filtration lines with greater capacity can significantly contribute to improving operational efficiency without increasing operational costs, as it reduces the time associated with hydraulic limitations and fouling effects.
Although the results indicate that increasing the filtration area does not guarantee a proportional reduction in operational deviations, the implementation of parallel filtration lines emerges as a promising strategy to significantly improve both productivity and system resilience. This configuration enhances operational flexibility by enabling workload redistribution, allowing for maintenance activities without production interruptions, and adapting more effectively to different filtration requirements based on the characteristics of each wine batch. While this approach requires a higher initial investment in infrastructure, the associated benefits—such as reduced downtime, greater continuity in production flow, and improved responsiveness to variations in viscosity, solid content, and fouling potential—can lead to a substantial increase in overall process efficiency. Therefore, the analysis suggests a favorable balance between the additional cost of incorporating parallel lines and the gains in productivity and robustness, particularly in settings where high product variability and demanding operational constraints are present. Although this strategy may not completely eliminate deviations, it supports the development of a more resilient system capable of dynamically adapting to changing process conditions.
In the context of production planning in the wine industry, it is feasible to establish a higher level of planning, such as optimal scheduling on a weekly basis or over other longer time intervals. This would allow for addressing resource allocation and batch sequencing from a strategic perspective, optimizing operational efficiency and the fulfillment of medium-term objectives. However, due to the complex nature of the problem and the considerable volume of data involved, the application of exact methods like MIP can become computationally impractical for longer planning horizons. Therefore, it is advisable to consider the use of heuristic or metaheuristic methods to tackle this optimization at a macro level. These approaches allow for obtaining high-quality approximate solutions in reasonable computational times, better adapting to long-term planning needs and facilitating a more agile response to variations in demand and operating conditions.
Nevertheless, in the present study, the model is conceived for an operational planning horizon restricted to a single workshift. Processing times are introduced as calculated parameters, obtained beforehand through calculation based on the wine’s physicochemical characteristics and the operational constraints of each possible line. This external calculation significantly reduces the dimensionality of the problem, enabling the effective use of exact methods such as mixed-integer programming. Consequently, under this operational approach, the incorporation of heuristics or metaheuristics is not required, as the computational complexity remains within a tractable range.
However, if future models were to incorporate the dynamic calculation of processing times within the optimization routine, by directly embedding hydraulic and physicochemical parameters into the decision variables or constraints, the resulting increase in model complexity could challenge the feasibility of exact methods. In such cases, the use of heuristic or metaheuristic approaches would be a promising alternative to handle the combinatorial explosion of configurations and ensure reasonable solution times for practical deployment.
The results obtained demonstrate that, although the proposed model achieves efficient batch allocation and reduces operational interruptions, its performance is conditioned by the computational complexity associated with problem size and variability in operating conditions. In this context, the value of complementing exact models with heuristic or metaheuristic approaches becomes evident, as these methods help reduce computation times without significantly compromising solution quality. The structure of the problem—with multiple lines, diverse products, and sensitive operational parameters—proves to be well suited for these techniques, which have shown strong performance in similar industrial scenarios. Additionally, the observed repetition of patterns in the behavior of certain batches and line combinations suggests that machine learning-based approaches could be integrated as predictive tools or decision-support mechanisms. Specifically, models trained on historical data could anticipate hydraulic behavior and fouling potential, allowing for dynamic adjustments in planning that further enhance operational efficiency. Therefore, the results not only validate the effectiveness of the proposed model but also support the integration of more computationally flexible methods to address larger-scale or higher-variability scenarios.
Limitations and Future Work
This work, by considering specific characteristics and calculations related to the hydraulic and physicochemical properties of wine, can be computationally intensive and require a substantial amount of detailed information. This complexity may limit the model’s applicability in environments with limited data resources or where exhaustive information collection is not feasible. Therefore, it is advisable to explore new approaches based on machine learning to estimate hydraulic performance and processing time using historical process information, which could simplify calculations and enhance the model’s adaptability to different operational conditions. Additionally, other models that incorporate probabilistic scenarios can be investigated, which would contribute to a more comprehensive consideration of processing time within the production plan, allowing for better management of the inherent uncertainty in viticultural processes. Another aspect to consider is the development of a new weekly planning method that optimizes resource allocation and batch sequencing over longer periods. Finally, the use of heuristics and metaheuristics as resolution methods could offer more scalable and computationally efficient solutions, especially in larger wineries with a wide variety of SKUs and multiple production lines. These future research directions would enhance operational efficiency and also increase the flexibility and robustness of optimization models in the wine sector.
Given the inherent variability in the physicochemical properties of wine and their impact on filtration performance, it is essential to develop mathematical optimization models under uncertainty to rigorously determine the optimal filtration-system configuration. These models could integrate variables such as projected demand, expected fouling frequency, average hydraulic properties, and the availability of technical resources, with the aim of identifying both the optimal batch-to-line assignment matrix and the total filtration area required. By incorporating uncertain scenarios and stochastic parameters, such models would enable the evaluation of different infrastructure and operational combinations, identifying those that achieve a balance between equipment investment and operational costs related to maintenance, downtime, and production efficiency. This approach would support strategic decision making aimed at optimizing system profitability in the medium and long term, offering a robust tool for capacity planning in complex production environments such as the wine industry.
Furthermore, we acknowledge that the current model estimates processing times externally based on predefined physicochemical parameters. While effective, this approach limits the exploration of how variations in critical parameters (such as viscosity, filter permeability, and clogging rate) impact not only processing time but also the sequence-dependent setup tasks required. As these three variables interact and jointly affect the filtration performance of a batch, conducting a structured sensitivity analysis would provide valuable insights into how this variability propagates through the scheduling model and influences its outputs. Although any variation in these parameters represents a different wine profile, such an analysis remains essential for understanding how to better manage operational risk within a production plan. In particular, it could support the classification and handling of high operational risk batches that require special scheduling strategies. Additionally, studying this interaction can inform future efforts to incorporate processing time calculations directly within the optimization model, especially considering heuristics-based methods, where dynamic parameter-driven modeling could enhance adaptability without overwhelming computational complexity.
In response to the computational challenges commonly faced by smaller-scale wineries, it is necessary to develop simplified and adaptable versions of the proposed model. In environments without access to advanced computing resources, an effective strategy involves reducing model complexity by clustering SKUs into product families with similar operational characteristics, significantly decreasing the dimensionality of the setup time matrix. Another practical approach is the implementation of heuristic methods or predefined assignment rules for sequencing, which, although sacrificing some degree of optimality, can provide sufficiently good solutions with lower computational effort. Moreover, instead of executing the model continuously or daily, wineries may apply weekly planning cycles or utilize preconfigured scenarios based on typical operating conditions, substantially reducing the processing load. Predictive models based on historical data can also be explored to estimate processing times or hydraulic behavior without fully solving the optimization model, thereby enabling faster and more feasible decision making in resource-limited contexts. Additional practical implementation strategies suitable for small-scale wineries include limiting the number of bottle formats to reduce line-adjustment complexity, grouping wine batches with similar hydraulic properties to minimize clogging effects, and adopting operational rules based on predefined changeover matrices, thereby decreasing the need to solve the full model daily. These approaches allow for the practical adaptation of the model to smaller-scale operations, maintaining its utility and contributing to enhanced production planning in the sector. Such strategies underscore the potential of integrating simplified heuristic methodologies and predictive models to support decision making in computationally constrained environments. Aligning model complexity with available infrastructure and incorporating data-driven predictive tools helps maintain high operational efficiency, ensuring wineries of varying scales can benefit from advanced optimization techniques. Future research could focus on integrating these alternatives into a unified decision-support framework, complemented by rigorous sensitivity analyses and validations based on historical data, to fine-tune model performance and further enhance production-planning processes in the wine industry.
In addition to the simplifications proposed for small-scale operations, it is also necessary to address the computational complexity introduced by the binary decision variables associated with sequence-dependent, particularly in larger or more intricate production environments. To this end, we suggest exploring structural decomposition techniques that separate configuration-related decisions (such as equipment compatibility and format changes) from operational sequencing. This layered approach can reduce the dimensionality of the optimization space and facilitate more efficient solving routines. Moreover, the integration of heuristic and metaheuristic methods, including Genetic Algorithms, Tabu Search, or GRASP (Greedy Randomized Adaptive Search Procedure), could offer robust approximations in significantly shorter computation times. These techniques are especially suitable when the number of SKUs and transitions becomes large, enabling planners to preserve solution quality while improving scalability and responsiveness. Future research could focus on benchmarking these alternative approaches against the exact method, identifying trade-offs between optimality and practicality across different planning scenarios.
Finally, the economic evaluation of the impact of a model such as the one proposed in this study represents a particularly relevant avenue for future research. Assessing the implications of the model in terms of tangible economic benefits would contribute significantly to its adoption in the industry, while also enhancing the efficiency and competitiveness of operations. In this regard, future studies could address this gap through the use of Data Envelopment Analysis (DEA), allowing for the assessment of the relative efficiency of different process lines or wineries by considering operational cost as the Decision-Making Unit (DMU). This approach would enable objective comparisons between production systems with varying levels of technological implementation and planning criteria, providing quantitative evidence of the added value of incorporating hydraulic variables into operational decision-making.