i am working with the following linear program(adsbygoogle = window.adsbygoogle || []).push({});

[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?

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Slack variables

**Physics Forums | Science Articles, Homework Help, Discussion**