Skip to content

Build failing for Chang Model lectures #89

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

Open
duncanhobbs opened this issue Oct 17, 2019 · 4 comments
Open

Build failing for Chang Model lectures #89

duncanhobbs opened this issue Oct 17, 2019 · 4 comments

Comments

@duncanhobbs
Copy link

The execution test for Credible Government Policies in Chang Model and Competitive Equilibria in the Chang Model is failing.

There is a ValueError triggered when ch1.solve_sustainable() is called. It looks like this might be triggered by scipy/optimize.

~/anaconda3/lib/python3.7/site-packages/scipy/optimize/_linprog_util.py in _check_result(x, fun, status, slack, con, lb, ub, tol, message)
   1325         # nearly basic feasible solution. Postsolving can make the solution
   1326         # basic, however, this solution is NOT optimal
-> 1327         raise ValueError(message)
   1328 
   1329     return status, message

ValueError: The algorithm terminated successfully and determined that the problem is infeasible.
@jstac
Copy link
Contributor

jstac commented Oct 17, 2019

Thanks for the report @duncanhobbs. These are big, complex models that we have in mind to re-write.
Would you mind to give us some information on your execution environment?

@duncanhobbs
Copy link
Author

I didn't actually build the lectures, I just looked at the lectures on Google Chrome from the latest build of the website on October 13. I am running windows 7, and am working trying to get Make to work properly.

.

@jstac
Copy link
Contributor

jstac commented Oct 19, 2019

Roger that. Thanks for pointing it out. @mmcky , it looks like a problem in the linear optimization routine. Have we seen this one before?

@mmcky
Copy link
Contributor

mmcky commented Oct 20, 2019

@jstac this is one of the two lectures that stochastically fails to converge. It seems that scipy routine sometimes fails to converge (due to infeasibility)? I'll be upgrading anaconda=2019.10 then will recheck coverage for this lecture.

@shlff shlff transferred this issue from QuantEcon/lecture-source-py Mar 26, 2020
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

No branches or pull requests

3 participants