Python constrained non-linear optimization

前端 未结 4 1075
悲&欢浪女
悲&欢浪女 2020-12-14 01:44

What\'s the recommended package for constrained non-linear optimization in python ?

The specific problem I\'m trying to solve is this:

I have an unknown

4条回答
  •  被撕碎了的回忆
    2020-12-14 02:10

    Typically for fitting you can use scipy.optimize functions, or lmfit which simply extends the scipy.optimize package to make it easier to pass things like bounds. Personally, I like using kmpfit, part of the kapteyn library and is based on the C implementation of MPFIT.

    scipy.optimize.minimize() is probably the most easy to obtain and is commonly used.

提交回复
热议问题