minpack
minpack copied to clipboard
Modernized Minpack: for solving nonlinear equations and nonlinear least squares problems
The version is here: https://github.com/scipy/scipy/tree/a0535bee9d4da58e6d41e963e907c1b9f7684585/scipy/optimize/minpack and we need to check to see what changes they have made to the original code and port those to this version. Towards #14.
Proposal to allow passing user data through minpack as unlimited polymorphic object. This approach has the advantage of mostly keeping the API unchanged, however users have to adjust their objective...
Nvidia's Fortran compiler can compile minpack, however it segfaults in the examples ``` ❯ nvfortran --version nvfortran 22.1-0 64-bit target on x86-64 Linux -tp haswell NVIDIA Compilers and Tools Copyright...
The C bindings are currently not documented outside of the comments in the header. Maybe we can make use of doxygen to create API docs for those.
The documentation provided with the Python bindings should be collected and deployed together with the Fortran API docs.
The Python bindings should be Numba compatible. - [CFFI with Numba](https://numba.pydata.org/numba-doc/latest/reference/pysupported.html#cffi)
Valgrind says that some of the tests have errors. For example `test_hybrd` ``` ==7124== ==7124== HEAP SUMMARY: ==7124== in use at exit: 0 bytes in 0 blocks ==7124== total heap...
Currently the Levenberg-Marquardt routine in MINPACK calls a "home-brewed" QR factorization derived from LINPACK: https://github.com/jacobwilliams/minpack/blob/b4e671d1692b6f9eb048ba920e97f8a4eda195e3/src/minpack.f90#L2578 This is understandable since MINPACK (released in 1980) precedes LAPACK (released in 1992) by more...
I think these are test problems for MINPACK: https://ftp.mcs.anl.gov/pub/MINPACK-2/tprobs/ Need to modernize them and add them to the unit tests.
While `minpack` is an important package among the Fortran legacy codes it's age is apparent. The [Ceres Solver](http://ceres-solver.org/features.html) is a non-linear least squares package written in C++ and developed at...