Computational method for optimal machine scheduling problem with maintenance and production