The generalized flexible job shop scheduling problem. (October 2021)