Essays on dynamic programming applications in operations management