In column generation, we need to solve the following pricing problem : $$\min c_j-\bf{c}^T_B\bf{B}^{-1}\bf{N}_j$$ In the book, I saw authors say that according to duality theory, $\bf{y}^T = \bf{c}^T_B\bf{B}^{-1}$, where $\bf{y}$ is the dual solution, the above pricing problem is equivalent to $$\min c_j-\bf{y}^T\bf{N}_j$$
My question is: how to derive $\bf{y}^T = \bf{c}^T_B\bf{B}^{-1}$? Does this equation hold in every iteration of the Simplex iteration? Or it is true only at the optimal solution when Simplex finishes?