Iterative solution procedure for nonsmooth nondifferentiable stochastic optimization: linking distributed models for food, water, energy security nexus management