-
-
Notifications
You must be signed in to change notification settings - Fork 122
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
OG-USA:master broken #302
Labels
Comments
@PeterDSteinberg Here's the output printed from the running OG-USA with the above specifications and the fix to
|
Yep. That's the same issue I got. @PeterDSteinberg @jdebacker |
Fixed via PR #305 |
@jdebacker Can this be closed? I can dive in tomorrow if it is still a problem. |
@PeterDSteinberg Yes - I should have closed after my comment 3 days ago. Will do now. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's been since early May when I last ran OG-USA:master successfully. Since that time I have updated from Python 2.7 to 3.6. But when running OG-USA I am activating the
ospcdyn
environment.This morning, I attempted to run
run_ogusa_serial.py
again so that I can help someone new to the project. My runs failed.In
run_ogusa_serial.py
, my arguments are:First, I got the error:
I fixed this by changing line 284 of
demographics.py
fromnum_sub_bins = float(100)
to
num_sub_bins = int(100)
This allowed me to get to SS solution algorithm. This had been quite robust, but I find that the root finders (mostly
scipy. optimize.fsolve
) are often hitting the constraints for the variables and eventuallynan
's are returned and the SS solution fails.@rickecon and @PeterDSteinberg Can you confirm this behavior?
Before fixing, I'd like to have some idea what caused the code to break.
The text was updated successfully, but these errors were encountered: