Multi-regime stochastic dynamic optimization for green hydrogen investment with volatile market demand and random technology breakthroughs | Synapse