A random search like that might give okay results but has no guarantees approximation ratio.