Replies: 2 comments 2 replies
-
PuLP itself does not help in the automatic migration of deterministic problems into stochastic optimization problems. If you reformulate your problem into its "stochastic equivalent" you can then use PuLP to code it and solve it. Reformulation usually requires including new sets (scenarios) to the input data and then choosing carefully when is each variable decided (before new information is available or after). If you read some resources on that you can actually use PuLP to generate the stochastic optimization model. Unfortunately, I do not have any resources on that at hand. That said, there's definitively many examples and resources that cover stochastic optimization modelling. I think the pyomo guys have some stochastic optimization functionality (https://github.com/Pyomo/pysp) but I have never used it so I can't tell you much more. |
Beta Was this translation helpful? Give feedback.
-
The elastic constraints don't have anything to do with the stochastic
formulation of a decision problem, unfortunately.
This is one ppt I just found that explains some ways to formulate the
stochastic optimization problem linearly:
http://cermics.enpc.fr/~delara/exposes/slides_introduction_stochastic_optimization.pdf
…On Sat, Oct 23, 2021, 22:50 Carlos Aumente ***@***.***> wrote:
Hi @pchtsp <https://github.com/pchtsp>, thanks for your quick answer. I
will definitely turn the stochastic problem into a deterministic problem.
It seems that is the easiest approach when it is possible to reformulate
the stochastic constraints.
Thanks also for the resource Pyomo ;)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#496 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABJUZ43XQT3AQYGYYSQT7LTUIMNZ7ANCNFSM5GGZNVZA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Beta Was this translation helpful? Give feedback.
-
Hi all,
First of all, I would like to thank @pchtsp and all people who work on developing PuLP. Great work!
I've been solving the deterministic transportation problem using PuLP. However, I wonder if the library provides any technique to add uncertainty to the process.
Let's imagine that the demand of the customers is based on a given distribution instead of knowing the precise value. Is there any function that allows doing this?
Thanks a million!
Beta Was this translation helpful? Give feedback.
All reactions