There is a lemma in the book saying:
"If the primal basic solution is an optimal solution of a linear program (P), B is not necessarily an optimal basis."
I don't understand because, by the dual theory, if the primal has a feasible solution and so does the dual, then B has to be optimal? I tried to find an example that matches this but I can't think of any. Can someone give me an example so that I can think this through?