Solving the Station Repacking Problem