Jason K. Moore
Jason K. Moore
This is good enough to be merged. The old examples can be made into new gallery examples in future PRs.
Dear @labarba, I can possibly edit this one, but I have one concern. Most of the materials are in Spanish. Do we only accept English materials? I have very basic...
I updated gait2d to work with modern dependencies here: https://github.com/csu-hmc/gait2d/pull/3
I'm currently getting a Derivative term that cause failure: ``` PrintMethodNotImplementedError: Unsupported by : Set the printer option 'strict' to False in order to generate partially printed code. > /home/moorepants/miniconda/envs/gait2d-dev/lib/python3.12/site-packages/sympy/printing/codeprinter.py(582)_print_not_supported()...
Here are some of the sub expressions showing up in the Jacobian: ``` (z383 + Abs(qayi)/2)**2*sign(qayi)*Derivative(qayi, qayi)/2 - 3*kc*(z378 + 1) Derivative(re(z106), z106) + im(z106)*Derivative(im(z106), z106))*(z383 + z450 + z451...
When the discrete variables are replaced in, they likely don't retain the assumptions placed on the continuous variables.
This could also be an effect of the new Jacobian function that does cse before taking the Jacobian. Each of the z variables will not retain the correct assumption that...
> This could also be an effect of the new Jacobian function that does cse before taking the Jacobian. Each of the z variables will not retain the correct assumption...
Fix here: https://github.com/csu-hmc/opty/pull/216
First solution that converged! https://github.com/user-attachments/assets/f3079089-3f8f-44c5-9347-026dae35f364