gtopt::SceneMerge struct

The scenes folded into one LP scene for nonanticipative variables.

Public variables

Scene merged_scene
std::vector<Scene> original_scenes
The active scenes that were merged, in scene_array order.
flat_map<Uid, Uid> scene_of_scenario
std::vector<Name> variables
Names of the nonanticipative variables that asked for the merge.

Variable documentation

Scene gtopt::SceneMerge::merged_scene

The single LP scene: first original scene's uid / name, scenario range = union of the merged scenes' ranges.

flat_map<Uid, Uid> gtopt::SceneMerge::scene_of_scenario

Scenario uid → uid of the original scene that owns it (used to split the output shards back into the original scenes).