[Python] Is it possible to force scipy.optimize.minimize_scalar to look only in the specified...

Discussão em 'Python' iniciado por Stack, Setembro 3, 2025.

  1. Stack

    Stack Membro Participativo

    I want to find a minimum of a function on a given interval [a, b] and tried out scipy.optimize.minimize_scalar with method = "Golden" and bracket = [a, b].

    The problem is that it returns solutions outside the given interval [a, b]. Is there some way to force the interval or some other scipy/numpy method that can be used?

    Continue reading...

Compartilhe esta Página