Daniel Dudt

Results 34 comments of Daniel Dudt

`test_jaxify` in `tests/test_utils.py` is failing on the CI for Python 3.9 with the error message: `ValueError: IO callbacks do not support JVP.` But it passes for me locally with JAX...

> > `test_jaxify` in `tests/test_utils.py` is failing on the CI for Python 3.9 with the error message: `ValueError: IO callbacks do not support JVP.` But it passes for me locally...

> > > `test_jaxify` in `tests/test_utils.py` is failing on the CI for Python 3.9 with the error message: `ValueError: IO callbacks do not support JVP.` But it passes for me...

> Minor typos. > > Maybe we should add a new notebook about external and user-defined objectives? I can add one while solving #1295, and we can add a proper...

MWE to reproduce the issue with the least-squares optimizer. This will get stuck without using `.block_until_ready()` in the initial Jacobian evaluation. ``` import numpy as np from desc.examples import get...

On a related note, I'm skeptical that we don't need to use the coil current constraints for finite-beta equilibria. Using the final W7-X solution in the `coil_stage_two_optimization.ipynb` tutorial for example:...

> not really sure what you mean by > > > `factorize_linear_constraints` normalizes the optimization variables `x_reduced` to order unity, `factorize_linear_constraints` uses the "scaled" versions of the objectives to compute...

I may have found an additional wrinkle to this problem, or else I'm not understanding something. As the simplest possible example, say we have a `CoilSet` with 2 coils of...

OK that probably explains it. But I still don't think this can be completely solved by scaling the variables. Because in my example above, the original ordering of the state...

> Should there be a test tto check if the interface works? Maybe have a dummy function instead of the actual TERPSICHORE solver? This is basically what the `ExternalObjective` and...