Operational Analysis of Multimodal Freight Allocation Under Capacity and Delivery Constraints
Abstract:
Multimodal freight operators allocate shipments across services with different capacities, fixed charges and delivery times. The economic value of additional capacity depends on which shipments can meet their deadlines on each service. This study investigates how capacity, service activation and delivery commitments jointly determine freight allocation and its sensitivity to cost errors. A path-based mixed-integer model was formulated for independently delivered shipment fractions. Evaluation covered a reference corridor, 2,997 capacity–deadline settings, 60 generated service catalogues, 50 paired capacity and fixed-charge settings, and 540 cost-error tests. Exact solutions were compared with sequential greedy allocation, multiple-order greedy allocation and activation search with linear-programming reallocation. Increasing reference rail capacity from 100 to 110 tonnes reduced cost from 4,380 to 4,140 currency units, whereas tightening one delivery deadline from 40 to 20 hours raised cost to 5,820. A maritime allocation cost 3,490 under 50-hour deadlines but became infeasible when uniform transit-time inflation exceeded 8.70\%. Activation search matched 49 of the 60 exact objectives, with mean cost premiums of 0.00\%–0.22\% across catalogue sizes. With unit-cost errors bounded by 20\%, mean realized regret was 2.89\%, while 54.34\% of tonnage was reassigned on average. The results show that capacity value depends on service eligibility and activation commitments, and that allocation changes need not produce comparable cost losses. The analysis provides a reproducible basis for evaluating capacity expansion, negotiating delivery commitments and prioritizing input verification in multimodal freight planning.1. Introduction
A multimodal freight plan connects shipment requests with the transport and transfer services required for delivery. Road, rail and maritime alternatives differ in unit cost, transit time and available capacity. Selecting the lowest modal tariff is therefore insufficient to identify the least expensive feasible plan. Shared capacity can force part of a shipment onto a more expensive route, a delivery commitment can exclude a slower service, and a fixed transfer charge can make a low-volume movement uneconomic. These effects must be considered jointly because changing one restriction can alter the allocation of several shipments. This places the problem within operational analytics: the operator needs a defensible allocation of shipment quantities and service commitments, together with an explanation of the constraints driving cost [1-4].
The decision context considered here is a freight forwarder or logistics platform allocating accepted shipments before dispatch. Quantities, origins, destinations and delivery windows are available at the planning epoch. The operator determines how much freight to assign to each eligible route and which transport or transfer operations to activate. Shipment fractions can travel independently, while the services they use draw on capacities shared with other commodities. The resulting plan must account for both quantity-dependent charges and the costs of opening additional services. Prices charged to customers, fleet acquisition and shipment acceptance remain outside this decision. This scope distinguishes operational allocation from simultaneous service-network design and pricing, where shipper choice and competitive responses also enter the model [5]. Recent operational synchromodal planning research likewise treats requests and available services as the starting point, but often adds real-time reassignment and coordination that are not assumed here [6].
Capacity restrictions and delivery commitments also determine how parameter errors affect a plan. A tariff error can reverse the ranking of feasible allocations, whereas a transit-time error can make a previously eligible service miss a shipment's deadline. These consequences require different assessments: realized cost can be evaluated on an unchanged feasible catalogue, but a delivery violation changes which allocations can be executed. Prediction-and-optimization research distinguishes downstream decision quality from prediction accuracy [7-9]. For freight planning, this distinction calls for evaluating the selected allocation together with the capacity and time restrictions supporting it.
Predictive models can update freight cost and time inputs [10-11], while learned policies can assist mathematical-programming search [12-13]. Both depend on an allocation model that connects the available information to operational constraints. A useful baseline must therefore establish which services are selected, how shared capacity is distributed and how the plan responds to input errors. These responses also identify where improved forecasts could affect decisions and where a conventional exact solver already provides an adequate computational solution.
The study addresses three connected research questions. How does shipment eligibility affect the marginal value of additional service capacity? Under what conditions do fixed activation charges reverse a choice suggested by modal unit rates? How do bounded unit-cost errors change the selected allocation and its realized cost? A single-epoch planning model provides a controlled setting for answering these questions. Holding the candidate catalogue fixed allows capacity, fixed charges and cost errors to be varied separately while retaining explicit delivery requirements.
The analysis combines a path-based fixed-charge formulation with analytical thresholds and computational experiments. A two-commodity corridor identifies capacity values and service-switching points, which are checked over a systematic capacity–deadline sweep. Generated service catalogues are then used to compare exact allocation with sequential greedy allocation, multiple-order greedy allocation and activation search with linear-programming reallocation. Paired experiments isolate capacity and fixed-charge effects without changing the other inputs. Finally, bounded-cost perturbations connect allocation changes and realized regret to a conservative error bound. The contribution is a reproducible account of when capacity expansion, deadline negotiation and parameter verification change an operational recommendation, using established optimization methods with explicit assumptions and decision measures.
The remainder of the article is organized as follows. Section 2 reviews multimodal freight planning and the relationship between prediction, uncertainty and optimization. Section 3 defines the decision problem and mathematical formulation. Section 4 presents the analytical results and evaluation measures. Section 5 reports the experiments and results. Section 6 discusses operational implications and limitations, and Section 7 concludes.
2. Related Research and Study Positioning
Multimodal freight planning draws on multicommodity flow and fixed-charge network-design models [1-4]. Their value is the explicit connection between shipment conservation, capacity use and service activation. Cost structures require particular care: quantity-dependent charges, fixed transfers and volume discounts represent different economic mechanisms. Established mixed-integer formulations for piecewise-linear and nonconvex costs show why these mechanisms should be modeled explicitly rather than absorbed into an ambiguous average tariff [14-15]. The present study uses linear unit costs plus fixed activation charges; it does not assume quantity discounts.
Research has extended this core in several directions. Environmental service-network models jointly examine cost and modal shift [2], while travel-time uncertainty has been incorporated directly into intermodal network design [16]. Recent contributions address mixed-objective fleet planning [17], passenger access chains [18], emergency road–rail scheduling with transfer sequencing [19] and dynamic multimodal emergency operations involving drones [20]. These studies illustrate that the correct formulation depends on the actual decision boundary. Passenger connections, emergency sequencing and drone dispatch cannot be represented simply by relabeling a static freight allocation model.
More closely related studies address integrated corridor design and pricing [5], coordinated routing and storage over multiple periods [21] and robust multimodal hub design under budgeted demand uncertainty [22]. These strategic and temporal structures broaden the decision context. The single-epoch allocation studied here instead isolates capacity values and service-eligibility transitions while holding the candidate catalogue fixed.
Reviews of freight and logistics applications document the use of machine learning for forecasting and operational estimation [10-11]. In a predict-then-optimize system, such estimates become inputs to a constrained decision model. The resulting decisions depend on where errors occur, not only on their average magnitude. An error on a rarely selected service may have little effect, whereas a small error near a route-ranking or deadline threshold can change the allocation.
Smart predict-then-optimize and decision-focused learning formalize this distinction between predictive loss and decision loss [7-8]. Contextual optimization surveys organize methods for combining side information, uncertainty and optimization [9], while constraint-learning research emphasizes validation of the complete decision model after learned components have been embedded [23]. These contributions support evaluating the downstream allocation, rather than inferring operational value from prediction accuracy alone.
Recent transport studies provide application-specific combinations of these ideas. Filom and Razavi [24] combine prediction, uncertainty quantification and robust optimization for synchromodal freight. Tang et al. [25] use calibrated uncertainty sets for route planning, and Jia et al. [26] connect scenario prediction with online inventory routing. Building on this decision-oriented perspective, the present study tests the interaction of shared capacity, fixed activation charges and delivery eligibility, and examines how bounded input errors affect the resulting allocation.
Machine learning has been used to assist branching, primal heuristics and other solver tasks [12-27]. Reinforcement-learning research also covers end-to-end combinatorial decisions [28]; DeepFreight combines learned dispatch with subsequent optimization [29], while forecast-assisted branch-and-price uses predictions within liner-shipping planning [30]. These approaches address different stages of the decision process. Their relevance here is the need for an explicit exact-solver baseline and a separation between parameter estimation and computational search.
Commodity order affects which shipments obtain scarce inexpensive capacity, and a feasible greedy assignment can be improved by reallocating flows after the services have been selected. Recent logistics studies also rely on metaheuristic search, including a clustering-based genetic algorithm for vehicle routing with time windows [31] and an interval-programming supply-chain model with capacitated facility selection solved by particle swarm, genetic and simulated-annealing algorithms [32]. Such methods are useful for larger instances, but their solution quality is easier to interpret when an exact reference is available on comparable instances. The computational design therefore compares exact allocation with sequential greedy allocation, multiple-order greedy allocation and activation search with linear-programming reallocation. All methods use the same costs, quantities, eligible services and capacity limits.
The study focuses on three interactions that a modal-rate comparison cannot resolve. Capacity value depends on shipment eligibility; activating an additional inexpensive service can cost more than a small residual road allocation; and cost errors can change tonnage assignments without producing equally large objective losses. Table 1 identifies the decision boundary relative to related work. Sections 4–5 translate these interactions into thresholds, paired experiments and reproducible comparisons.
Research Stream | Main Decision Emphasis | Boundary of the Present Study |
|---|---|---|
Freight network and service design [1], [3], [4] | Routing, shared capacity and network activation | Joint allocation with resource-level activation and path eligibility. |
Pricing, storage and hub design [5], [21], [22] | Competitive pricing, multiple periods or strategic hub structure | Uses one planning epoch with accepted shipments and a specified catalogue. |
Prediction and robust transport planning [24], [25], [26] | Data-conditioned parameters and uncertainty-aware decisions | Separates bounded cost errors from deadline eligibility changes. |
Learning inside exact solvers [12], [13], [27] | Learned guidance of mathematical-programming search | Provides an exact baseline and stronger nonlearning allocation comparisons. |
3. Decision Problem and Mathematical Formulation
The transport system is a directed, mode-expanded network $G=(N, A)$. Transport arcs connect nodes within a mode, and transfer arcs connect mode-specific representations of the same physical terminal. Figure 1 shows the road, rail and maritime network representation. A candidate path includes every transport and transfer operation required to move cargo from its origin to its destination. The catalogue can contain alternative services using the same mode.

Let $K$ be the commodity set. Commodity $k$ has quantity $q_k>0$, release time $r_k$, origin $o_k$, destination $d_k$ and delivery window $\left[e_k, l_k\right]$. A commodity denotes a divisible shipment class; its fractions may travel independently and need not synchronize at intermediate terminals. Every transported fraction must meet the final deadline. This convention avoids imposing a single node-arrival time on fractions using different routes. An application requiring consolidation before a subsequent departure would need explicit synchronization and schedule constraints.
Let $P_k^0$ be the catalogue of simple, mode-compatible paths for commodity $k$. Path transit time $\tau_{k p}$ includes transport and modeled transfer duration. Waiting until the beginning of the final delivery window is allowed without cost, so an early arrival is acceptable. The eligible set is
If waiting is costly or intermediate departures are scheduled, their effects must be included in path construction. The formulation does not optimize train or vessel timetables and does not represent missed connections. The word service denotes an available transport connection or transfer operation in this study, rather than an endogenous departure schedule.
Resources are indexed by $s \in S$. A resource may be a rail connection, maritime service or terminal transfer operation. It has throughput capacity $u_s>0$, fixed activation cost $F_s \geq 0$ and path incidence $b_{s p} \in\{0,1\}$. Each resource is consumed at most once on a simple candidate path. Several paths may share the same resource. A common terminal charge is represented by one common activation variable; distinct rail and maritime operations may instead have separate variables. This indexing prevents repeated charging of a single facility merely because several commodities or paths use it.
The continuous variable $v_{k p} \geq 0$ denotes tonnes of commodity $k$ assigned to eligible path $p$. The binary variable $y_s$ activates resource $s$. Unit path cost $c_{k p}$ includes variable transport and handling charges but excludes the fixed charges $F_s$. The optimization model is
Every accepted shipment must be transported in full:
Capacity is shared across commodities and paths:
The domains are
For existing connections without an activation decision, $y_s$ may be fixed at one and $F_s$ set to zero. A path using several transfer resources incurs each activated resource's fixed cost once, regardless of the number of commodities assigned to it. Constraint (4) both limits throughput and prohibits use of a closed resource. Additional path-selection binaries are therefore unnecessary for the divisible-flow assumptions used here.
Arc flows are recoverable from the path allocation. If $h_{a p}$ indicates that path $p$ contains arc $a$, then
Each candidate path connects the specified origin and destination, so recovered flows satisfy commodity conservation. Shared arc capacity is enforced by including the corresponding arc as a resource in constraint (4). Conversely, a cycle-free feasible flow decomposes into origin–destination paths. The path model therefore represents independently delivered split flows exactly when the catalogue contains all relevant eligible simple paths. With a restricted catalogue, optimality is conditional on that catalogue.
Checking commodity-specific path times before allocation avoids node-time propagation and its big-$M$ constants. The resulting model can require many candidate paths. Complete enumeration is suitable for a limited service catalogue; larger networks may require pricing or column-generation methods [3-30]. Table 2 summarizes the notation and units.
| Symbol | Definition | Unit or Domain |
|---|---|---|
| \(K;\ P_k^0,\ P_k\) | Commodities; candidate paths; deadline-eligible paths | Finite sets |
| \(S;\ b_{sp}\) | Shared resources; path--resource incidence | Set; binary parameter |
| \(q_k;\ r_k;\ [e_k,l_k]\) | Shipment quantity; release time; delivery window | Tonnes; hours; hours |
| \(c_{kp};\ F_s\) | Unit path cost; resource activation charge | Currency units/tonne; currency units |
| \(\tau_{kp};\ d_{kp};\ u_s\) | Path time; upper time-error allowance; resource capacity | Hours; hours; tonnes |
| \(v_{kp};\ y_s\) | Assigned quantity; resource activation | Nonnegative tonnes; binary |
| \(x_a^k;\ h_{ap}\) | Recovered arc flow; path--arc incidence | Tonnes; binary parameter |
Suppose estimated path time is $\hat{\tau}_{k p}$ and an externally specified nonnegative error bound is $d_{k p}$. A protected eligible set is
Solving model (2)–(5) over this set protects deadlines whenever each realized path time is no larger than its stated upper bound. For arc-level bounds, $d_{k p}$ can be the sum of transport and transfer upper-error bounds along the path. This is a box-type worst-case treatment; it permits all path components to reach their upper values simultaneously and can consequently be conservative [16-25].
The experiments use proportional stress bounds, $d_{k p}=\eta \hat{\tau}_{k p}$, with $\eta \geq 0$. These bounds are sensitivity assumptions, not fitted prediction intervals and not probabilities of late delivery. A statistically calibrated uncertainty model requires observations and a separate calibration assessment. The deterministic model remains useful for testing which routes depend on narrow time margins before such observations are available.
4. Analytical Results and Decision Workflow
For a fixed eligible catalogue and unchanged costs, increasing a resource capacity cannot increase the optimal objective value. An allocation feasible at the lower capacity remains feasible after the increase, so the feasible set expands or remains unchanged. This monotonicity gives a basic implementation check, but it does not imply that capacity always has positive value. A service excluded by every deadline has zero allocation value, and additional capacity beyond demand also has zero value.
The reference corridor permits a more explicit result. Let total demand be $Q$ = 110 tonnes, road capacity be 70 tonnes and rail capacity be $U$. When both commodities have 40-hour deadlines, sea is ineligible. Road and rail unit costs are 58 and 34, and the combined rail-transfer charge is 400. Since road cannot transport all demand, at least 40 tonnes must use rail. For $U \geq$ 40, rail is active and cheaper at the margin, giving
For $U<$ 40, this two-service setting is infeasible. The marginal value of a tonne of rail capacity is thus 24 currency units over 40 $
For a shipment volume $q$ with unconstrained road and rail alternatives, rail's variable-cost advantage offsets its fixed charge when $24 q>400$, giving the break-even quantity $q=400 / 24 \approx 16.67$ tonnes. Rail is cheaper above this threshold. The condition assumes the rail operation would otherwise remain closed. If another shipment has already activated it, the incremental threshold disappears. This distinction explains why allocating shipments independently can overstate fixed costs or select an unnecessarily expensive road plan.
Under proportional time inflation, path $p$ remains protected for commodity $k$ only while
A negative threshold means the path is already nominally ineligible. For a 50-hour deadline and a 46-hour sea path, the threshold is $50/46-1=0.0869565$. At the threshold the path remains feasible; immediately above it the maritime allocation must change. The associated objective can jump because eligibility changes discretely, unlike a small continuous change in a unit tariff.
Cost-estimation uncertainty has a different consequence. Consider the same feasible catalogue under estimated costs $\hat{c}_{k p}$ and true costs $c_{k p}$, with fixed charges known. Assume $\left|c_{k p}-\hat{c}_{k p}\right| \leq \epsilon_{k p}$ and define
Let $(\hat{v}, \hat{y})$ be an estimated-cost incumbent whose absolute objective error from the estimated optimum is at most $\delta$. Its realized-cost regret relative to the true optimum on the same feasible set obeys
The result follows by bounding the cost perturbation of each feasible allocation by $E$, using the estimated-cost incumbent inequality and applying the perturbation bound a second time. Appendix A provides the steps. The bound is conservative but separates two actionable sources of loss: parameter uncertainty and unfinished optimization. A zero solver gap removes $\delta$ but leaves $2 E$. Eq. (11) does not cover a change in the feasible set caused by incorrect transit times; those errors require the eligibility analysis in Eqs. (7) and (9).
Figure 2 organizes the workflow into parameter preparation, exact optimization and decision reporting. Observed tariffs and engineering transit-time estimates can populate the first layer directly. If a predictive model is available, it supplies estimates using the same units and indices. The optimization layer then filters paths, shares capacity and accounts for activation. The reporting layer returns quantities, activated operations, the objective, the best available bound and delivery slack.

The implemented procedure is stated below.
\begin{algorithm}
\caption{Capacity- and deadline-aware freight planning}
\label{alg:Capacity- and deadline-aware freight planning}
1. Construct a mode-compatible candidate-path catalogue and record shared resources, variable charges and fixed activation charges.\\
2. Obtain quantities, release times, delivery windows and nominal or protected path times.\\
3. Filter paths using Eq. (1) or Eq. (7). Stop with an eligibility diagnosis if any commodity has no eligible route.\\
4. Solve model (2)–(5), retaining the incumbent, dual bound, termination status and resource loads.\\
5. Verify demand conservation, capacity and activation consistency using the returned solution.\\
6. Report allocation, cost, resource utilization and minimum delivery slack. State whether the result is optimal for the specified catalogue or an incumbent with a remaining gap.\\
7. Re-solve relevant capacity, deadline and parameter-stress scenarios before committing to an operational change.
\end{algorithm}
A capacity proposal should be evaluated by the difference between two optimized objectives with otherwise identical inputs. A deadline concession should be evaluated by the allocation it enables, including newly incurred fixed charges. If either change modifies several resources at once, the analysis should report the combined scenario rather than interpreting a single linear-programming dual price as a universal value for a mixed-integer decision.
The optimization experiments record objective value, dual bound, final gap, resource loads and conservation residuals. A heuristic allocation is evaluated using the same quantities, costs, eligibility tests and capacities as the exact model. Its objective premium is
The paired sensitivity experiments alter one input family at a time. For each seed, capacity factors modify only non-fallback service capacities, while fixed-charge factors modify only activation charges. The reference objective at factor one provides the within-seed cost index. This design separates each factor from the changes in catalogue size used in the broader comparison.
Cost-error experiments keep times, deadlines and capacities unchanged and solve the model under perturbed unit costs. The selected plan is then evaluated using the original costs. This provides a direct test of decision regret on the same feasible set, as required by Eq. (11). The allocation methods used throughout these experiments are summarized in Table 3, including their decision procedures and stopping rules.
| Method | Decision Procedure | Stopping or Selection Rule |
|---|---|---|
| SG | Sequential allocation with incremental unit and activation costs. | One increasing-deadline order; no reassignment. |
| MG | Apply SG to four deterministic and six seeded random orders. | Select the least expensive feasible allocation. |
| ALS | Reallocate flows by LP and open or close one service per neighborhood move. | Best strict improvement; no improvement or five accepted rounds. |
| MILP | Jointly optimize quantities and binary service activations. | 15-second limit; relative MIP-gap target \(10^{-8}\). |
5. Computational Design and Results
The reference corridor contains two commodities: $q_1$ = 40 tonnes and $q_2$ = 70 tonnes, both released at time zero. The three alternatives are direct road, road–rail–road and road–sea–road. Their unit costs, times and capacities are specified explicitly below. Rail-transfer operations cost 200 currency units at each terminal, and maritime-transfer operations cost 260 at each terminal. Thus the combined fixed charges are 400 and 520, respectively. Figure 3 and Table 4 state the complete numerical specification used by the path model.
For the arc-level representation, Path 2 comprises road legs with unit costs of 4 and 4 and transit times of 4 and 4 hours, together with a rail leg with unit cost 26 and transit time 22 hours. Path 3 comprises road legs with unit costs of 4 and 4 and transit times of 4 and 4 hours, together with a maritime leg with unit cost 19 and transit time 38 hours. Each of the four rail or maritime transfer operations has zero variable cost and zero additional duration in this synthetic corridor; its fixed activation charge is reported in Table 4. Access and egress arcs are specific to the corresponding modal operation and have capacities of 150 tonnes. The arc parameters sum to the path-level costs and transit times in Table 4.

| Parameter | Path 1 Road | Path 2 Road--Rail--Road | Path 3 Road--Sea--Road |
|---|---|---|---|
| Unit variable cost (currency units/t) | 58 | 34 | 27 |
| Transit time (h) | 14 | 30 | 46 |
| Bottleneck capacity (t) | 70 | 100 baseline; 110 in B | 150 |
| Fixed activation charge (currency units) | 0 | 200 + 200 = 400 | 260 + 260 = 520 |
| Shipment quantities | 40 t and 70 t | 40 t and 70 t | 40 t and 70 t |
| Nominal windows in A | [0, 40] h for both | [0, 40] h for both | [0, 40] h for both |
The model and comparison methods were implemented in Python 3.12.14 using NumPy 2.3.5, SciPy 1.17.0 and the bundled HiGHS 1.8.0 solver on Linux x86-64. The execution host reported an Intel Xeon Platinum 8573C processor. Each generated mixed-integer linear programming (MILP) received a 15-second time limit and a relative mixed-integer programming (MIP)-gap target of 10$^{-8}$; other solver settings were left at their defaults. Basic Linear Algebra Subprograms (BLAS) and OpenMP thread environment variables were set to one. Computations were performed on a shared execution host. Recorded times cover the optimization call, excluding instance generation and plotting. Each instance was timed once, so small timing differences should not be interpreted as stable algorithm rankings.
Scenario A keeps 100 tonnes of rail capacity and 40-hour deadlines for both commodities. The sea path is ineligible. An optimal allocation sends 100 tonnes by rail and 10 by road, for
The individual commodity allocation is not unique because both commodities have identical costs and eligibility. One optimum places all 40 tonnes of commodity 1 and 60 tonnes of commodity 2 on rail, with the remaining 10 tonnes on road. The interpretation concerns aggregate mode loads; it does not require the solver to return this particular commodity split.
Scenario B raises rail capacity to 110 tonnes. All demand then uses rail, so $C_B$ = 34(110) + 400 = 4140. The capacity increase saves 240 currency units, or 5.48% of Scenario A’s cost. Scenario C restores rail capacity to 100 tonnes and reduces commodity 2’s deadline to 20 hours. Its 70 tonnes must use road, leaving commodity 1 on rail. The resulting cost is $C_C$ = 34(40) + 400 + 58(70) = 5820, 32.88% above Scenario A.
Three further scenarios test maritime eligibility and capacity shortfalls. Scenario D gives both commodities 50-hour deadlines. Sea becomes eligible and transports all 110 tonnes for 27(110) + 520 = 3490, 20.32% below Scenario A. Scenario E relaxes only commodity 2’s deadline to 50 hours. Commodity 1 remains on rail, while commodity 2 uses sea; the cost is 34(40) + 400 + 27(70) + 520 = 4170. Although sea has a lower unit cost, activating both intermodal operations limits the saving to 210 currency units. Scenario F combines a 20-hour deadline for commodity 2 with rail capacity of only 30 tonnes. Commodity 2 fills the 70-tonne road service and the remaining rail capacity cannot carry all of commodity 1, so the model is infeasible. Across these six scenarios, delivery deadlines and full shipment quantities are enforced as hard constraints; Table 5 brings together the corresponding settings, optimal allocations, minimum costs and feasibility outcomes.
| Case | Rail Capacity (t) | Deadlines 1/2 (h) | Aggregate Road/Rail/Sea (t) | Minimum Cost |
|---|---|---|---|---|
| A baseline | 100 | 40/40 | 10/100/0 | 4,380 |
| B capacity increase | 110 | 40/40 | 0/110/0 | 4,140 |
| C tight commodity 2 | 100 | 40/20 | 70/40/0 | 5,820 |
| D both relaxed | 100 | 50/50 | 0/0/110 | 3,490 |
| E commodity 2 relaxed | 100 | 40/50 | 0/40/70 | 4,170 |
| F capacity shortfall | 30 | 40/20 | No feasible allocation | Infeasible |
All five feasible scenarios were solved to a reported zero relative gap. Their manually evaluated costs matched the solver objectives. Scenario F returned an infeasibility status. These checks confirm the intended response to activation costs, commodity-specific eligibility and shared capacity.
The two-factor sweep varied rail capacity from 40 to 120 tonnes in one-tonne steps and commodity 2’s latest delivery time from 14 to 50 hours in one-hour steps. Commodity 1 retained its 40-hour deadline. The resulting 81 × 37 = 2997 settings were all solved; other parameters were held fixed. Figure 4 shows the objective surface and selected capacity slices.

For commodity 2 deadlines below 30 hours, rail and sea are both ineligible for that commodity. It therefore occupies the full road capacity. At every tested rail capacity of at least 40 tonnes, commodity 1 uses rail and total cost remains 5,820. Adding rail capacity has no value in this region because the commodity that could use it more extensively is excluded by its delivery commitment.
At deadlines from 30 through 45 hours, commodity 2 becomes rail-eligible but not sea-eligible. Cost decreases by 24 per added tonne of rail capacity until the 110-tonne demand is fully accommodated, in agreement with Eq. (8). The 100-to-110-tonne comparison is therefore one segment of a broader linear capacity-value region, not an isolated numerical coincidence.
At deadlines of at least 46 hours, commodity 2 can use sea while commodity 1 remains sea-ineligible. When rail capacity is only 40 tonnes, the rail-sea allocation costs 4,170 and avoids sending 70 tonnes by road. At 100 tonnes, it still costs 4,170 and remains preferable to the 4,380 rail-road plan. At 109 tonnes, however, the rail-road alternative costs 4,164 and becomes slightly cheaper because it avoids the extra maritime fixed charge. The equality occurs at 6,780 $-$ 24$U$ = 4,170, or $U$ = 108.75 tonnes. Thus eligibility of a cheaper mode does not imply that it should be activated at every capacity level.
The protected-time experiment starts from Scenario D , where both deadlines are 50 hours. Costs and capacities remain unchanged and all nominal path times are multiplied by $1+\eta$. Twelve stress settings were evaluated, including values immediately below and above the analytical sea and rail eligibility thresholds.
At $\eta$ = 0, the sea allocation costs 3,490. It remains feasible for $\eta \leq 50 / 46-1$, corresponding to approximately 8.70% transit-time inflation. Above that threshold, sea is excluded and the protected plan uses 100 tonnes of rail and 10 tonnes of road for 4,380. The increase is 890 currency units, or 25.50% relative to the nominal sea plan. The rail-road allocation remains feasible for $\eta \leq 50 / 30-1=2 / 3$, corresponding to approximately 66.67% transit-time inflation. Above this second threshold, neither intermodal path meets the 50-hour deadline; road capacity alone is insufficient for 110 tonnes. Figure 5 displays these transitions.

The 25.50% increase is the cost of protection under the specified time bounds. It locates a planning transition rather than estimating its probability. The four-hour nominal slack of the sea plan is therefore an input-verification priority when the cheaper allocation is considered.
The larger experiment used three sizes: 10 commodities and 6 candidate services, 30 and 12, and 60 and 24. These are synthetic end-to-end service catalogues for a common origin–destination corridor, not arbitrary large transport networks. Each candidate has a mode-specific cost and time, a fixed activation charge and shared capacity. Each catalogue can be represented by private access and egress arcs and one shared resource per service, so it is a direct special case of model (2)–(5).
For each size, seeds 17, 29, 43, 71, and 101 were combined with two deadline mixes and two capacity regimes, yielding 20 instances per size and 60 in total. Quantities were independent integers from 5 to 20 tonnes. Before replacing the final service with the fallback described below, modes followed the repeated sequence road, rail and sea. Base costs were 58, 34, and 27 per tonne, and base transit times were 14, 30, and 46 hours. Commodity–service costs and times were independently multiplied by uniform factors on [0.85,1.15].
For each non-fallback service, capacity was 0.055$Q$ in the scarce regime or 0.11$Q$ in the less-scarce regime, multiplied by an independent uniform factor on [0.8,1.2], where $Q$ is instance demand. Fixed charges were the mode values 0, 400 and 520 multiplied by uniform factors on [0.7,1.3]. Deadlines were sampled from 20, 35 and 50 hours. Their probabilities were (0.4,0.4,0.2) in the tight mix and (0.1,0.3,0.6) in the relaxed mix. A final road fallback had capacity $Q$, time 12 hours, zero fixed charge and commodity-specific unit costs drawn uniformly from 66 to 72. It guaranteed feasibility and made shortages on cheaper services visible as expensive allocations.
Three feasible allocation methods were compared with the exact optimum. Sequential greedy allocation (SG) processes commodities by increasing deadline, decreasing quantity and index. At each assignment it chooses the eligible service with the lowest incremental cost per assigned tonne, including an unopened service’s fixed charge divided by the immediate assigned quantity. Earlier assignments are not reconsidered.
Multiple-order greedy allocation (MG) applies the same assignment rule to ten orders: deadline ascending, deadline descending, quantity ascending, quantity descending, and six random permutations. Deadline orders break ties by decreasing quantity; quantity orders break ties by increasing deadline, with stable index ordering thereafter. Random permutations use NumPy seeds 10000+seed. MG returns the least expensive feasible result.
Activation search with linear programming (LP) reallocation (ALS) first solves a transportation LP over the active services of every MG candidate, always retaining the zero-charge fallback as available. Unused services are closed. From the best result, each non-fallback service is opened or closed in turn and the flow LP is resolved. An objective reduction greater than 10$^{-7}$ currency units is treated as a strict improvement. The best strict improvement is accepted, and the search stops when no one-toggle improvement exists or five improving rounds have been accepted. LP subproblems use HiGHS, and the comparison records the number of calls. ALS serves as a reproducible comparison method for this catalogue problem.
The continuous relaxation of each MILP was also solved. For catalogue instances, eliminating relaxed activation variables adds $F_s / u_s$ to the cost per unit assigned to service $s$. The resulting transportation LP gives the same lower bound as relaxing $y_s \in[ 0,1]$. This checks formulation strength independently of the final branch-and-bound gap. The LP-relaxation gap was calculated as $100\left(C_{\text {MILP}}-C_{\mathrm{LP}}\right) / C_{\text {MILP}}$, where $C_{\mathrm{LP}}$ denotes the continuous-relaxation objective.
Every generated MILP reached a reported zero relative gap within the 15-second limit, and all three heuristics returned feasible allocations. The maximum observed exact-model demand or capacity residual was below 7.2 × 10$^{-13}$ tonnes. Median MILP-call times were 0.0022, 0.0054, and 0.4126 seconds for the three sizes; the maximum was 1.2790 seconds. These computation times are single-run measurements on the stated host. Allocation quality was assessed separately by comparing each heuristic with the exact objective; Table 6 reports the resulting mean cost premiums, together with the maximum ALS premium and the number of exact-objective matches achieved by ALS.
| Commodities $\times$ Services | SG Mean | MG Mean | ALS Mean | ALS Maximum | ALS Exact Matches |
|---|---|---|---|---|---|
| \(10 \times 6\) | 2.69 | 0.89 | 0.00 | 0.00 | 20/20 |
| \(30 \times 12\) | 10.60 | 7.43 | 0.00 | 0.00 | 20/20 |
| \(60 \times 24\) | 17.95 | 14.29 | 0.22 | 1.26 | 9/20 |
Across the three catalogue sizes, multiple ordering reduced the mean premiums from 2.69\%, 10.60\% and 17.95\% under SG to 0.89\%, 7.43\% and 14.29\%, respectively. ALS further reduced the corresponding mean premiums to 0.00\%, 0.00\% and 0.22\%, respectively, and matched the exact objective in 49 of the 60 instances. Its largest premium was 1.26\% ( Figure 6). Thus most of the sequential rule’s avoidable cost was removed by joint flow reallocation and local activation changes. The remaining benefit of exact optimization was small for this generator; ALS therefore provides a more informative benchmark of that benefit than SG alone.

Mean continuous-relaxation gaps for the 10 × 6, 30 × 12 and 60 × 24 catalogues were 0.003\%, 0.229\% and 0.790\%, respectively, with an overall maximum of 1.713\%. The combination of a strong relaxation and limited catalogue size helps explain the short exact-solver times. The experiment supports exact allocation as a practical baseline for catalogues of the tested sizes.
Catalogue size changes both the number of commodities and the number of services. It also changes aggregate non-fallback capacity because the generator assigns capacity as a fraction of demand to each service. Consequently, differences between size groups are descriptive rather than isolated commodity-count effects. The following paired tests address the separate effects of capacity and activation charges.
Five 30-commodity, 12-service catalogues were generated using the stated seeds, tight deadline mix and less-scarce capacity regime. Within each catalogue, non-fallback capacities were multiplied by 0.50, 0.75, 1.00, 1.25 and 1.50, with every other input unchanged. A second experiment applied the same five factors to fixed activation charges, leaving all capacities and other inputs unchanged. The fallback retained its full-demand capacity and zero charge throughout. The design therefore comprised two five-level experiments across five seeds, with a common factor-one reference for each seed. All 50 solves reached a reported zero relative gap, allowing the effects of the two factors to be compared against their respective within-seed reference solutions. Table 7 summarizes these effects through the cost indices, fallback shares in the capacity experiment and numbers of activated chargeable services in the fixed-charge experiment.
| Factor | Capacity Test Cost Index | Capacity Test Fallback (\%) | Charge Test Cost Index | Charge Test Active Paid Services |
|---|---|---|---|---|
| 0.50 | 125.47 | 41.94 | 93.16 | 5.4 |
| 0.75 | 108.72 | 16.68 | 96.64 | 5.4 |
| 1.00 | 100.00 | 4.06 | 100.00 | 5.2 |
| 1.25 | 96.13 | 0.00 | 103.16 | 5.0 |
| 1.50 | 94.13 | 0.00 | 106.13 | 4.6 |
Reducing non-fallback capacity to half its reference value raised the mean within-seed cost index to 125.47, while increasing capacity by 50\% reduced it to 94.13. Mean fallback shares changed from 41.94\% at the half-capacity setting to 0.00\% at the expanded setting. Because costs, quantities and deadlines were unchanged within each seed, these differences isolate the effect of available service capacity in the specified catalogue.
Fixed-charge changes produced a different response. At half the reference charge, the mean cost index was 93.16; at 1.5 times the charge, it was 106.13. The corresponding mean numbers of activated chargeable services were 5.4 and 4.6. These counts concern rail and maritime activations with positive charges, not the zero-charge road services. Figure 7 shows the cost and allocation responses.

For every seed, objective value was nonincreasing in capacity and nondecreasing in fixed-charge level. These monotonicity checks follow directly from the feasible-set and objective changes. Mode shares and activation counts need not follow an equally simple general rule: different services can substitute for one another as the optimal allocation changes.
The cost-error experiment used all 60 catalogues. Each original cost array was treated as the true cost vector. Estimated unit costs were $\hat{c}_{k p}=c_{k p}\left(1+\eta z_{k p}\right)$, with $z_{k p}$ drawn uniformly from [-1,1] and $\eta \in$ \{0.05, 0.10, 0.20\}. Three noise seeds, 7, 11 and 19, were used per catalogue, with generator seeds 100000 + 100 × id + noise seed. The same noise direction was used across the three magnitudes for a given catalogue and noise seed. Times, capacities, quantities, fixed charges and eligible paths were unchanged. The resulting 60 × 3 × 3 = 540 estimated-cost models were solved and their allocations evaluated under the original costs.
Realized relative regret was
For the bound in Eq. (11), $\epsilon_{k p}=\eta c_{k p}$ and $E$ was calculated over eligible paths only. The absolute estimatedmodel incumbent-bound difference supplied $\delta$. Tonnage reassignment was measured as $100 \sum_{k, p}$ $\left|\hat{v}_{k p}-v_{k p}^*\right| /\left(2 \sum_k q_k\right)$, where the comparator was an original-cost optimum. This measure records the shipment volume assigned to different services, with each reassigned tonne counted once. Together with regret and the normalized bound, it characterizes the allocation changes and cost consequences associated with each error level; the results are summarized in Table 8.
| Cost Perturbation (\%) | Tests | Mean Regret | Max Regret | Mean Reassignment | Mean Bound |
|---|---|---|---|---|---|
| 5 | 180 | 0.46 | 1.45 | 27.49 | 13.89 |
| 10 | 180 | 1.27 | 2.75 | 41.46 | 27.77 |
| 20 | 180 | 2.89 | 6.08 | 54.34 | 55.55 |
Mean regret increased from 0.46\% at 5\% perturbation to 1.27\% at 10\% and 2.89\% at 20\%. At the largest magnitude, the maximum individual regret was 6.08\% and mean reassignment reached 54.34\%. All 540 observed regrets satisfied Eq. (11). At the 20\% perturbation level, the mean bound normalized by the original-cost optimum was 55.55\%. The maximum ratio of realized regret to the corresponding bound, calculated as $100\left[C(\hat{v}, \hat{y})-C\left(v^*, y^*\right)\right]$ $/(2 E+\delta)$, was 9.92\%. Figure 8 displays the difference between allocation movement, actual objective loss and the conservative bound.

These results separate plan stability from cost stability. When several services have similar costs, estimation errors can move a sizeable fraction of tonnage while producing a much smaller realized objective loss. The bound remains a worst-case screening quantity rather than a prediction of that loss. Its interpretation is conditional on the unchanged feasible catalogue; transit-time errors require the separate deadline-protection analysis in Section 5.4.
6. Discussion
The corridor analysis distinguishes capacity shortages from eligibility restrictions. When both commodities can use rail, an extra tonne of rail capacity replaces a tonne of road transport and is worth 24 currency units until demand is accommodated. Tightening commodity 2’s deadline removes that substitution, so added rail capacity no longer helps it. An operator should therefore establish which shipments can use a proposed capacity increase before valuing the increase from modal unit-rate differences.
Fixed charges create a second decision boundary. In Scenario E, opening maritime operations saves only 210 currency units, although sea’s unit rate is seven currency units per tonne below rail’s. At 109 tonnes of rail capacity, the rail–road plan becomes cheaper because the small residual road allocation avoids a maritime charge. The paired experiments show the same distinction at catalogue scale: capacity factors alter access to inexpensive throughput, whereas fixed-charge factors alter the cost of opening services. They should be evaluated as different interventions.
The heuristic comparisons clarify the value of joint allocation. Multiple ordering reduced the sequential greedy premium, while LP reallocation and activation search removed most of the remaining difference. For the tested catalogues, exact optimization provided a certified optimum and resolved the residual allocation differences. Operational comparisons therefore need to account for both commodity ordering and the possibility of reallocating flows after service activation.
Time and cost uncertainty call for different checks. A sea plan near the 50-hour deadline can become infeasible when its time estimate changes slightly; that is a service-eligibility issue. In the cost-error tests, the feasible set remains unchanged, so the selected plan can be reassigned without violating a deadline. The observed cost loss is then determined by how expensive the substitute services are under the original prices.
This distinction helps prioritize verification. Transit-time estimates near an eligibility threshold warrant checking before dispatch. Cost estimates warrant checking when they reverse the ranking of complete allocations after fixed charges are included. A large change in mode share alone does not prove a large economic loss: the cost-error results show substantial reassignment among near-substitute services. Conversely, a small final solver gap limits only the loss from unfinished optimization and says nothing about whether the supplied parameters are correct.
The results complement prediction-and-optimization research [7-26] by separating cost regret from deadline feasibility within an explicit freight allocation model. The exact and heuristic allocations provide computational reference points, while the bounded-error tests identify how changes in estimated costs propagate into service assignments and realized expenditure.
All instances are synthetic. The 2,997 settings are a systematic sweep of one small corridor, while the 60 catalogues vary service and commodity attributes within one common origin–destination structure. These experiments establish internal consistency and controlled comparisons, but they do not establish savings for a named carrier or scalability on a geographically complex network.
The formulation assumes divisible freight and independent delivery of each fraction. Containers, wagon formation, intermediate synchronization, scheduled departures, vehicle circulation and inventory costs can require additional variables and constraints. Restricted route catalogues can also omit valuable alternatives. Empirical deployment should therefore document how paths were generated and which operational commitments were included.
The proportional time bounds and uniform cost perturbations were chosen to expose sensitivities, not fitted to observed errors. ALS is a stronger reproducible comparator than SG, but it is still a limited local search. Its five-round cap does not establish one-toggle local optimality whenever the cap is reached. Larger network instances, additional optimization heuristics and carrier-data calibration would provide the next tests of external validity and computational performance.
7. Conclusions
A path-based fixed-charge model was used to examine multimodal freight allocation under shared capacity and shipment-specific delivery windows. Its central decision relationship is conditional: capacity has value only for eligible demand, and a lower unit-cost mode need not be activated when its fixed charge exceeds the saving on the remaining tonnage.
The reference corridor quantified these conditions. Rail capacity was worth 24 per tonne over the relevant demand-limited region, a maritime plan cost 3,490 when both deadlines were 50 hours, and time inflation above 8.70\% excluded that plan. The capacity–deadline sweep identified an additional reversal: with only commodity 2 sea-eligible, a rail–road allocation became cheaper above 108.75 tonnes of rail capacity because it avoided maritime
activation.
The larger comparisons showed that the strength of the heuristic comparator affects the estimated benefit of exact optimization. ALS matched 49 of 60 exact objectives and reduced mean premiums to 0.00\%–0.22\%, while the paired experiments isolated capacity and charge effects. The 540 bounded-cost tests further showed that allocation movement can exceed realized cost regret by a substantial margin. Together, these results provide a reproducible operational baseline for capacity evaluation, deadline negotiation and input verification. Extending it to carrier data and explicit service schedules is the next application priority.
The data supporting the findings of this study are included within the article, which specifies the corridor parameters, instance-generation rules and random seeds. All numerical data are synthetic and contain no individual shipment records. The experiment scripts, generated instances and solver outputs are available from the corresponding author upon reasonable request.
The author declares no conflicts of interest.
Appendix A. Derivation of the Cost Error Bound
For any feasible allocation, fixed charges are unchanged and the variable-cost error satisfies
$ \label{eq:A1} |C(v, y)-\hat{C}(v, y)| \leq \sum_k \sum_{p \in P_k} \epsilon_{k p} v_{k p} \leq \sum_k q_k \max _{p \in P_k} \epsilon_{k p}=E $
If the estimated-cost incumbent has absolute suboptimality at most $\delta$, then
$ \label{eq:A2} \hat{C}(\hat{v}, \hat{y}) \leq \min _{v, y} \hat{C}(v, y)+\delta \leq \hat{C}\left(v^*, y^*\right)+\delta $
Applying Eq. (A1) at the incumbent and the true optimum yields
$ \label{eq:A3} C(\hat{v}, \hat{y}) \leq \hat{C}(\hat{v}, \hat{y})+E \leq \hat{C}\left(v^*, y^*\right)+\delta+E \leq C\left(v^*, y^*\right)+2 E+\delta $
where, $\delta$ can be bounded by the incumbent objective minus the solver's valid dual bound, in currency units. This argument assumes the same feasible set for both cost vectors. If transit-time error excludes a route or makes an allocation infeasible, the assumptions of the bound no longer hold and the protected-catalogue analysis must be used instead.
