I've been following this video: https://www.youtube.com/watch?v=M8POtpPtQZc
Will the CBi values (slack variable coefficients) ever not be zero? When?
I've been following this video: https://www.youtube.com/watch?v=M8POtpPtQZc
Will the CBi values (slack variable coefficients) ever not be zero? When?
In the video the coefficients of the objective function are not recalculated. But this has to be done to choose the right (pivot-)column. In Phase 1 of the simplex method you have to find a basic feasible solution. In this case it is found before the first iteration. Now Phase 2 starts to find the optimal solution.
The basic feasible solution is $(x_1,x_2,s_1,s_2)=(0,0,120,80)$. The next pivot columns is $x_2$, because the most negative coefficient at the objective function is $min(-12,-16)=-16$. And the pivot row is $s_1$, because $min\left( \frac{120}{20},\frac{80}{8}\right)=min(6,10)=6$
The next pivot column is obviously $x_1$. And the pivot row is $s_2$, because $min\left( \frac{6}{0.5},\frac{32}{4}\right)=min(12,8)=8$
All coefficients of the objective function are non-negative. Thus the optimal solution is found.