The Generalized Machine Layout Problem.