Cleaned up the grow workflow and generalised the classes.
EndScenarioSizing class is the main class setting up the problem, from now on HIGHS is provided as the standard solver
Solver settings of Highs and Gurobi are generlised in classes such that these can be inherited by the relevant problem class.
EndSCenarioSizingDiscounted now inherits from EndScenarioSizing and only changes the objective based on the heat network options set
The staged approaches have a separate class named SettingsStaged such that they can be easily inherited by multiple different problem definitions, both discounted, standard, and for later also the class with headloss included. Priority information results are now also passed on across classes.
EndScenarioSizingHIGHS and all other class types still have a ...HIGHS class for consistency with previous versions and clarity. These classes could be depreciated later.
Additional checks for the run_end_scenario_sizing and run_end_scenario_sizing_no_heat_loss have been included on the class type provided.
Test have been updated to use the correct classes, checks the results between the classes and checks that the staged approach is faster than the normal approach.
Cleaned up the grow workflow and generalised the classes.
EndScenarioSizing class is the main class setting up the problem, from now on HIGHS is provided as the standard solver
Solver settings of Highs and Gurobi are generlised in classes such that these can be inherited by the relevant problem class.
EndSCenarioSizingDiscounted now inherits from EndScenarioSizing and only changes the objective based on the heat network options set
The staged approaches have a separate class named SettingsStaged such that they can be easily inherited by multiple different problem definitions, both discounted, standard, and for later also the class with headloss included. Priority information results are now also passed on across classes.
EndScenarioSizingHIGHS and all other class types still have a ...HIGHS class for consistency with previous versions and clarity. These classes could be depreciated later.
Additional checks for the run_end_scenario_sizing and run_end_scenario_sizing_no_heat_loss have been included on the class type provided.
Test have been updated to use the correct classes, checks the results between the classes and checks that the staged approach is faster than the normal approach.