Performance of LLMs on Stochastic Modeling Operations Research Problems: From Theory to Practice