# constraint help

Printable View

• Feb 10th 2010, 06:21 AM
imthatgirl
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
• Feb 10th 2010, 08:03 AM
Henryt999
Well
Quote:

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
• Feb 10th 2010, 02:19 PM
imthatgirl
Quote:

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
• Feb 11th 2010, 03:07 AM
Henryt999
Quote:

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.