File tree 2 files changed +9
-0
lines changed
2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ All changes
14
14
- Support for Python 3.8 is dropped (:pull: `881 `), as it has reached end-of-life.
15
15
- Add :meth: `.Reporter.add_sankey ` and :mod: `.tools.sankey ` to create Sankey diagrams from solved scenarios (:pull: `770 `).
16
16
The :file: `westeros_sankey.ipynb ` :ref: `tutorial <tutorial-westeros >` shows how to use this feature.
17
+ - Add the :py: `concurrent=... ` model option to :class: `.MACRO ` (:pull: `808 `).
17
18
- Add option to :func: `.util.copy_model ` from a non-default location of model files (:pull: `877 `).
18
19
19
20
.. _v3.9.0 :
Original file line number Diff line number Diff line change @@ -260,6 +260,14 @@ Model classes
260
260
:exclude-members: items
261
261
:show-inheritance:
262
262
263
+ The MACRO class solves only the MACRO model in “standalone” mode—that is, without MESSAGE.
264
+ It is also invoked from :class: `.MESSAGE_MACRO ` to process *model_options * to control the behaviour of MACRO:
265
+
266
+ - **concurrent ** (:class: `int ` or :class: `float `, either :py: `0 ` or :py: `1 `).
267
+ This corresponds to the GAMS compile-time variable ``MACRO_CONCURRENT ``.
268
+ If set to :py: `0 ` (the default), MACRO is solved in a loop, once for each node in the Scenario.
269
+ If set to :py: `1 `, MACRO is solved only once, for all nodes simultaneously.
270
+
263
271
.. autoattribute :: items
264
272
:no-value:
265
273
You can’t perform that action at this time.
0 commit comments