Elementary Portfolio Optimization and Optimal Stopping 20241202.pdf