This PR modifies the writing of stats_multi_stage.csv during a multi-stage optimization with foresight allowing to update the file after each forward and backward pass.
It addresses #686.
What type of PR is this? (check all applicable)
[x] Feature
Related Tickets & Documents
Closes #686.
Checklist
[x] Code changes are sufficiently documented; i.e. new functions contain docstrings and .md files under /docs/src have been updated if necessary.
[x] The latest changes on the target branch have been incorporated, so that any conflicts are taken care of before merging. This can be accomplished either by merging in the target branch (e.g. 'git merge develop') or by rebasing on top of the target branch (e.g. 'git rebase develop'). Please do not hesitate to reach out to the GenX development team if you need help with this.
[x] Code has been tested to ensure all functionality works as intended.
[x] CHANGELOG.md has been updated (if this is a 'notable' change).
[x] I consent to the release of this PR's code under the GNU General Public license.
How this can be tested
By running the example: "example_systems/6_three_zones_w_multistage" with myopic=0.
Post-approval checklist for GenX core developers
After the PR is approved
[x] Check that the latest changes on the target branch are incorporated, either via merge or rebase
[x] Remember to squash and merge if incorporating into develop
Description
This PR modifies the writing of
stats_multi_stage.csv
during a multi-stage optimization with foresight allowing to update the file after each forward and backward pass. It addresses #686.What type of PR is this? (check all applicable)
Related Tickets & Documents
Closes #686.
Checklist
How this can be tested
By running the example: "example_systems/6_three_zones_w_multistage" with
myopic=0
.Post-approval checklist for GenX core developers
After the PR is approved