3

I have to convert the non linear problem into standard minimization linear programming form

Minimize: $|x|+|y|+|v|$

Subject to: $$x+y\le1$$ $$2x+v=3$$

I dont have any idea how can I do it...I would appreciate any help.

luka5z
  • 6,359

3 Answers3

4

Hint: Write $x$ as $$x=x^+-x^-$$ with $x^+, x^-\ge 0$. Now $$|x|=x^++x^-$$ Similarly for $y,v$.

Jimmy R.
  • 35,868
  • Can you check my answer..what if x+ and x- are both positive? – luka5z Nov 19 '14 at 10:29
  • 1
    Yes, I think it is a correct answer, sorry I did not see it earlier +1. Say $x^+=5$ and $x^-=3$ is a solution, then $x^+=2$, $x^-=0$ is a solution and a better one (with respect to your objective function), so do not worry if they are both positive. – Jimmy R. Nov 19 '14 at 10:34
3

A simpler way:

$min \quad t_x+t_y+t_z$

$ s.t. $

$ x+y\leq 1$

$ 2x + z =3 $

$ t_i \geq i \quad i\in\{x,y,z\} $

$ t_i \geq -i \quad i\in\{x,y,z\} $

That should work.

1

Minimize $x^{+}+x^{-}+y^{+}+y^{-}+v^{+}+v^{-}$

Subject to

$$x^{+}-x^{-}+y^{+}-y^{-}+s=1$$ $$2x^{+}-2x^{-}+v^{+}-v^{-}=3$$ $$x^{+}, x^{-}, y^{+}, y^{-}, v^{+}, v^{-}, s \ge 0$$

Is a correct answer?

luka5z
  • 6,359