Three essays on revenue management