A Service Design Problem for a Railway Network