optimagic is a Python package for numerical optimization. It is a unified interface to optimizers from SciPy, NlOpt and other packages. optimagic's minimize function works just like SciPy's, so you don't have to adjust your code. You simply get more optimizers for free. On top you get diagnostic tools, parallel numerical derivatives and more.
What would you like to enhance and why? Is it related to an issue/problem?
Survey data often comes with weights variables that represent frequency of observation. (see SCF https://www.federalreserve.gov/econres/scfindex.htm)
Describe the solution you'd like
Bootstrapping from survey data should allow
weights
to affect sample. Frequency weights should determine relative probabilities.