-
Notifications
You must be signed in to change notification settings - Fork 30
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
Checking model solution #6
Comments
@jdebacker I ran it but got the error: 'Number of calls to function has reached maxfev = 2600.' from the root finder. So Q is showing as NaNs. Am I not setting something up correctly? |
Did you run from the branch in my PR:
|
I'm still getting the same error. I downloaded the opencge folder from the comments branch on to my C drive, then running it gives me the error below. When I look at the results object it still gives the 'number of calls..." error. C:\Users\DPrihardini\Desktop\open_cge\CGE-comments\open_cge>python simpleCGE.py |
@DPrihardini Could be a difference in our environments. Are you using Python 3.6? I opened a PR with an environment file that we can use to ensure we have appropriate packages and versions when running. |
That might be it. I'm using 3.5.3 |Anaconda 4.4.0 (64-bit)| (default, May 15 2017, 10:43:23) [MSC v.1900 64 bit (AMD64)]. I can't see your PR or the environment file. (Sorry I can only use web-based Github so still trying to navigate around) |
The environment file is in PR #12. Unless you have an issue, I think we should go ahead and merge the two open PRs and then we can work from the master being at that point. I wasn't getting the model to run at all before my edits, so I don't think I made things any worse. But please let me know if you think otherwise. |
Done! (I think). I will try the running the CGE with the environment file and let you know |
Thanks! I forget if you've used a virtual environment before, but if not:
Let me know how it goes. I hope this was the issue. |
Thanks Jason. I have python but not anaconda. I will get it installed but will take a few days. Hopefully things will go more smoothly once I have everything setup :) |
The CGE module solves with the baseline parameterization and SAM file. @DPrihardini is going to solve this model in GAMS with the same inputs to confirm that the solution found here corresponds to that found in other software.
The text was updated successfully, but these errors were encountered: