Next Article in Journal
DREFNet: Deep Residual Enhanced Feature GAN for VVC Compressed Video Quality Improvement
Previous Article in Journal
A Portable and Affordable Four-Channel EEG System for Emotion Recognition with Self-Supervised Feature Learning
Previous Article in Special Issue
Module Configuration of Rail Freight Transportation with Both Customer Segmentation and Product Family Genealogy in China
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Sample Distribution Approximation for the Ship Fleet Deployment Problem Under Random Demand

1
School of Transportation, Southeast University, Nanjing 211189, China
2
Faculty of Business, The Hong Kong Polytechnic University, Hung Hom, Kowloon, Hong Kong
3
Jiangsu Key Laboratory of Urban ITS, Jiangsu Province Collaborative Innovation Center of Modern Urban Traffic Technologies, School of Transportation, Southeast University, Nanjing 211189, China
4
Key Laboratory of Transport Industry of Comprehensive Transportation Theory (Nanjing Modern Multimodal Transportation Laboratory), Ministry of Transport, Nanjing 210000, China
*
Author to whom correspondence should be addressed.
Mathematics 2025, 13(10), 1610; https://doi.org/10.3390/math13101610
Submission received: 26 March 2025 / Revised: 4 May 2025 / Accepted: 13 May 2025 / Published: 14 May 2025
(This article belongs to the Special Issue Optimization in Sustainable Transport and Logistics)

Abstract

:
The ship fleet deployment problem plays a critical role in maritime logistics management, requiring shipping companies to determine optimal vessel configurations for cargo transportation. This problem inherently contains stochastic elements due to the random nature of cargo demand fluctuations. While the Sample Average Approximation (SAA) method has been widely adopted to address this uncertainty through empirical distributions derived from historical observations, its effectiveness is constrained by data scarcity in practical scenarios. To overcome this limitation, we propose a novel Sample Distribution Approximation (SDA) framework that employs estimated probability distributions, rather than relying solely on empirical data. We implement a leave-one-out cross-validation mechanism to optimize distribution estimation accuracy. Through comprehensive computational experiments, using decision cost as the primary evaluation metric, our results demonstrate that SDA achieves superior performance compared to the conventional SAA method. This advantage is particularly pronounced in realistic operational conditions, where historical demand observations range from 15 to 25 data points, or fleet configurations involve two to six candidate vessel types. The proposed methodology provides shipping operators with enhanced decision-making capabilities under uncertainty, especially valuable in data-constrained environments.

1. Introduction

Uncertainty is prevalent in decision-making processes across various domains, such as maritime logistics. When confronted with uncertain parameters in objective functions, a conventional approach involves transforming stochastic problems into deterministic formulations. A prominent methodology in this context is the Sample Average Approximation (SAA) method, which substitutes the true distributions of random variables with their empirical distributions, derived from observed samples [1]. However, practical implementations reveal that SAA cannot obtain the optimal decisions in some cases [2]. This limitation stems from SAA’s reliance on empirical distributions that inadequately capture the underlying stochastic characteristics of the true distributions. In contrast, distribution estimation techniques offer enhanced capabilities for data characterization, thereby providing more informative insights for decision making, especially for few-shot scenarios, as only a limited number of samples are available for decisions, hindering the model’s ability to effectively learn their characteristics.
The ship fleet deployment problem (SFDP), as a classical challenge in maritime logistics, focuses on optimizing ship allocation strategies to satisfy transport demand. The SFDP has been used for reducing carbon emissions [3,4], reducing delivery costs [5], and enhancing market efficiency [6]. Under the uncertainty of demand, this stochastic programming problem becomes particularly complex when determining fleet sizes, given the inherent randomness of cargo demand between port pairs [7]. Developing reliable solutions for the SFDP under uncertain demand holds significant potential for enhancing operational efficiency and management quality for shipping companies.
To solve the SFDP under uncertain demand, we adopt the Sample Distribution Approximation (SDA) method. This method leverages historical data to estimate a probabilistic distribution that characterizes the random variables in the objective function—specifically, the stochastic demand in the SFDP. While numerous techniques exist for demand distribution estimation, the challenge lies in selecting an optimal estimation method. Inspired by the leave-one-out cross-validation (LOOCV) framework from machine learning [8,9], we iteratively exclude a single data point to train the distribution estimator, then evaluate its performance based on the decision cost metrics, rather than using the traditional predictive accuracy measures. This approach explicitly integrates distribution estimation with downstream decision optimization. Finally, the selected estimator leverages the complete dataset to generate the final distribution and make decisions based on it.
The overall workflow of our method is illustrated in Figure 1. Specifically, Figure 1A depicts the decision-making process used to select suitable ships based on estimated demand distributions, while Figure 1B shows the procedure for choosing the best-fitting estimation method using LOOCV, with decision cost as the evaluation criterion. Together, these components highlight how our framework combines data-driven estimation with robust operational decision-making. The core contributions of this paper lie in the following:
  • SDA for stochastic demand modeling: This method leverages historical data to construct an empirical probability distribution, explicitly modeling demand uncertainty in the SFDP through data-driven distribution estimation.
  • Integration of LOOCV with decision-based evaluation: Unlike traditional approaches that focus on predictive accuracy, this framework validates distribution estimators based on their impacts on downstream decision costs.
  • Demonstrated superiority under realistic operational settings: Extensive computational experiments show that SDA outperforms SAA, particularly in practical fleet deployment scenarios involving two to six candidate vessel types, offering shipping operators more reliable decisions under uncertainty.
The remainder of this paper is organized as follows. Section 2 reviews existing studies relevant to this work. Section 3 introduces the SFDP and its SAA model. Section 4 introduces the SDA method. Section 5 presents the results of numerical experiments. Section 6 concludes this paper.

2. Literature Review

The SFDP, as a pivotal operational challenge in maritime transportation, focuses on optimizing vessel allocation to meet shipping demands efficiently. Perakis and Jaramillo [10,11] pioneered a linear programming model to minimize fleet operational costs, establishing a theoretical foundation for subsequent research. Subsequent studies further explored deterministic model formulations and solution methodologies, developing approaches such as mixed-integer programming [12,13]. However, most studies on the SFDP are concerned with models and solution methods under deterministic contexts, where all the parameters, especially shipment demand, are given before making fleet deployment decisions [12,13,14,15,16,17]. Optimization problems with stochastic parameters also have wide applications in fields like transportation and logistics. For example, our approach can be used in ship berthing management [18], service network design [19], and hub-and-spoke network design [20], all of which require managing uncertainty in demand.
To address real-world stochasticity, recent research has shifted toward demand uncertainty modeling [21,22]. Table 1 outlines four general methods for the SFDP and highlights their respective limitations. In addition to the deterministic optimization mentioned before, Meng et al. [23] proposed a two-stage stochastic programming framework, incorporating container transshipment mechanisms, employing SAA combined with Lagrangian relaxation to maximize expected profits. Wang et al. [24] proposed an FDP model with a joint-chance constraint, used to guarantee the probability of demand satisfied by all of the service routes, also utilizing SAA for obtaining approximate solutions. Some works [25] introduced distribution-free models that eliminated traditional probabilistic assumptions, requiring only demand parameters (mean, standard deviation, and upper bounds) for optimization. Stochastic programming has also been adopted in the SFDP, which often involves multi-stage planning issues [26,27,28]. Initial deployment decisions should be made at the outset, with subsequent adjustments based on actual requirements [29]. At the same time, some robust optimization frameworks are used for fleet deployment problems [30,31,32]. Furthermore, Zhang et al. [33] employed a distributionally robust optimization framework to address a fleet deployment problem with stochastic route-based shipment demands, incorporating distributional robust chance constraints to manage the risk of unmet demand. With the development of artificial intelligence technologies, machine learning models are used to predict demand distribution or construct approximate models, which are integrated with optimization models to form end-to-end learning, and this approach has been applied to maritime transportation problems [8,18]. Among these methods, SAA is simple to implement, scalable to large instances, and works well with real-world data. It does not require exact knowledge of the underlying distribution, relying on empirical data for approximation. Summarizing the above methods, by bringing in the empirical distribution of observations, SAA has become a typical approach to addressing the SFDP.
SAA is a numerical method widely applied to stochastic optimization problems. Its core idea is to approximate the intractable expected objective function through the empirical distribution of random variables. Since the 1990s, SAA has gradually become an effective tool for solving high-dimensional stochastic programming and risk optimization problems. The theoretical foundation of SAA stems from the law of large numbers and asymptotic analysis in stochastic programming [36]. Shapiro et al. [37] systematically proved that, as the sample size approaches infinity, the optimal solutions and values of SAA almost surely converge to those of the true problem, with a convergence rate independent of the problem’s dimensionality. Kleywegt et al. [1] further explored its performance under finite samples, proposing sample size selection strategies to balance computational costs with solution reliability. However, current challenges reveal that large-scale problems require massive samples, leading to a significant increase in computational time. Meanwhile, practical implementations reveal that SAA cannot obtain the optimal decisions in some cases [1]. Furthermore, SAA uses all historical data for training, but lacks a systematic understanding of the underlying patterns within the data. When the sample size is small, this may lead to decision errors due to insufficient information. On the other hand, with large sample sizes, SAA may overfit to redundant or noisy data, which can also negatively affect decision quality [38,39,40,41]. Considering the limited demand data in the SFDP, the SAA method may be restricted by the lack of effective information, leading to solutions with poor robustness. Therefore, we introduce the SDA method, replacing the empirical distribution with an estimated distribution, where the same approach has been adopted in relevant studies [1,23,24,37], to account for more complex distribution forms, thereby enhancing the robustness of the solution in addressing future demand.

3. Problem Statement

This section provides a general overview of the SFDP. The problem is visualized in Figure 1A. Consider a ship fleet deployment problem on a route connecting two ports with random demand, denoted by D . Consider that there are V candidate ships. One, and only one, ship will be deployed. Suppose ship v has a known cost c v and capacity w v ( v { 1 , , V } ). Without loss of generality, we assume 0 < w 1 < w 2 < < w V and 0 < c 1 < c 2 < < c V . Based on the economies of scale, these parameters should satisfy the following requirement:
c 1 w 1 > c 2 c 1 w 2 w 1 > c 3 c 2 w 3 w 2 > > c V c V 1 w V w V 1 .
The known revenue from shipping one container is denoted by r . We further assume that r w i > c i , i { 1 , , N } , which means that the ship must generate a profit when fully loaded. The distribution of the demand is denoted by F . We let z v be a binary decision variable that equals 1 if ship v is deployed ( v = 1 , , V ) and equals 0 otherwise. The SFDP under the uncertain demand is formulated as follows:
max r E D ~ F min D , v = 1 V w v z v v = 1 V c v z v
subject to the following:
v = 1 V z v = 1
z v { 0 , 1 } , v = 1 , , V .
Objective function (2) aims to maximize the expected profit from shipping containers. Constraint (3) requires that only one ship can and must be used. Constraints (4) define the binary variables.
Nevertheless, we do not know the distribution F , but only have a sample { D 1 , , D n } of independent and identically distributed ( i i d ) observations. One typical method is to use the empirical distribution to approximate the distribution F . Thus, we can transform the stochastic program into a deterministic program, following the SAA method, shown as follows:
max r n i = 1 n min D i , v = 1 V w v z v v = 1 V c v z v
subject to Constraints (3) and (4). Objective function (5) uses the empirical distribution to approximate F and maximizes the average profit from transporting containers, given the empirical distribution.

4. Methodology

4.1. The Optimal Solution Under an Estimated Distribution

In this paper, we propose a method to solve the stochastic program by using the estimated distribution. Figure 1 presents the overall algorithm design of SDA, including the selection of the optimal demand distribution and the most suitable estimation method. For each deterministic problem corresponding to a given dataset, its optimal solution is uniquely determined when the distribution of D is estimated. Assuming that we have obtained the parameterized demand probability density function (PDF) f ( x ) through the data samples { D 1 , , D n } , where x is the demand quantity, under Constraints (3) and (4), we obtain V feasible solutions by enumeration. Let Z ( p ) V denote the solution vector, where the p -th entry is set to 1 (i.e., Z p ( p ) = 1 ) and, in all other entries, Z v ( p ) = 0 for v p ( v { 1 , , V } ). Here, p { 1 , 2 , , V } , meaning there are V feasible solution vectors { Z ( 1 ) , Z ( 2 ) , , Z ( V ) }   .
By systematically evaluating each candidate solution Z ( p ) ( p { 1 , , V } ) and computing their corresponding objective function values, we identify the optimal solution by comparing these values. This reduces the problem to calculating the objective function values under all possible feasible solutions. Under the solution vector Z ( p ) ( p { 1 , , V } ), the value of Objective function (2) is computed as follows:
r E min D , w p c p .
The central task now focuses on rigorously characterizing the distribution of min ( D , w p ) and calculating its expectation E min ( D , w p ) under the true distribution F. To formalize this, note that the random variable min ( D , w p ) exhibits a mixed distribution comprising both continuous and discrete components. For the continuous region 0 D < w p , min ( D , w p ) = D , inheriting the original distribution of D truncated at w p . The PDF remains f x for x [ 0 , w p ) , scaled by the cumulative probability P ( D < w p ) = 0 w p f ( x ) d x . For the discrete part, when D w p , the minimum value collapses to w p , creating the following discrete probability mass:
P min ( D , w p ) = w p = 1 0 w p f ( x ) d x .
The expectation E min ( D , w p ) is therefore decomposed into the following two components:
E min ( D , w p ) = 0 w p x f ( x ) d x Continuous   contribution + w p 1 0 w p f ( x ) d x Discrete   contribution .
Thus, the optimal solution Z opt can be mathematically expressed as the solution vector that maximizes the objective function value obj p , shown as follows:
Z opt = Z ( p * ) , where   p * = arg max 1 p V obj p ,
where obj p is as follows:
obj p = r 0 w p x f ( x ) d x + w p 1 0 w p f ( x ) d x c p .

4.2. Methodology for Determining the Estimation Method

The key challenge lies in determining the optimal estimation methodology. Specifically, we can employ common parametric distributions like normal, uniform, lognormal, and Poisson for our analysis, estimating their parameters through two distinct approaches: maximum likelihood estimation (MLE) and method of moments (MM). Therefore, suppose we have n historical data, and assume that we calibrate a total of U distributions. We will have 2 U methods (each distribution is estimated using two methods, MLE and MM).
MLE identifies parameter values that maximize the likelihood function, which measures the probability of observing the given data under a specific distribution. For a parametric distribution with parameter set θ and independent observations of demand { D 1 , D 2 , , D n } , the likelihood function is defined as follows:
L ( θ ; { D 1 , D 2 , , D n } ) = i = 1 n f ( D i ; θ ) ,
where f ( D i ; θ ) is the probability density/mass function. To simplify computations, we often maximize the following log-likelihood function:
l ( θ ) = ln L ( θ ) = i = 1 n ln f ( D i ; θ ) .
The MLE estimate θ ^ MLE is obtained by solving the following:
θ ^ MLE = arg max θ l ( θ ) .
MM estimates parameters θ ^ 1 , θ ^ 2 , , θ ^ k by equating sample moments to theoretical moments. k is the number of parameters to be estimated. The basic idea of MM is to calculate the moments of population and sample. The moments of the same order are then made equal in one-to-one correspondence. Assume the PDF has k unknown parameters θ 1 , θ 2 , , θ k . The population moments and sample moments are defined as follows.
For population moments, after ensuring the PDF, we can calculate the function of the j -th moment about parameters θ ^ 1 , θ ^ 2 , , θ ^ k .
μ j = E ( D j ) , j = 1 , 2 , , k
where μ j is a function of the parameters θ 1 , θ 2 , , θ k .
For sample moments, the j -th sample moment calculated from the observed sample D 1 , D 2 , , D n is as follows:
m j = 1 n i = 1 n D i j , j = 1 , 2 , , k
The core idea of the MM is to equate the population moments to the sample moments
μ j = m j , j = 1 , 2 , , k
This forms the following system of equations:
μ 1 ( θ 1 , θ 2 , , θ k ) = m 1 μ 2 ( θ 1 , θ 2 , , θ k ) = m 2 μ k ( θ 1 , θ 2 , , θ k ) = m k .
By solving the system of equations, we obtain the estimated parameters θ ^ 1 , θ ^ 2 , , θ ^ k . Then, we can obtain the PDF of distribution with estimated θ ^ 1 , θ ^ 2 , , θ ^ k .
In method selection and parameter estimation, different combinations of distributional assumptions and estimation methods often exhibit significant performance differences. For instance, MLE provides asymptotically efficient and unbiased estimates when the distribution is correctly specified, but it is sensitive to model misspecification. In contrast, MM, while computationally simpler and more robust than distributional assumptions, may yield estimators with larger variances. Furthermore, the characteristics of different distributions—such as the symmetry of the normal distribution or the discreteness of the Poisson distribution—can lead to divergent performances of the same estimation method across scenarios. To identify the optimal estimation strategy, it is essential to systematically evaluate all 2 U possible combinations.
In order to evaluate these methods, we train each method n times, using n 1 training examples, and evaluate the method over only one validation example. That is, for each method, we use LOOCV to assess the performance (here, performance means decision cost). After selecting the optimal estimation method, we can utilize all available examples to estimate the distribution. The estimated distribution can then be used for decision making.
The pseudo-code of the SDA method is shown in Algorithm 1.
Algorithm 1. The pseudo-code of the SDA method.
Input: Ship cost { c 1 , , c V } , ship capacity { w 1 , , w V } , the revenue from shipping one container r , candidate parameter estimation method { u 1 , , u 2 U } and some demand sample { D 1 , , D n } of i i d observations.
Output: The optimal solution Z obj
For each method u in candidate 2 U methods:
  Set TotalScore u = 0 to initialize evaluation metric
  For j { 1 , 2 , , n } :
     Remove the j -th sample to form the training set: D train ( j ) = D \ { D j }
     Use method u to estimate parameters θ u ( j ) from D train ( j ) , obtaining the distribution f u ( j ) ( x ) = f u ( x | θ u ( j ) ) .
     Determine the optimal solution Z u j opt based on (9).
     Calculate the value of profit Score u j under the D u j demand and Z u j opt solution.
     Update TotalScore u = TotalScore u + Score u j .
Select optimal method u opt =   argmax u 2 U TotalScore u .
Use method u opt and recompute θ opt on the full dataset D .
Based on the estimated θ opt , determine the optimal solution Z opt based on (9).
Output: The optimal solution Z obj

5. Case Study

5.1. Parameter Settings

To demonstrate the universality of the SDA method, we developed a systematic parameter generation approach with the following implementation steps. We firstly discussed the attribute parameters of the fleet, including the number of ships, their capacities, and their costs. The primary parameter configuration began with determining the number of ship types ( V ), which required satisfying the fundamental condition specified in Constraint (1). Accordingly, we established the critical relationship between ship capacities and costs through the following derivation. The progressive ratio between adjacent ship types v ,   v + 1 follows a linearly decreasing pattern, as follows:
c v + 1 c v w v + 1 w v = V v , v { 1 , , V 1 } .
Specifically, we set c 1 w 1 = V . This ensured the cost increment decreased proportionally with ship type indexation.
We defined ship capacities using an arithmetic progression scheme, as follows:
w v = 10 v , v { 1 , , V } .
This linear scaling provided consistent capacity increments across ship types. The number of ship types (i.e., the number of ships) ranges from 2 to 10.
Through simultaneous application of these equations, we could systematically generate a complete parameter set for any specified V value. To further clarify the parameter settings, Table 2 presents a concrete implementation when V = 4 , showing the derived parameters for four distinct ship types. The results validate the parameter generation methodology, while maintaining compliance with the fundamental Constraint (1).
Next, we set the profit of each container r = V + 1 , according to the assumption that r w v > c v , v { 1 , , V } . The candidate fitting distributions included the normal distribution, uniform distribution, log-normal distribution, and Poisson distribution.
To verify the effectiveness of our method, we set the demand range from 5 (minimal demand) to 10 × V + 5 (maximal demand) and generated specific demand values using random numbers. Finally, we described how the experimental richness was expanded by varying the parameters. The number of total samples N generated ranges from 5 to 50, which means we conducted 45 experiments for each V . Thereafter, 80% of the total samples were randomly selected as the training set, while the remaining 20% were used as the test set. Thus, n = N × 0.8 . The LOOCV mentioned before was used for validation using the training set. The cumulative profit was calculated by applying the decisions obtained from the training set to the test set, and the results were compared with the benchmark SAA method using the same decision approach as introduced above, which involved exhaustively evaluating all feasible decisions in the objective function to identify the optimal one.

5.2. Experimental Results

Figure 2 presents a comparative analysis of the SDA and SAA methods across varying candidate fleet sizes V (2–10 ships), offering a visual comparison of their average profits in the test set. While both methods demonstrate consistent results in most operational scenarios, notable divergences emerged under specific conditions. Figure 3 computes the profit difference (profit of SDA minus profit SAA), presented as a heatmap. We found that our method outperformed when 15 to 25 samples were observed.
This comparative study is further extended through numerical evaluations in Figure 4. Figure 4a quantifies the absolute performance difference by calculating the total profit margin (SDA minus SAA) across the entire test dataset. Figure 4b provides a more intuitive illustration on the superiority of each method, highlighting cases (i.e., the number of experiments) where SDA outperformed SAA and vice versa in terms of profit. In some cases, the decisions of SDA and SAA were same, which is not presented in this figure. We compared the number of experiments in which the SDA method outperformed the SAA method under different numbers of observed samples. Similarly, we also calculated the number of experiments in which the SAA method outperformed the SDA method. “Count” represents the number of such experiments.
When the number of ships is small, the SDA method demonstrates superior performance compared to the SAA method, particularly when the number of ships is five or six. Specifically, when there are five ships, the average profit difference between SDA and SDD is 190.3, while, for six ships, it is 146.8. Furthermore, as the number of ships increases, the disparity in decisions between the SDA and SAA methods becomes more pronounced.
Figure 5 presents the decision analysis for ship selection under the SAA and SDA methods. “Count” represents the number of times different ships are selected under different V values in 45 experiments for SAA and SDA. From these results, we observe that both methods tend to favor high-capacity ships, reflecting the impact of economies of scale. Additionally, the decisions made using SDA are more concentrated on several specific choices compared to those of SAA.
Figure 6 illustrates the variation in the chosen estimation methods for different numbers of candidate ships under SDA. “Count” represents the number of times different estimation methods were selected under different V values in 45 experiments for SDA. Although there were eight available estimation methods, only six were chosen and utilized, with the MM method based on Poisson and log-normal distributions not being selected. For the Poisson distribution, the estimation outcomes for MLE and MM are identical because the first-order moment serves as a sufficiently complete statistic. Thus, we can analyze Poisson-MM and Poisson-MLE together. Regarding log-normal-MM, although MLE is used for estimation in the log-normal distribution, the selection frequency is quite low. This suggests that the log-normal distribution may not be well-suited for this problem, leading to the exclusion of log-normal-MLE.
Furthermore, a noticeable trend is that the percentage of normal-MLE selections decreases as the number of ships increases, while the use of the uniform distribution for estimation becomes more frequent. The other four methods are also applied, though not to significant extents.

5.3. Computational Time Analysis of SDA

As shown in Figure 7, we summarized the computation time across all experiments. Theoretically, LOOCV involves N iterations, and in each iteration, the algorithm evaluates V candidate solutions. Assuming that each candidate solution evaluated using 2 U fitting methods has a time complexity of O ( T ) , the overall computational complexity is approximately O ( V N T ) . This analysis reveals that the computational cost increases linearly with the candidate solutions V and validation rounds N , implying that the complexity remains tractable and does not grow excessively with problem size. The results in Figure 7 also support our analysis.

5.4. Comparison of Well-Specified and Mis-Specified Distribution Sets

To comprehensively evaluate the impacts of candidate distribution sets on model performance, we conducted controlled experiments comparing well-specified and mis-specified conditions. In the well-specified case, the candidate set includes the true data-generating distribution, while the mis-specified case deliberately excludes this distribution to simulate model mismatch. The data generation process follows four distinct parametric distributions: for normal distributions, we set μ = minimal   demand + maximal   demand / 2 and σ = minimal   demand     maximal   demand / 6 to ensure that approximately 95% of samples fall within the specified range; uniform distributions are sampled directly between the minimum and maximum demand values; log-normal distributions use μ = =   ln minimal   demand   +   maximal   demand / 2 with σ = 0.4 as a tunable parameter; and Poisson distributions employ λ = minimal   demand + maximal   demand / 2 . This systematic approach enables rigorous assessment of distribution selection robustness under well-specified and mis-specified conditions.
Figure 8 demonstrates the differences in estimated distribution selection. The results reveal that, despite variations in data generation methods, the normal distribution exhibits strong robustness, consistently maintaining a high selection proportion across all four experimental groups. Following closely is the uniform distribution, while the log-normal and Poisson distributions perform less satisfactorily, even when the data generation processes follow these distributions. Due to the relatively low selection rates of log-normal and Poisson distributions, the difference between well-specified and mis-specified scenarios is not pronounced.
Focusing on the normal distribution generation method, the proportion of uniform distribution increases in the mis-specified experiments, further highlighting its good adaptability. Notably, the selection rate of the Poisson distribution also rises significantly. Further observation shows that, as the value of V increases, the selection proportion of the Poisson distribution exhibits an upward trend across all experiments, suggesting its favorable adaptability in scenarios with larger candidate solution sets.
In the case of uniform-distribution-generated data, the proportion of log-normal distribution increases markedly. This phenomenon may be attributed to the fact that the log-normal distribution, with its right-skewed characteristics, can approximate certain uniform distribution patterns when the variance is large, thereby improving its fitting performance.
Additionally, in the experiments with uniform distribution, the proportion of log-normal models selected increases significantly in the mis-specified setting compared to the well-specified case. This may be because, as the sample size grows, the log-normal distribution can better approximate uniform distribution.
Figure 9 illustrates the profit differences, defined as the profit achieved under the mis-specified model minus that achieved under the well-specified model. The results indicate a general decline in performance when the model is mis-specified, as evidenced by the predominance of blue-shaded cells in the figure, which correspond to negative profit differences across most scenarios, with this effect being particularly pronounced for uniformly distributed data. This phenomenon may stem from the fundamental divergence between uniform distributions and other distribution types. Notably, as the sample size N increases, the profit difference diminishes. This trend likely occurs because larger historical datasets better represent the underlying population distribution, thereby decreasing the model’s sensitivity to distributional assumptions.

5.5. Discussion

Overall, the SDA method outperforms the traditional SAA method in managing demand uncertainty. By leveraging historical data to construct a PDF, SDA explicitly models demand uncertainty through data-driven estimation, improving resilience against random demand fluctuations. Furthermore, SDA integrates LOOCV with decision-cost evaluation, shifting focus from mere predictive accuracy to optimization-aligned distribution validation. This approach proves especially effective in fleet deployment, delivering superior decision-making reliability when candidate vessel types range from two to six.
While promising, SDA’s performance hinges on distribution estimation accuracy, which may degrade with sparse or noisy data. Although LOOCV enhances robustness, it incurs higher computational costs—albeit with linear scalability. Additionally, the framework assumes historical demand patterns persist, which may not hold under structural market shifts. Further validation is needed across diverse operational scales and constraint complexities.

6. Conclusions

This study addresses the stochastic SFDP by proposing a novel SDA framework through which to overcome the limitations of the conventional SAA method in data-scarce scenarios. The SDA framework replaces empirical distributions derived solely from historical data with estimated probability distributions, optimized via leave-one-out cross-validation. This approach significantly enhances decision robustness in small-sample scenarios (15–25 historical demand data points) and limited ship types (two to six candidate ship types). Experimental results demonstrate SDA’s superiority over SAA in minimizing the decision cost, offering maritime operators an improved uncertainty-aware decision-making tool.
For maritime operators, the proposed methodology offers a paradigm shift in stochastic fleet deployment decision making, particularly in data-constrained environments where traditional methods falter. Future research could extend this framework to incorporate multi-dimensional uncertainties (e.g., fuel price volatility or port congestion) and explore hybrid approaches combining SDA with reinforcement learning for adaptive decision policies. Furthermore, future studies could investigate the psychological dimensions of maritime decision-making, particularly how cognitive biases like the sunk cost fallacy influence operational choices under uncertainty. The SDA framework not only advances the theoretical foundations of stochastic maritime optimization, but also provides actionable insights for enhancing operational resilience in dynamic shipping networks.

Author Contributions

Conceptualization: Q.H., X.T., H.L., Z.L. and S.W.; methodology: Q.H., X.T., H.L., Z.L. and S.W.; formal analysis: Q.H., X.T. and S.W.; visualization: Q.H.; writing (first draft): Q.H.; writing (review and editing): X.T., H.L., Z.L. and S.W.; supervision: Z.L. and S.W.; funding: Z.L. and S.W. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The raw data supporting the conclusions of this article will be made available by the authors on request.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Kleywegt, A.J.; Shapiro, A.; Homem-de-Mello, T. The Sample Average Approximation Method for Stochastic Discrete Optimization. SIAM J. Optim. 2002, 12, 479–502. [Google Scholar] [CrossRef]
  2. Besbes, O.; Mouchtaki, O. How Big Should Your Data Really Be? Data-Driven Newsvendor: Learning One Sample at a Time. Manag. Sci. 2023, 69, 5848–5865. [Google Scholar] [CrossRef]
  3. Chua, Y.J.; Soudagar, I.; Ng, S.H.; Meng, Q. Impact Analysis of Environmental Policies on Shipping Fleet Planning under Demand Uncertainty. Transp. Res. Part D Transp. Environ. 2023, 120, 103744. [Google Scholar] [CrossRef]
  4. Wu, Y.; Huang, Y.; Wang, H.; Zhen, L.; Shao, W. Green Technology Adoption and Fleet Deployment for New and Aged Ships Considering Maritime Decarbonization. J. Mar. Sci. Eng. 2022, 11, 36. [Google Scholar] [CrossRef]
  5. Rodriguez, M.H.; Agrell, P.J.; Manrique-de-Lara-Peñate, C.; Trujillo, L. A Multi-Criteria Fleet Deployment Model for Cost, Time and Environmental Impact. Int. J. Prod. Econ. 2022, 243, 108325. [Google Scholar] [CrossRef]
  6. Fan, L.; Wang, R.; Xu, K. Analysis of Fleet Deployment in the International Container Shipping Market Using Simultaneous Equations Modelling. Marit. Policy Manag. 2024, 51, 963–980. [Google Scholar] [CrossRef]
  7. Wang, S.; Wang, T.; Qu, X.; Liu, Z.; Jin, S. Liner Ship Fleet Deployment with Uncertain Demand. Transp. Res. Rec. 2014, 2409, 49–53. [Google Scholar] [CrossRef]
  8. Elmachtoub, A.N.; Grigas, P. Smart “Predict, Then Optimize”. Manag. Sci. 2022, 68, 9–26. [Google Scholar] [CrossRef]
  9. Kannan, R.; Bayraksan, G.; Luedtke, J.R. Technical Note: Data-Driven Sample Average Approximation with Covariate Information. Oper. Res. 2025. [Google Scholar] [CrossRef]
  10. Perakis, A.N.; Jaramillo, D. Fleet Deployment Optimization for Liner Shipping Part 1. Background, Problem Formulation and Solution Approaches. Marit. Policy Manag. 1991, 18, 183–200. [Google Scholar] [CrossRef]
  11. Jaramillo, D.; Perakis, A.N. Fleet Deployment Optimization for Liner Shipping Part 2. Implementation and Results. Marit. Policy Manag. 1991, 18, 235–262. [Google Scholar] [CrossRef]
  12. Wang, S.; Meng, Q. Liner Ship Fleet Deployment with Container Transshipment Operations. Transp. Res. Part E Logist. Transp. Rev. 2012, 48, 470–484. [Google Scholar] [CrossRef]
  13. Gelareh, S.; Meng, Q. A Novel Modeling Approach for the Fleet Deployment Problem within a Short-Term Planning Horizon. Transp. Res. Part E Logist. Transp. Rev. 2010, 46, 76–89. [Google Scholar] [CrossRef]
  14. Xia, J.; Li, K.X.; Ma, H.; Xu, Z. Joint Planning of Fleet Deployment, Speed Optimization, and Cargo Allocation for Liner Shipping. Transp. Sci. 2015, 49, 922–938. [Google Scholar] [CrossRef]
  15. Wang, S. Optimal Sequence of Container Ships in a String. Eur. J. Oper. Res. 2015, 246, 850–857. [Google Scholar] [CrossRef]
  16. Dulebenets, M. The Vessel Scheduling Problem in a Liner Shipping Route with Heterogeneous Fleet. Int. J. Civ. Eng. 2018, 16, 19–32. [Google Scholar] [CrossRef]
  17. Song, D.-P.; Dong, J.-X. Long-Haul Liner Service Route Design with Ship Deployment and Empty Container Repositioning. Transp. Res. Part B Methodol. 2013, 55, 188–211. [Google Scholar] [CrossRef]
  18. Bakar, N.N.A.; Bazmohammadi, N.; Çimen, H.; Uyanik, T.; Vasquez, J.C.; Guerrero, J.M. Data-Driven Ship Berthing Forecasting for Cold Ironing in Maritime Transportation. Appl. Energy 2022, 326, 119947. [Google Scholar] [CrossRef]
  19. Lium, A.-G.; Crainic, T.G.; Wallace, S.W. A Study of Demand Stochasticity in Service Network Design. Transp. Sci. 2009, 43, 144–157. [Google Scholar] [CrossRef]
  20. Zhou, S.; Ji, B.; Song, Y.; Yu, S.S.; Zhang, D.; Van Woensel, T. Hub-and-Spoke Network Design for Container Shipping in Inland Waterways. Expert Syst. Appl. 2023, 223, 119850. [Google Scholar] [CrossRef]
  21. Tan, Z.; Li, H.; Wang, H.; Qian, Q. Maritime Container Shipping Fleet Deployment Considering Demand Uncertainty. Asia-Pac. J. Oper. Res. 2021, 38, 2140026. [Google Scholar] [CrossRef]
  22. Chen, J.; Zhuang, C.; Yang, C.; Wan, Z.; Zeng, X.; Yao, J. Fleet Co-Deployment for Liner Shipping Alliance: Vessel Pool Operation with Uncertain Demand. Ocean. Coast. Manag. 2021, 214, 105923. [Google Scholar] [CrossRef]
  23. Meng, Q.; Wang, T.; Wang, S. Short-Term Liner Ship Fleet Planning with Container Transshipment and Uncertain Container Shipment Demand. Eur. J. Oper. Res. 2012, 223, 96–105. [Google Scholar] [CrossRef]
  24. Wang, S.; Meng, Q.; Liu, Z. Containership Scheduling with Transit-Time-Sensitive Container Shipment Demand. Transp. Res. Part B Methodol. 2013, 54, 68–83. [Google Scholar] [CrossRef]
  25. Ng, M. Distribution-Free Vessel Deployment for Liner Shipping. Eur. J. Oper. Res. 2014, 238, 858–862. [Google Scholar] [CrossRef]
  26. Santos, A.; Fagerholt, K.; Laporte, G.; Soares, C.G. A Stochastic Optimization Approach for the Supply Vessel Planning Problem under Uncertain Demand. Transp. Res. Part B Methodol. 2022, 162, 209–228. [Google Scholar] [CrossRef]
  27. Gao, J.; Wang, J.; Li, L.; Liang, J. Service-Oriented Operational Decision Optimization for Dry Bulk Shipping Fleet under Stochastic Demand. Optim. Eng. 2024, 25, 2345–2368. [Google Scholar] [CrossRef]
  28. Wang, X.; Fagerholt, K.; Wallace, S.W. Planning for Charters: A Stochastic Maritime Fleet Composition and Deployment Problem. Omega 2018, 79, 54–66. [Google Scholar] [CrossRef]
  29. Arslan, A.N.; Papageorgiou, D.J. Bulk Ship Fleet Renewal and Deployment under Uncertainty: A Multi-Stage Stochastic Programming Approach. Transp. Res. Part E Logist. Transp. Rev. 2017, 97, 69–96. [Google Scholar] [CrossRef]
  30. Alvarez, J.F.; Tsilingiris, P.; Engebrethsen, E.S.; Kakalis, N.M. Robust Fleet Sizing and Deployment for Industrial and Independent Bulk Ocean Shipping Companies. INFOR Inf. Syst. Oper. Res. 2011, 49, 93–107. [Google Scholar] [CrossRef]
  31. Lai, X.; Wu, L.; Wang, K.; Wang, F. Robust Ship Fleet Deployment with Shipping Revenue Management. Transp. Res. Part B Methodol. 2022, 161, 169–196. [Google Scholar] [CrossRef]
  32. Wang, T.; Meng, Q.; Wang, S. Robust Optimization Model for Liner Ship Fleet Planning with Container Transshipment and Uncertain Demand. Transp. Res. Rec. 2012, 2273, 18–28. [Google Scholar] [CrossRef]
  33. Zhang, E.; Chu, F.; Wang, S.; Liu, M.; Sui, Y. Approximation Approach for Robust Vessel Fleet Deployment Problem with Ambiguous Demands. J. Comb. Optim. 2022, 44, 2180–2194. [Google Scholar] [CrossRef]
  34. Ng, M. Container Vessel Fleet Deployment for Liner Shipping with Stochastic Dependencies in Shipping Demand. Transp. Res. Part B Methodol. 2015, 74, 79–87. [Google Scholar] [CrossRef]
  35. Bukljaš, M.; Rogić, K.; Jerebić, V. Distributionally Robust Model and Metaheuristic Frame for Liner Ships Fleet Deployment. Sustainability 2022, 14, 5551. [Google Scholar] [CrossRef]
  36. Berahas, A.S.; Cao, L.; Choromanski, K.; Scheinberg, K. A Theoretical and Empirical Comparison of Gradient Approximations in Derivative-Free Optimization. Found. Comput. Math. 2022, 22, 507–560. [Google Scholar] [CrossRef]
  37. Shapiro, A.; Dentcheva, D.; Ruszczynski, A. Lectures on Stochastic Programming: Modeling and Theory; SIAM: Philadelphia, PA, USA, 2021. [Google Scholar]
  38. Anderson, E.; Philpott, A. Improving Sample Average Approximation Using Distributional Robustness. Inf. J. Optim. 2022, 4, 90–124. [Google Scholar] [CrossRef]
  39. Gotoh, J.; Kim, M.J.; Lim, A.E. A Data-Driven Approach to Beating SAA out of Sample. Oper. Res. 2025, 73, 829–841. [Google Scholar] [CrossRef]
  40. Nguyen, V.-L.; Shaker, M.H.; Hüllermeier, E. How to Measure Uncertainty in Uncertainty Sampling for Active Learning. Mach. Learn. 2022, 111, 89–122. [Google Scholar] [CrossRef]
  41. Seljom, P.; Tomasgard, A. Sample Average Approximation and Stability Tests Applied to Energy System Design. Energy Syst. 2021, 12, 107–131. [Google Scholar] [CrossRef]
Figure 1. Overall workflow of our methods. (A) The decision process to choose a suitable ship. (B) The method to select the best estimation distribution.
Figure 1. Overall workflow of our methods. (A) The decision process to choose a suitable ship. (B) The method to select the best estimation distribution.
Mathematics 13 01610 g001
Figure 2. Comparison of SAA and SDA for different numbers of candidate ships, ranging from 2 to 10.
Figure 2. Comparison of SAA and SDA for different numbers of candidate ships, ranging from 2 to 10.
Mathematics 13 01610 g002
Figure 3. Profit difference (SDA profit minus SAA profit).
Figure 3. Profit difference (SDA profit minus SAA profit).
Mathematics 13 01610 g003
Figure 4. Statistical analysis for comparison of SDA and SAA; (a) profit difference between SDA and SAA; (b) numbers of experiments when SDA > SAA or SAA > SDA.
Figure 4. Statistical analysis for comparison of SDA and SAA; (a) profit difference between SDA and SAA; (b) numbers of experiments when SDA > SAA or SAA > SDA.
Mathematics 13 01610 g004
Figure 5. Ship selection for different numbers of candidate ships.
Figure 5. Ship selection for different numbers of candidate ships.
Mathematics 13 01610 g005
Figure 6. Estimation methods chosen in 45 experiments for different V values under the SDA method.
Figure 6. Estimation methods chosen in 45 experiments for different V values under the SDA method.
Mathematics 13 01610 g006
Figure 7. Computational time analysis of SDA.
Figure 7. Computational time analysis of SDA.
Mathematics 13 01610 g007
Figure 8. Optimal distribution selection from well-specified and mis-specified alternative distribution sets. (a) Well-specified results. (b) Mis-specified results.
Figure 8. Optimal distribution selection from well-specified and mis-specified alternative distribution sets. (a) Well-specified results. (b) Mis-specified results.
Mathematics 13 01610 g008
Figure 9. Profit difference (mis-specified minus well-specified) under different distributions.
Figure 9. Profit difference (mis-specified minus well-specified) under different distributions.
Mathematics 13 01610 g009
Table 1. SFDP literature under different modeling methods.
Table 1. SFDP literature under different modeling methods.
MethodRelated WorksLimitation
Deterministic optimizationPerakis and Jaramillo [10]; Jaramillo and Perakis [11]; Wang and Meng [12]; Gelareh and Meng [13]; Xia et al. [14]; Wang et al. [15]; Dulebenets [16]; Song and Dong [17]Ignoring demand uncertainty
Stochastic programmingMeng et al. [23]; Meng et al. [24]; Ng [25,34]; Santos et al. [26]; Gao et al. [27]; Wang et al. [28]High computational cost
Robust optimizationAlvarez et al. [30]; Lai et al. [31]; Wang et al. [32]Yielding overly conservative solutions
Distributionally robust optimizationZhang et al. [33]; Bukljas et al. [35]Difficulty in selecting the ambiguity set
Table 2. Parameter settings when V = 4 .
Table 2. Parameter settings when V = 4 .
v 1234
w v 10203040
c v 5090120140
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Hong, Q.; Tian, X.; Li, H.; Liu, Z.; Wang, S. Sample Distribution Approximation for the Ship Fleet Deployment Problem Under Random Demand. Mathematics 2025, 13, 1610. https://doi.org/10.3390/math13101610

AMA Style

Hong Q, Tian X, Li H, Liu Z, Wang S. Sample Distribution Approximation for the Ship Fleet Deployment Problem Under Random Demand. Mathematics. 2025; 13(10):1610. https://doi.org/10.3390/math13101610

Chicago/Turabian Style

Hong, Qi, Xuecheng Tian, Haoran Li, Zhiyuan Liu, and Shuaian Wang. 2025. "Sample Distribution Approximation for the Ship Fleet Deployment Problem Under Random Demand" Mathematics 13, no. 10: 1610. https://doi.org/10.3390/math13101610

APA Style

Hong, Q., Tian, X., Li, H., Liu, Z., & Wang, S. (2025). Sample Distribution Approximation for the Ship Fleet Deployment Problem Under Random Demand. Mathematics, 13(10), 1610. https://doi.org/10.3390/math13101610

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

Article Metrics

Back to TopTop