Scipy.optimize: how to restrict argument values

后端 未结 4 837
星月不相逢
星月不相逢 2020-12-13 18:40

I\'m trying to use scipy.optimize functions to find a global minimum of a complicated function with several arguments. scipy.optimize.minimize seem

4条回答
  •  生来不讨喜
    2020-12-13 19:31

    I know this is late in the game, but maybe have a look at mystic. You can apply arbitrary python functions as penalty functions, or apply bounds constraints, and more… on any optimizer (including the algorithm from scipy.optimize.fmin).

    https://github.com/uqfoundation/mystic

提交回复
热议问题