a minimal version of GMIN global optimization