I have an exam coming up so I have been going over math questions in my textbook to practice the simplex method. I ran into an issue with questions like this one, and also any that have more constraints then variables. we haven't gone over the DUAL problem (if that would even help in these cases) so I would like some guidance in solving this problem, thanks.
The Problem
$$
Maximize\: P = 2x_1 - 3x_2 + 4x_3
$$
subject to
$$
x_1 + x_3 ≤ 4
$$
$$
x_2 + x_3 ≤ 3
$$
$$
x_1, x_2, x_3 ≥ 0
$$
The Correct Solution
My solution below is not correct as the book tells me the results should be
$$Max\: P = 17\: at\: x_1 = 4,\: x2 = 3,\: and\: x3 = 0$$
My Solution
My attempted Solution was
$$Max\: P = 14\: at\: x1 = 1,\: x2 = 0,\: x3 = 3$$
How I Tackled the Problem
The steps I took to solve the problem, step one forming the tableau and choosing the pivot point, the pivot point I chose is encircled in ()
$$ \begin{bmatrix} 1 & 0 & 1 & 1 & 0 & 0 & 4 \\ 0 & 1 & (1) & 0 & 1 & 0 & 3 \\ -2 & 3 & -4 & 0 & 0 & 1 & 0 \end{bmatrix} $$
I reduced the rows as I did not need to reduce the pivot point using these functions
-R2 + R1 -> R1
4R2 + R3 -> R3
And then I selected a new pivot point
$$ \begin{bmatrix} (1) & -1 & 0 & 1 & -1 & 0 & 1 \\ 0 & 1 & 1 & 0 & 1 & 0 & 3 \\ -2 & 7 & 0 & 0 & 4 & 1 & 12 \end{bmatrix} $$
Next I reduced the rows based on the newly selected pivot point using this calculation
2R1 + R3 -> R3
$$ \begin{bmatrix} 1 & -1 & 0 & 1 & -1 & 0 & 1 \\ 0 & 1 & 1 & 0 & 1 & 0 & 3 \\ 0 & 5 & 0 & 2 & 2 & 1 & 14 \end{bmatrix} $$
Any help clarifying what could be causing my issues or where I am going wrong would be greatly appreciated, and sorry for the formatting, this was the best I could do given that the html on the site is limited.
Thanks!