On the generalized Cheeger problem and an application to 2d strips