Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip start of optimization until the first measurable or adjustable #505

Draft
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

kelvinburke
Copy link
Contributor

Possibly could skip until the first adjustment, as the measurables will all be the same before any adjustable changes anything?

Haven't yet checked for:

  • derivative parameters

Might revert 8b79080 as discussed in #504

Feel free to re-factor @RomeshA

…gives more consistent results if the inputs are re-ordered
 This runs the model once, then creates a copy of the parset which is initialized to the `skip_start` year. Then the optimization only needs to run from that year. This works when we only have SpendingAdjustments and any Measurable coded in optimization.py
Test that skipping until the first adjustable or measurable gives the exact same solution as when we don't skip
…s if you run a parset, then initialize it halfway from those results, running from the halfway timestep gives the same results
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant