Search best solution