Automatic algorithm selection for complex simulation problems (2012)