Stochastic Mixed-integer Programming for Financial Planning Problems using Network Flow Structure