A Configuration Model for the Line Planning Problem