So, there's this problem:
maximize
$$6x_1 + 8x_2 + 5x_3 + 9x_4$$
subject to
$$x_1+x_2+x_3+x_4 = 1 \;\text{ knowing that }\; x_1, x_2, x_3, x_4\geq0$$
The solution is obvious: since the sum of all variables must be 1, $x_4 = 1$ gives the highest value to the objective function
BUT the simplex method goes wrong when I use it. There's a negative value on the axuliary equations, which means it is an infeasible dictionary, therefore I should use two phases method. But this one goes wrong as well, as there are too many variables to replace the original objective function with slack variables.
But the problem HAS a solution, it's obvious, I just can't find it through simplex method. Can anyone help me?
Here's how the 2 phases method gave:
first dictionary:
\begin{align*} z&= -x_0\\ w_1 &= 1 -x_1 -x_2 -x_3 -x_4 +x_0\\ w_2 &= -1 +x_1 +x_2 +x_3 +x_4 +x_0 \end{align*}
second dictionary:
\begin{align*} z&= -1 +x_1 +x_2 +x_3 +x_4 -w_2\\ w_1 &= 2 -2x_1 -2x_2 -2x_3 -2x_4 +w_2\\ x_0 &= 1 -x_1 -x_2 -x_3 -x_4 +w_2 \end{align*}
third dictionary:
\begin{align*} z&= -w_1 -w_2\\ x_1 &= 1 -x_2 -x_3 -x_4 +\frac{w_2}{2} - \frac{w_1}{2}\\ x_0 &= \frac{w_1}{2} +\frac{w_2}{2} \end{align*}
this is supposed to be optimal but there's no way I'll be able to convert $6x_1 + 8x_2 + 5x_3 + 9x_4$ using those auxiliary equations