The optimization problem developed in this study integrates charging pile siting, event-level pile assignment, and continuous charging schedule decisions into a unified MILP. Even though full linearization ensures that the final formulation is a mixed-integer linear program, the problem size and structural characteristics make it computationally impossible for realistic transit networks. This section analyzes the intrinsic sources of complexity and constructs a theoretically valid lower bound that provides a meaningful benchmark for evaluating the proposed matheuristic.
4.1. Computational Complexity Analysis
The integrated charging infrastructure planning and charging scheduling problem is computationally challenging because it combines discrete infrastructure siting, event-level charging pile assignment, and continuous charging-time decisions. To provide a formal complexity characterization, we first show that the proposed problem contains a classical NP-hard problem as a special case.
Proposition 1. The integrated charging infrastructure planning and charging scheduling problem is NP-hard.
Proof. Consider a restricted version of the proposed model with a single terminal, a fixed number K of identical existing charging piles, no candidate new piles, flat electricity pricing, deterministic battery capacity, identical charging power, and no infrastructure investment decision. In this restricted case, the remaining decision is to assign a set of charging events to identical charging piles and determine their non-overlapping charging intervals within a common operating horizon.
We reduce the bin packing problem to this restricted charging scheduling problem. Given a bin packing instance with item sizes , bin capacity B, and K bins, construct a charging scheduling instance with K identical charging piles and n charging events. Each charging event l corresponds to item and requires a non-preemptive charging duration of . This can be induced by assigning a fixed charging energy requirement to the event under identical charging power. All charging events share the same feasible time window , and each charging pile can serve at most one event at any time.
If the bin packing instance is feasible, then the items assigned to each bin can be scheduled sequentially on the corresponding charging pile within the time horizon , yielding a feasible charging schedule. Conversely, if a feasible charging schedule exists, then the charging events assigned to the same pile define a bin whose total processing time does not exceed B. Therefore, the corresponding items can be packed into K bins of capacity B. Hence, the bin packing instance is feasible if and only if the constructed charging scheduling instance is feasible.
Since bin packing is NP-hard, this restricted version of the proposed charging scheduling problem is NP-hard. Because the full integrated planning and scheduling problem generalizes this restricted case by additionally considering infrastructure installation, heterogeneous charging piles, TOU pricing, SoC evolution, and battery capacity uncertainty, the proposed problem is NP-hard. □
Beyond NP-hardness, the practical intractability of the proposed model is further exacerbated by the following structural features.
The first source of complexity arises from the charging pile installation configuration. At any terminal v, only slots are available for installing new charging piles. Let be the number of available slots at the terminal. Remember that slot i cannot be activated unless its previous slot has already been active. Any feasible configuration can be fully characterized by the number of activated slots. Once the number of newly installed charging piles at terminal v is determined and equal to , each activated slot independently selects one charging pile type from the set .
Observation 1. The number of feasible installation configurations at terminal v equals , which grows exponentially in . Since terminals operate independently, the entire infrastructure-design space is the Cartesian product of all across the terminals.
At terminal v, only the last slots are eligible for installing new charging piles. Each candidate slot may either remain uninstalled or be equipped with one charging pile type from the set . To ensure an ordered construction of charging infrastructure, a monotonicity constraint is imposed, i.e., . Under this structure, the decision of installing piles at terminal v is to determine the number of new charging piles and assign a pile type to each of the k new piles (or activated slots). Given the value of k, the number of feasible installation configurations is . Summing over all possible values of k yields . Since all terminals make new decisions on charging pile installation independently, the overall infrastructure design space is given by the Cartesian product of the sets across all the terminals, which is very large even for moderate-scale networks.
This combinatorial surge constitutes the first layer of computational complexity. After the installation configuration is fixed, it is necessary to determine whether charging activity is performed and, if so, select an appropriate charging pile in each charging event. Because each event is associated with a specific terminal, which typically provides multiple charging slots, the resulting event-to-pile assignment gives rise to a second exponential decision space structure.
Observation 2. In each charging event, either one of the available charging piles is selected for BEB charging at the corresponding terminal or there occurs no charging activity. As terminal v has up to piles, any event occurring at terminal v admits at most assignment choices. Consequently, the global assignment decision space grows as the Cartesian product of all event-level choices and is exponential in the total number of charging events.
For any charging event l, the assignment variable satisfies , meaning that event l may either charge at exactly one pile or remain unassigned. Because events occur at specific terminals determined by the service pattern of their associated buses, an event taking place at terminal v has precisely admissible choices. Since assignment decisions across events are independent, the global assignment space is given by . Convenient representation, let denote the average number of piles per event. The assignment space therefore, satisfies the growth rate , which increases exponentially with the number of charging events. This combinatorial explosion explains why the assignment component alone overwhelms exact MILP solvers and often leads to intractability in realistic-scale instances.
The impact of Observations 1 and 2 becomes more severe when considering the continuous-time scheduling component. Even adopting a purely event-based timeline, the MILP introduces time coupling constraints among charging events belonging to the same BEB. These include SoC tracking, power–energy dynamics, and temporal feasibility constraints. The resulting formulation contains continuous variables and up to pairwise consistency constraints. Combined with the installation and assignment decisions, the full MILP intertwines discrete and continuous structures in a way that produces an exceptionally rugged branch-and-bound search space.
Although the model is fully linearized, solving the resulting MILP remains computationally prohibitive because of the enormous number of binary installation and assignment variables. These discrete variables induce an exponentially large branch-and-bound search tree, forcing the solver to explore vast combinatorial subproblems. While the LP relaxation at the root node is already sizeable due to the dense SoC–time coupling constraints, the dominant source of memory consumption arises from storing millions of branch-and-bound nodes. Empirical tests show that, even for instances involving only 15 BEBs, commercial solvers such as CPLEX terminate prematurely because the search tree exhausts the available memory. This intrinsic intractability underscores the necessity of a decomposition-based matheuristic rather than relying on exact MILP optimization.
The proposition establishes the NP-hardness of the proposed problem through a restricted deterministic special case. The following observations further explain why the full formulation becomes computationally challenging in realistic BEB networks. The number of binary infrastructure variables is on the order of while the number of event–pile assignment variables scales as . In addition, the temporal non-overlap and SoC consistency constraints introduce up to coupling constraints among charging events. As a result, even after full linearization, the problem structure induces an exponentially large branch-and-bound tree, rendering exact MILP solvers computationally infeasible for realistically sized BEB networks. This complexity characterization further justifies the adoption of a decomposition-based matheuristic framework.
4.2. A Theoretical Lower Bound
Given the intrinsic intractability of the full mixed-integer formulation, it is essential to establish a theoretically valid lower bound that can serve as a benchmark for evaluating the matheuristic developed in
Section 5. To this end, we construct a relaxed formulation that removes the combinatorial structure of the problem while preserving the physical and temporal feasibility of charging operations. The optimal objective value of the relaxed formulation provides a theoretical lower bound on the optimal objective value of the original MILP. This relaxation simultaneously convexifies both the infrastructure-design and charging scheduling layers and replaces pessimistic battery deterioration assumptions with the most optimistic admissible values.
The relaxation incorporates three conceptual mechanisms. First, all binary variables associated with charging installation and event–pile assignment are relaxed to continuous variables in . The investment cost function and the global budget limit remain fully enforced, so the model may select any fractional installation pattern that respects the total investment constraint. This convexifies the design space and allows the model to allocate fractional pile types to each feasible slot. Second, all pairwise pile-conflict constraints that prevent overlapping use of the same pile are removed. In the relaxed model, multiple vehicles may occupy a pile simultaneously in a fractional sense, thereby eliminating the discrete bottleneck that typically drives combinatorial difficulty. Third, battery deterioration of each BEB j is modeled optimistically by fixing the inverse-capacity multiplier at , where is the best-case deterioration rate. This reflects the maximum effective battery capacity permissible within the deterioration model and yields a more favorable SoC evolution than the nominal or worst-case multipliers used in the robust formulation.
Despite these relaxations, the physical backbone of the problem is preserved. All SoC dynamics, time-continuity relations, travel-energy consumption, power constraints, and the mapping of charging durations to SoC increments remain identical to the original MILP. As a result, the joint LP relaxation still produces operational trajectories that are physically consistent and time-feasible, even though they may not be implementable in practice due to the absence of charging pile exclusivity and integer decisions. The relaxation thus isolates the minimum achievable cost under idealized, congestion-free, and deterioration-optimistic conditions.
Let
denote the feasible set of the original MILP. We define the relaxed feasible set
by: (i) replacing all binary variables
with continuous variables
, (ii) removing all pile conflict constraints, and (iii) replacing the robust deterioration term by the optimistic multiplier
. The optimal objective value of the relaxed formulation is given by
where
is the same objective function as in the original MILP, and
collectively denotes the continuous charging-time and event-timing decision variables associated with the operational scheduling layer.
Proposition 2 (Theoretical lower bound)
. Let denote the optimal objective value of the original MILP and the relaxed formulation defined in (33), respectively. Then . Proof. By construction, the relaxed feasible set
is a superset of the original feasible set
. Specifically, relaxing integrality enlarges the feasible region, removing exclusivity constraints further expands it, and using
yields the most optimistic SoC feasibility margins among all admissible deterioration realizations. Consequently, any feasible solution to the original MILP is also feasible in the relaxed problem defined in (
33). Since both models minimize the same objective function and the relaxation can only enlarge the feasible region, the optimal objective value of the relaxed problem cannot exceed that of the original MILP. Therefore,
, which establishes that
serves as a valid lower bound for the original MILP. □
The theoretical lower bound represents an idealized operating environment in which charging pile congestion, discrete installation choices, and adverse battery deterioration effects have all been smoothed away. The resulting solution corresponds to a physically consistent—but operationally unconstrained—charging plan that yields the minimum cost theoretically achievable under the best possible infrastructure and deterioration conditions.
In computational experiments, the value serves as a rigorous benchmark for evaluating the solution quality of the matheuristic. Since the value may substantially underestimate the true implementable cost, the relative gap quantifies the distance between heuristic performance and the idealized, convexified lower limit of system operation. This provides a conservative and physically interpretable measure of solution quality that is robust across instances of different scales.
It is worth noting that the proposed lower bound is intentionally optimistic, and its tightness depends on system operating conditions. Specifically, the bound tends to be tighter in scenarios where (i) charging congestion is mild, (ii) investment budgets are relatively loose, and (iii) Battery capacity uncertainty is limited. In contrast, in heavily congested terminals or under stringent budget constraints, the relaxation of charging pile exclusivity and integer installation decisions may lead to a noticeable underestimation of the true implementable cost.
Nevertheless, by preserving physically consistent SoC dynamics and time feasibility, the bound remains a meaningful and interpretable benchmark. In
Section 6, this lower bound is used to quantify the performance gap of the proposed heuristic relative to an idealized, congestion-free operating environment.
This section has examined the intrinsic computational structure of the integrated charging pile-siting and charging–scheduling problem and established a theoretically valid lower bound for benchmarking solution quality. The complexity analysis reveals the fundamental sources of combinatorial difficulty, while the proposed lower bound provides a rigorous and physically interpretable reference under idealized operating conditions. Together, these results lay the theoretical foundation for the solution methodology developed in the next section. Building upon these insights,
Section 5 introduces a dedicated matheuristic framework designed to exploit the problem structure and to deliver high-quality solutions within practical computation time.