Computational Complexity and Exact Algorithms for Pressure-Driven Hydrogen Charging
Nanase Sato, Wei Wu, Mutsunori Yagiura
Abstract
We study the problem of deciding the feasibility of pressure-driven hydrogen charging from supply cylinders to demand cylinders without replenishment, asking whether an order of transfers allows every demand cylinder to reach its target pressure. Hydrogen can be transferred from a cylinder to another only when the supply cylinder has higher pressure than the demand cylinder. The charging to each demand cylinder must be completed before starting another, and each transfer continues until the connected cylinders reach equal pressures or the demand cylinder reaches its target. We consider equal-capacity supply cylinders and arbitrary positive rational demand cylinder capacities. Let n be the number of demand cylinders and L the binary input length. With one supply cylinder, feasibility is decidable in polynomial time; with two, it is NP-complete even with cylinder capacities equal to 1 and nonnegative integer pressures. We prove that feasibility is preserved even if the supply cylinders are always used in non-decreasing order of their current pressures when filling each demand cylinder. We also show that majorization of residual supply cylinder pressure states justifies discarding majorized states in dynamic programming over sets of completed demand cylinders without losing any feasible remaining demand cylinder order. With two supply cylinders, one state per completed demand cylinder set suffices, yielding 2npoly(L) time and space. With three, the exponential time hypothesis (ETH) excludes deterministic 2o(n n)poly(L)-time algorithms. This lower bound is tight in the exponent because the rule for order of supply cylinders allows feasibility to be decided in n!poly(L) time by enumerating only demand cylinder orders.
Create a lesson
Related papers
The computational complexity of Undirected Vertex Geography with maximum height 3
Shared title terminology · Craig Tennenhouse, Kanae Yoshiwatari
Exact Quantum Algorithms for Composed Boolean Functions
Shared title terminology · Gagan Chiruvella, Chandrima Kayal, Rajat Mittal et al.
A note on exact external information complexity
Shared title terminology · Henning Wunderlich
Fine-Grained Complexity Across the Computational Phase Transition
Shared title terminology · Zhe Ju, Jingcheng Liu, Yitong Yin
Approximate clearing in financial networks with credit default swaps: hardness thresholds, a box algorithm, barriers, and exact solvency at bounded degree
Shared title terminology · Michal Čertík
Computational complexity of the H-coloring problem in cubic graphs
Shared title terminology · Vahan Mkrtchyan