Welcome to mpi-sppy Discussions! #228
Replies: 4 comments 3 replies
-
I have just started using mpi-sppy and I have build an two stage Extensive Form stochastic model. I was wondering if there is a way to acces the solutions that the model creates. In the farmer example ef.get_root_solution() and ef.get_objective_value() to get the root decision variables and objective. However i would also like to see what the second stage decision variables are. Are there any examples this being done? |
Beta Was this translation helpful? Give feedback.
-
Take a look at this and let me know if this does the trick:
https://mpi-sppy.readthedocs.io/en/latest/access_solutions.html
…On Wed, Feb 15, 2023 at 4:51 AM jasperstoter ***@***.***> wrote:
I have just started using mpi-sppy and I have build an two stage Extensive
Form stochastic model. I was wondering if there is a way to acces the
solutions that the model creates. In the farmer example
ef.get_root_solution() and ef.get_objective_value() to get the root
decision variables and objective. However i would also like to see what the
second stage decision variables are. Are there any examples this being done?
—
Reply to this email directly, view it on GitHub
<#228 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD4VTBHLIHLLGSM2PVS3QDDWXTGOPANCNFSM5RD4MD7Q>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Is it possible to add a time limit to the progressive hedging algorithm? For pyomo models the time limit can be passed to the server in the solver options. I however cant find a similar function of the progressive hedging algorithm |
Beta Was this translation helpful? Give feedback.
-
You can give an iteration limit, but no one has yet implemented a time
limit.
Dave
…On Mon, May 15, 2023 at 10:35 PM jasperstoter ***@***.***> wrote:
Is it possible to add a time limit to the progressive hedging algorithm?
For pyomo models the time limit can be passed to the server in the solver
options. I however cant find a similar function of the progressive hedging
algorithm
—
Reply to this email directly, view it on GitHub
<#228 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD4VTBDAVOIKTINKWS2SU4LXGMGZPANCNFSM5RD4MD7Q>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
👋 Welcome!
We’re using Discussions as a place to connect with other members of our community. We hope that you:
build together 💪.
To get started, comment below with an introduction of yourself and tell us about what you do with this community.
Beta Was this translation helpful? Give feedback.
All reactions