A Distributed Stochastic Optimization for a Class of Combinatorial Problems