Replies: 1 comment 1 reply
-
Hi Abodh,
When you say "networkx scenario creator" I think you mean networkx
scenario tree creator. For two-stage problems in mpi-sppy, tree creation is
extremely easy. The scenario creator just has a function call to
sputils.attach_root_node like the one in the farmer.py example:
varlist = [model.DevotedAcreage]
sputils.attach_root_node(model, model.FirstStageCost, varlist)
The farmer example is a pretty good example. You don't have to learn too
much HPC terminology, but you do have to install MPI and mpi4py as
described in the github readme and the documentation:
https://mpi-sppy.readthedocs.io/en/latest/
…On Wed, Nov 16, 2022 at 4:01 PM Abodh Poudyal ***@***.***> wrote:
Hello,
Is there an example in mpisppy where we can import a concrete model from
PySP with networkx scenario creator and invoke hubs and spoke cylinders to
run the PySP imported model in parallel? I want to use Progressive Hedging
to do this.
I just started reviewing mpisppy and would appreciate any help on this :)
Furthermore, are there good examples of running two-stage problems in
parallel using mpisppy without learning too many HPC terminologies?
Regards,
Abodh
—
Reply to this email directly, view it on GitHub
<#284>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD4VTBD3X5NRCKVMWFKAYO3WIVYWFANCNFSM6AAAAAASCZK73U>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Is there an example in mpisppy where we can import a concrete model from PySP with networkx scenario creator and invoke hubs and spoke cylinders to run the PySP imported model in parallel? I want to use Progressive Hedging to do this.
I just started reviewing mpisppy and would appreciate any help on this :) Furthermore, are there good examples of running two-stage problems in parallel using mpisppy without learning too many HPC terminologies?
Regards,
Abodh
Beta Was this translation helpful? Give feedback.
All reactions