Equivalence of piecewise-linear approximation and Lagrangian relaxation for network revenue management