On some matching problems arising in vehicle scheduling models