I'm trying to maximize a problem, how do i make a constraint such that X has a limit up to 10 units and Y is only produced after the 10 units of X has been used up?
I'm trying to maximize a problem, how do i make a constraint such that X has a limit up to 10 units and Y is only produced after the 10 units of X has been used up?
Thanks
Can you have a negative y value?
Then you can set a negative constant to your f(x).
Or you can define f(x) piecewise