QuantEcon / python-lecture-sandpit.myst

A python lecture sandpit (for myst migration)
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

ENH: Add new notebook and migrate to Jupyter Book #15

Closed mmcky closed 2 years ago

mmcky commented 2 years ago

@thomassargent30 this PR contains the notebook you sent to me via email with some adjustments for the jupyter-book context. In addition to updating the environment.yml file with a quantecon environment that includes the neecessary packages.

However the notebook you sent me has the following execution error

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-7-9eea11b9dd5b> in <module>
      1 in_time = time.time()
----> 2 result_qe = linprog_simplex.linprog_simplex(Phi_vec.flatten(), A_eq=A, b_eq=b.flatten())
      3 out_time = time.time()
      4 
      5 qe_times = [round(out_time-in_time, 3)] # stores time taken for execution

AttributeError: 'CPUDispatcher' object has no attribute 'linprog_simplex'

and this is the same in the md version