more exit clauses for BB and LBFGS; preprocessing for ordering routes by block