# Math Help - constraint help

1. ## constraint help

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

2. ## Well

Originally Posted by imthatgirl
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

3. Originally Posted by Henryt999
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
no it can't be negative because it's production of a product

4. Originally Posted by imthatgirl
no it can't be negative because it's production of a product
Post the entire question so I have a better idéa what you mean.