brentyi / jaxls

Sparse nonlinear least squares in JAX
MIT License
179 stars 12 forks source link

Bug: cost depends on initial_assignment variable order #12

Closed AvanDavad closed 2 years ago

AvanDavad commented 2 years ago

jaxfg_bug.py.txt

The issue is that the cost (sum of residual **2) depends on how the variables are ordered in initial_assignments.