hi,

can you help me solve this probleme or how to begin

thk

min − 2x1 − x2 − x3

scq x1 +x2 + x4 ≤ 6

− 2x1 +x3 ≥ 8

4x1 − 2x2 − x3 ≥ 4

xj≥ 0 ∀j= 1,...,4

Printable View

- Aug 16th 2010, 07:58 AMULBLinear programming
hi,

can you help me solve this probleme or how to begin

thk

min − 2x1 − x2 − x3

scq x1 +x2 + x4 ≤ 6

− 2x1 +x3 ≥ 8

4x1 − 2x2 − x3 ≥ 4

xj≥ 0 ∀j= 1,...,4 - Aug 16th 2010, 10:39 AMOpalg
As a special favour to you, here is a link to my foolproof instructions for solving linear programming problems by the simplex method. You can find them at http://www.maths.leeds.ac.uk/~pmt6ecl/simplex.pdf. Download that pdf file and follow the instructions there.

To get you started, notice that your problem here is in what I call nonstandard form. So you need to start by following the procedure on page 2 of the pdf file. For a start, the objective function $\displaystyle -2x_1 - x_2 - x_3$ is to be minimised. So you should replace it by its negative, $\displaystyle M = 2x_1 + x_2 + x_3$, which you maximise (and the answer to the problem will then be the negative of that).

Next, some of the inequalities have a $\displaystyle \geqslant$ instead of a $\displaystyle \leqslant$. Change the sign of everything in them so as to flip the inequality sign. That gives you the set of inequalities

$\displaystyle \begin{aligned}x_1+\phantom{2}x_2\phantom{{}+x_3}+ x_4 &\leqslant 6,\\ 2x_1\phantom{{}+2x_2}-x_3\phantom{{}+x_4} &\leqslant -8,\\ -4x_1 +2x_2 + x_3\phantom{{}+x_4}&\leqslant -4,\end{aligned}$

together with the objective equation

$\displaystyle -2x_1 - x_2 - x_3 + M = 0.$

The matrix for the initial simplex tableau is then

$\displaystyle \begin{bmatrix}1&1&0&1&1&0&0&0&6\\ 2&0&-1&0&0&1&0&0&-8\\ -4&2&1&0&0&0&1&0&-4\\ -2&-1&-1&0&0&0&0&1&0\end{bmatrix}.$

(Some people leave out the last-but-one column in the tableau, which does not play an essential part in the reduction process.)

You now have to follow the reduction process described in Steps B2, B3 and B4 on the second page of the pdf file, and then you can read off the solution to the problem.

If you are unsure about how to operate the pivoting procedure, there are some good worked examples here.