- #1
catcherintherye
- 48
- 0
i am working with the following linear program
[tex] (P) max 2x_1 - x_2 \\
subject to x_1 \leq 3 \\
- x_1 + x_2 \leq -1 \\
x_1 + x_2 \geq 2 \\
x_1, x_2 \geq 0 [/tex]
my question is this, when introducing slack variable [tex] x_3 , x_4 , x_5 [/tex]
what should i do about the greater and equal to inequality, must i subtract the slack variable?
[tex] (P) max 2x_1 - x_2 \\
subject to x_1 \leq 3 \\
- x_1 + x_2 \leq -1 \\
x_1 + x_2 \geq 2 \\
x_1, x_2 \geq 0 [/tex]
my question is this, when introducing slack variable [tex] x_3 , x_4 , x_5 [/tex]
what should i do about the greater and equal to inequality, must i subtract the slack variable?
Last edited: