Solution Methods for Generalized Flowshop Problems