Approximation algorithms for scheduling parallel machines with an energy constraint in green manufacturing