Factory Planning 2: When Should Machines Be Down for Maintenance