Python/scipy - Optimizing function with constraint greater but NOT equal to zero

53 Views Asked by At

I'm developping a code that find the optimized condition for two independent variables h and t that define the function W(h,t). I want to minimize this function because that is the weight function. The task is:

  • h and t are geometric features and consequently must not be zero or negative. h > 0 and t > 0

So that is an optimization problem with an inequality constraint h > 0 and t > 0. All the methods that I found don't work with this type of inequality. Can someone please help me with how can I do it with Scipy, or even a method that consider this type of inequality? Grateful

I just searched optimization methods in scipy documentation but nothing about minimazing function with constraint >0.

0

There are 0 best solutions below