1. Introduction
Efficient inventory management is a critical challenge for companies in various sectors, especially for the pharmaceutical sector, where it is essential to maintain a constant flow of medicines available to meet customer demand [
1]. Excessive inventory can lead to high storage costs, while insufficient inventory can lead to stockouts and lost sales, affecting both the company and its customers [
2,
3]. This problem is exacerbated under uncertain demand conditions, where product demand variability can make planning and controlling inventory levels challenging [
4].
In this context, the central problem this research addresses is the difficulty of efficiently managing inventories under uncertain demand, which can lead to high costs, stockouts, and loss of profitability.
A case study in a pharmaceutical company aims to evaluate the effectiveness of the proposed model and determine whether it enables improved inventory management under conditions of uncertain demand. The basis of the problem is that in healthcare and pharmaceutical contexts, uncertainty in demand, supply delays, and product perishability can generate severe consequences, from high costs and waste to shortages that compromise patient safety [
1,
4]. This complexity increases when inventory is managed as a multi-period problem, since decisions in one period directly affect future stock levels, holding costs, and service performance, making dynamic and adaptive models necessary [
5,
6]. Additionally, the impact of time variations—such as seasonal fluctuations in demand, uncertain lead times, and time-dependent costs caused by inflation, obsolescence, or perishability—further complicates inventory planning [
3,
7]. These limitations highlight a research gap, underscoring the need for models that extend the inventory planning model into multi-period, time-sensitive, and uncertainty-aware approaches to balance cost efficiency with service reliability [
8,
9].
The main objective of this research is to develop a multi-product, multi-period inventory planning model that optimizes inventory management in a pharmacy. To achieve this objective, it is necessary to study and analyze each stage of the drug supply process to build a mathematical model. The analysis of this model enables the creation of strategies that offer various benefits, such as reducing storage costs, avoiding stockouts, and improving product availability, thereby contributing to more efficient and profitable inventory management. The study contributes to existing literature by validating a real-world case study using field data. It incorporates scenario-based analysis to account for various operational conditions, highlighting the significance of integrating operational efficiency with service reliability in pharmacy supply chains.
This article is structured as follows:
Section 2 incorporates a literature review, which reports on the role played by the pharmaceutical industry. It also presents various models used to optimize its processes and different statistical tools that can be complemented with the models to develop a better study.
Section 3 presents the detailed mathematical model for optimizing the pharmacy’s medicine supply.
Section 4 presents the corresponding materials and methods for collecting relevant data that may be useful in developing the mathematical model.
Section 5 presents the results yielded by the IBM ILOG CPLEX Optimization Studio, Version 22.1.1.0, including the suggested budget capacity, improved planning for orders placed by periods, and the quantity of products needed to order.
Section 6 presents the discussion where the results will be analyzed and compared with the decisions made before the study. Finally,
Section 7 contains the conclusion of the study.
2. Literature Review
The pharmaceutical industry plays a crucial role in the economic development and social well-being of any community. Healthcare systems aim to provide patients with appropriate care and treatment [
1]. To achieve this, the pharmaceutical supply chain within the healthcare system must be effective and efficient.
The medication supply process in healthcare institutions is crucial as it directly impacts service quality, operating costs, and the availability of supplies for patient care. Research shows that many issues in this area stem from supply chain deficiencies [
10,
11]. The pharmaceutical supply chain has grown increasingly complex, involving multiple stakeholders, including manufacturers, wholesalers, distributors, customers, information service providers, and regulatory agencies [
5]. Consequently, any disruption in this supply chain can lead to significant crises [
3].
One of the primary challenges in pharmacy services is stock management, which complicates the supply chain [
5,
7,
12,
13]. This issue arises from various factors, including demand uncertainty and delivery delays [
2]. A major contributing factor is the tendency to maintain high inventory levels, creating a false sense of security regarding the ability to meet customer demand, prevent stockouts, and secure bulk purchase discounts. However, this approach can be problematic as it leads to elevated costs and, if not managed properly, may adversely impact patient health.
Improving the performance of the pharmaceutical industry supply chain is becoming increasingly essential as organizations strive to achieve customer satisfaction at a lower cost. Logistics enables hospitals to maintain a good circulation of pharmaceutical products, reduce stock, minimize waste, and provide more accurate inventory tracking [
14]. Given the performance improvements in the supply chain, numerous studies offer relevant recommendations to address the root causes of supply chain issues and pharmaceutical inventory management problems in the healthcare industry [
1]. Pharmaceutical supply chain management requires effective inventory control plans and stakeholder alignment.
In this context, the pharmaceutical industry has also sparked the interest of scholars from various disciplines, including chemistry, engineering, and environmental sciences [
15], as well as researchers in developing and implementing methodologies to address pharmaceutical supply chain problems. Most researchers focus on optimization model methodologies [
16]. Mathematical models are essential for evaluating and identifying key metrics that measure potential outcomes in target transformation situations. They can also be modified to generate effective solutions. A mathematical model of the supply chain should enable an analytical assessment of both its current state and alternative scenarios. It includes examining its structural and behavioral characteristics in response to changes in patient needs, market demands, and resource availability. From a practical perspective, future pharmaceutical supply chain models should be designed to predict and meet patient demand accurately.
A study developed two mathematical models that were considered using real data and simulated scenarios within a pharmacy-hospital context, specifically addressing demand uncertainties [
9]. The first model focuses on determining replenishment dates over a specified planning horizon, resulting in cost reductions. In contrast, the second model identifies acceptable expiration dates, which helps the hospital minimize the number of expired medications and optimize inventory levels. Additionally, a simulation model was developed to assess supply chain costs in Colombian hospitals [
17]. This model was adapted and validated using real data from the clinic to represent the final cost behavior of medications accurately. The research determined that the final cost of medications varies and is influenced by several factors.
Some models include multimodal transportation to optimize various aspects of pharmaceutical production and distribution, including allocation, ordering, stock management, and transportation [
10]. This approach enhances supply chain management, leading to increased patient satisfaction. Additionally, a study has introduced a model and a heuristic method for addressing supply chain issues, which can reduce both the total costs and delivery times of pharmaceutical supplies to hospitals and pharmacies while improving the reliability of the transportation system [
18]. Furthermore, due to the rising demand for medications during the pandemic, accurately forecasting drug demand is crucial for minimizing costs, ensuring timely patient service, and preventing drug shortages.
Other studies address the location-inventory problem, with a specific focus on pharmacies. Both studies aim to develop a mathematical model that simultaneously addresses both problems, thereby increasing patient accessibility and improving operational efficiency and patient care [
18,
19,
20,
21]. Another research study develops a mathematical optimization model to design a pharmaceutical supply chain that considers drug corruption, considering three key objectives: economic, social, and environmental. A fuzzy programming approach is used to solve the developed model. Numerical evidence from a case study shows that the suggested model is effective and valid.
A period-based dynamic programming model considers stochastic demand [
22]. The model is first solved as a mixed-integer linear programming model in Lingo, and then a genetic algorithm (GA) approach is proposed for large-scale problems. This critical study enables managers to make informed decisions about maintaining the optimal quantity of items in their warehouses, thereby utilizing their budgets more efficiently.
A bi-objective mixed integer linear programming model was developed to design a perishable pharmaceutical supply chain network under demand uncertainty, simultaneously minimizing the total network cost and the amount of lost demand [
7]. Similarly, a bi-objective mixed-integer linear programming model was constructed to manage a hospital’s pharmaceutical supply chain, aiming to reduce the total cost of obtaining drugs from multiple suppliers and selecting the most appropriate source [
23]. Using real-world data, the results obtained from model implementations and sensitivity analysis confirm the efficiency and validity of the suggested mathematical model and solution strategy.
A two-level stochastic mathematical model is proposed for optimizing inventory and allocation over multiple periods in a multi-tier supply chain network [
24]. This model addresses uncertainties in demand and incorporates multiple sourcing characteristics, aiming to maximize the total expected profit of the supply chain network. Consequently, this approach enhances the efficiency of the linear approximation of the reorder point policy at the strategic level, leading to robust design solutions in the face of uncertainty.
A proposed multi-layer collaborative pharmaceutical supply chain comprises a central pharmacy and multiple regional pharmacies and hospitals [
25]. This system is modeled using a multi-period, multi-product stochastic mathematical approach to minimize drug inventory management costs, including shortages and holding costs. Similarly, a study on a multi-stage Tunisian pharmaceutical supply chain, including a central pharmacy, regional pharmacies, and several hospitals, presents two mathematical models to reduce costs [
26]. In the first model, the optimization focuses solely on information sharing between the central and regional pharmacies. The second model expands this information sharing to include all supply chain members. Numerical results from the study demonstrate how information sharing can lead to significant cost savings.
A multi-objective model that simultaneously considers cost minimization, environmental impact minimization, and service level equity maximization was used [
27]. The study offers practical insights for optimizing pharmaceutical supply chains by balancing economic efficiency with social responsibility to navigate disruptions and challenges successfully. Additionally, a study developed an innovative simulation and optimization system for pharmacy inventory management, using an empirical allocation approach to model demand [
28]. The system was implemented in October 2011 across all Kroger pharmacies in the United States, resulting in increased revenue, reduced inventory, and reduced labor costs for the organization.
One of the most widely used methodologies is the ABC system, which categorizes products based on their economic value or cost impact. Additionally, it is complemented by various approaches, such as lean manufacturing and Kanban, which classify products according to their medical significance or relevance in patient treatment, leading to improved outcomes. The ABC classification method was utilized to assess medication usage within a specific year, while mixed integer linear programming was employed to minimize the cost of managing medication inventory [
29]. The study identified 50 types of medications categorized as group A out of 526 medicines in the hospital. Additionally, the study compares the outcomes of two mathematical models: one that takes medication expiration into account and another that does not.
A systematic categorization using ABC and VED analysis was developed for the medications available at a Dermatology Hospital from 2016 to 2020 [
30]. The results indicated that Category I medications, the most costly and essential for annual revenue, accounted for only 88% of the total expenses. In contrast, Category II and III medications comprised 5% to 10% and less than 5% of the overall costs, respectively. It is essential to utilize these medications effectively. This analytical method has proven to be a valuable tool for decision-making regarding importing and stockpiling. ABC and VED analyses were conducted in an Indian pharmacy to identify items that required strict management control [
31]. The consumption and annual expenditure for each item in the pharmacy during the years 2007 and 2008 were examined. Inventory control techniques were applied, resulting in the following categories: I, II, and III, which showed 4.21%, 22.23%, and 3.56% of the total annual expenditure on medicines, respectively.
Several researchers have implemented the Kanban system, a workflow management method that assists organizations in managing and enhancing work processes, ensuring efficient inventory transportation between cells or facilities, and optimizing inventory management to improve overall workflow efficiency. Some research implemented a Kanban system within a multi-layer pharmaceutical supply chain, presenting how a Kanban system could manage pharmaceutical inventory and enhance information sharing across a multi-tier supply chain [
2,
3]. Similarly, a study implemented the Kanban system based on ABC analysis to improve inventory management in a supply chain suffering from inadequate inventory practices [
32]. The study utilized monthly data collected over a year to conduct the ABC analysis, enabling a thoughtful consideration of the elements to be included in the Kanban system. The results of this analysis indicated an impressive reduction in inventory-related costs of approximately 75%. However, applying this approach in practice is crucial to validate its effectiveness.
The literature review reveals that pharmaceutical supply chains face several challenges, including demand uncertainty, delivery delays, high holding costs, and perishability of products. Many mathematical models have considered cost reductions, reduced waste, and improved service levels. Some studies incorporate ABC and VED classification, lean practices, and Kanban systems to improve inventory control. Then the integration of optimization models with practical tools enhances inventory management, ensuring the availability of medicine, patient satisfaction, and operational efficiency.
6. Discussion
This section presents and analyzes the results obtained from the study, comparing the proposed approach with the one using the developed mathematical model. It focuses on the model’s computational behavior across three different scenarios, where specific parameters were modified to obtain the varying outcomes.
Table 10 presents the budgetary capacities for each scenario being compared, along with the objective function for each one.
Scenario 1 examines a 15% increase in ordering costs resulting from longer drug delivery times, which are caused by inventory availability issues at pharmaceutical companies and drug distribution centers. The findings indicate that this increase in ordering costs does not affect the decision variables but results in total inventory management costs of COP 3,062,518, representing a 1.4% rise in inventory costs.
Table 11 and
Table 12 present the optimal results for the order quantity of products over the period and the inventory level of products by period for Scenario 1.
Scenario 2 considers a 10% reduction in storage costs resulting from the implementation of the best practices in organization and disposal, as well as a decrease in energy rates in the region, combined with government incentives. The total cost obtained for this scenario is COP 2,834,295, representing a 6.57% reduction from the initial costs.
Table 13 and
Table 14 present the optimal results for the order quantity of products over the period and the inventory level of products by period for Scenario 1.
In Scenario 3, a proposal is made to reduce the minimum batch sizes of medicines by 30% to lower the quantity of products held in inventory. Implementing this scenario results in a total cost of COP 2,608,870, which accounts for 15.78% of the initial total costs.
Table 15 and
Table 16 present the optimal results for the order quantity of products over the period and the inventory level of products by period for Scenario 1.
6.1. Comparison of Total Inventory Planning Cost
A comparative analysis is conducted to evaluate the decision made by the proposed model against the original results and the outcomes of three alternative scenarios. The aim is to identify which result leads to the most significant cost minimization. It is essential to note that the same model is applied across all scenarios. This model is designed to provide flexibility in estimating demand while preventing unnecessary orders.
Table 10 presents the budgetary capacities for each scenario being compared, along with the objective function for each one. Additionally,
Figure 3 displays a bar chart that illustrates the position of the objective function for each scenario. Among the scenarios, Scenario 3 achieves the most significant cost minimization, with a budgetary capacity result of COP 2,608,870, leading to a variance of −13.6%.
Figure 4 illustrates the recommended number of units to order for each medication type during specific periods, based on the current pharmacy situation. It suggests placing orders only in months 9, 12, 14, and 16 to minimize inventory planning costs while maintaining sufficient stock levels, thus avoiding medication shortages.
Figure 5,
Figure 6 and
Figure 7 illustrate the optimal order quantities from the supplier for each medication type across different scenarios. Among the scenarios analyzed, scenario three emerges as the most favorable option based on the values of the objective function. An examination of inventory patterns in previous periods reveals an excess of unsold products. Consequently, reducing the minimum inventory level by 30% could lead to a 15.78% decrease in overall inventory planning costs compared to the initial status of the pharmacy.
6.2. Managerial Implications
This study develops and evaluates a multi-product, multi-period inventory planning model for optimizing medicine supply in a pharmacy. The analysis examines three scenarios to assess the impact of changes to operational and cost parameters. In Scenario 1, a 15% increase in ordering costs resulted in a modest 1.4% rise in total inventory costs (COP 3,062,518) without affecting the decision variables. Scenario 2 demonstrated a 10% reduction in storage costs, enabled by best practices and government incentives, yielding a 6.57% cost decrease (COP 2,834,295). Scenario 3 introduced a 30% reduction in minimum batch sizes, resulting in the most significant improvement, with a 15.78% reduction in costs (COP 2,608,870). Comparative analysis with prior studies suggests that storage optimization and reduced lot sizes consistently generate savings across pharmacy contexts [
33,
34]. In contrast, ordering-cost variations have limited effects unless coupled with demand and lead-time uncertainty [
9]. These findings underscore the importance of integrating batch-sizing policies, FEFO-based controls, and uncertainty modeling to strike a balance between cost efficiency and service reliability in pharmaceutical supply chains.
This research highlights the managerial importance of optimizing inventory management, reducing unnecessary costs, and enhancing product availability. The proposed model presents practical insights into how implementing operational policies can lead to cost savings while ensuring a continuous supply of medicine. Managers can use the results to design more efficient procurement strategies, reduce stockouts, and prevent excessive inventory levels that lead to increased waste and costs. The study allows pharmacy managers to anticipate the impact of changes in supply chain parameters and implement policies that balance financial efficiency with service quality, improving profitability and patient satisfaction.
6.3. Limitations of the Study
This study considered the case study of a pharmacy in Barranquilla, Colombia, which may limit the generalizability of the findings to other contexts with different operational, regulatory, or infrastructural conditions. Future research could include some factors such as perishability, expiration dates, or FEFO policies. Additionally, sustainability, collaboration among multiple echelons, or patient service levels should be essential to include in the pharmacy sector.
7. Conclusions
This research developed a mathematical inventory planning model to optimize the supply process of a pharmacy in Barranquilla. The methodology involved studying the pharmaceutical field, observing the supply process, interacting with employees, and using 16 months of historical data to develop the model. The primary objective was to find an optimal method for managing drug inventory, thereby minimizing costs and ensuring product availability to customers. The proposed model aims to minimize inventory planning costs for antibiotic management, resulting in improved resource utilization and more accurate order management.
The model offers strategic insights into the factors that most significantly affect operational efficiency. Scenario analysis revealed that variability in delivery times and supplier reliability are critical variables. Minor improvements in these areas can drive additional profits, whereas significant deterioration could offset some of these benefits.
From a managerial perspective, the research confirms that data-driven decision-making and mathematical models enhance business resilience in the face of market changes, regulatory shifts, or health-related events. Transitioning from empirical methods to an optimized approach not only boosts profitability but also frees up working capital, allowing for investments in value-added initiatives such as loyalty programs and complementary clinical services.
Additionally, the experience gained by staff during the adoption of the model fosters a culture of continuous improvement and encourages the use of analytical tools. However, the study has limitations that deserve consideration in future research. The model assumed a stationary demand and utilized a fixed time horizon. Nevertheless, seasonality and public health events can drastically change consumption patterns. Incorporating advanced forecasting techniques and modules for dynamic replenishment policy review would strengthen the proposal. It would also be beneficial to evaluate integration with multi-echelon inventory systems, as many pharmacies in Barranquilla are part of networks or chains with their distribution centers. Lastly, exploring sustainability indicators, such as minimizing losses due to expiration, would enhance the project’s social and environmental impact.
The developed optimization model provides a robust tool for efficient pharmaceutical inventory management in Barranquilla. The economic benefits achieved, increased operational visibility, and the capability to adapt to various scenarios present compelling reasons for its adoption and expansion. With adjustments aimed at managing uncertainty and multiple supply levels, this solution has the potential to become a reference standard for inventory planning in the local and regional healthcare sector.
Future research should focus on improving pharmaceutical inventory models by considering changing consumer demand, unpredictable lead times, and the perishability of products. Utilizing digital twin simulations and IoT-based monitoring can facilitate real-time decision-making and minimize waste. We should also consider energy efficiency and carbon footprint to make pharmacy operations more environmentally friendly. Expanding the model to include networks that work together and utilizing strategies such as Vendor-Managed Inventory can enhance coordination. Ultimately, converting this model into practical tools will enable healthcare managers and policymakers to make more informed decisions.