Skip to content

[chang_ramsey] ValueError problem is infeasible #117

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

Closed
najuzilu opened this issue Apr 28, 2020 · 3 comments
Closed

[chang_ramsey] ValueError problem is infeasible #117

najuzilu opened this issue Apr 28, 2020 · 3 comments

Comments

@najuzilu
Copy link
Contributor

I am executing lectures using environment.yml. The following warning occurs:

<ipython-input-4-04bea48ab06f>:207: OptimizeWarning: Solving system with option 'cholesky':True failed. It is normal for this to happen occasionally, especially as the solution is approached. However, if you see this frequently, consider setting option 'cholesky' to False.
  res = linprog(c, A_ub=aineq_C_mbar, b_ub=bineq_C_mbar,
<ipython-input-4-04bea48ab06f>:207: OptimizeWarning: Solving system with option 'sym_pos':True failed. It is normal for this to happen occasionally, especially as the solution is approached. However, if you see this frequently, consider setting option 'sym_pos' to False.
  res = linprog(c, A_ub=aineq_C_mbar, b_ub=bineq_C_mbar,
/Users/junaluzi/opt/anaconda3/envs/qe-lectures/lib/python3.8/site-packages/scipy/optimize/_linprog_ip.py:110: LinAlgWarning: Ill-conditioned matrix (rcond=1.05268e-17): result may not be accurate.
  return sp.linalg.solve(M, r, sym_pos=sym_pos)

Then, this error occurs:

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

jstac commented Apr 28, 2020

Yes, I see the lecture is failing on the live site too: https://python-advanced.quantecon.org/chang_ramsey.html. Thanks @najuzilu.

@mmcky
Copy link
Contributor

mmcky commented Apr 28, 2020

@najuzilu this may be related to #79 -- could you look into this?

@najuzilu
Copy link
Contributor Author

Thanks @mmcky. I'll close this issue then and add a full screenshot of the output under #79.

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