Route Planning with Flexible Objective Functions