On Cost Based Algorithm Selection for Problem Solving (American journal of operations research, 2013)