How to represent bounds of variables in scipy.optimization where bound is function of another variable
You can try in the below way.
for i in range(0,100):
    for j in range(0,int(i)):
        for k in range(0,int(j)):
            print(k)
I want to solve an lp optimization problem where the upper bounds of a few variables are not an integer, instead of a function of another variable. As an example, i, j and k are three variables and bounds are 0<=i<=100, 0<=j<=i-1 and 0<=k<=j-1. How can we represent such noninteger bounds in scipy lp solver?