EndScenarioSizingDiscounted and EndScenarioSizing have the same setup, only the goals and maybe other small parts are different, thus I believe EndScenarioSizingDiscounted should inherit from EndScenarioSizing and only change goals. Or separate class where all the settings/options/constraints that are the same in both, which is then inherited by both classes. Prevents errors when only changing in one of the classes for instance the cyclic constraints or so.
EndScenarioSizingDiscounted and EndScenarioSizing have the same setup, only the goals and maybe other small parts are different, thus I believe EndScenarioSizingDiscounted should inherit from EndScenarioSizing and only change goals. Or separate class where all the settings/options/constraints that are the same in both, which is then inherited by both classes. Prevents errors when only changing in one of the classes for instance the cyclic constraints or so.