Equipment Replacement Optimization: Part II. Dynamic Programming- Based Optimization