1
$\begingroup$

We have a production plant that for each ton of $a$ requires $p_x$ tons of $x$ and $p_y$ tons of $y$ and we must decide how much material to ship to this plant. Is it just

$a = y/p_y = x/p_x$?

Do I need more constraints?

$\endgroup$
2
$\begingroup$

You could indeed formulate this as an LP, e.g.

$$ maximize~: ~~a$$ subject to $$\frac{1}{p_y} * y - a = 0\\ \frac{1}{p_x} * x -a = 0$$ and $$ a,x,y \geq 0$$

This constraints are equivalent to those you mentioned in your question, yet, you might have troubles implementing them in your form (if you planned to do this). I also added non-negativity constraints (while they are not really required in this setting).

Note that I assumed that you want to maximize your total production and that both $p_x$ and $p_y$ are constants (and not variables). Obviously, $y$ and $x$ are not bounded, so $a$ can be increased up to infinity. Are you sure you didn't miss any additional constraints (e.g. production cost, transportation capacity, ...)?

Best, miweiss

$\endgroup$
  • $\begingroup$ There are several other constraints, but this is the one I wasn't completely sure of. Thanks. $\endgroup$ – Benjamin Lindqvist Nov 20 '14 at 8:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.