--
You received this message because you are subscribed to the Google Groups "AMPL Modeling Language" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ampl+uns...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ampl/reply-77152-1837449296-5421348961-1649343044-764046970%40helpscout.net.
Thank you very much for the feedback. In my mode I have used the same approach as in example 4.5 where I considered 3 scenarios and their respective probabilities are given in the data file as Pi_w. However, with the available data Is there any support you can provide with to calculate these probabilities of occurrence? For example I have read a paper that talks about the subject but I have difficulties implementing it with AMPL. Can you please help me? Attached is the paper and the flowchart where they used the same mode to simulate the demand at a station.
On Thu, Apr 7, 2022 at 2:50 PM UTC, AMPL Google Group <am...@googlegroups.com> wrote:
AMPL does not have any features that automatically add uncertainty to a model. Instead you need to adapt your formulation is some way that takes uncertainty into account; but that is a general formulation issue, rather than an AMPL issue, and so is outside the scope of this forum.
Exercise 4.5 in the AMPL book (starting at the bottom of page 69) describes how a simple formulation can be converted to a "two-stage stochastic program with recourse" that takes some uncertainty into account. By working through this exercise, you can gain an appreciation for how to convert to this kind of formulation. Then you can consider how to apply the same idea to your model.
A web search on "stochastic programming" will bring up more ideas and information on adding uncertainties to a model.
--
Robert Fourer
am...@googlegroups.com