Threshold accepting framework for discrete and continuous search spaces. (14th June 2010)