Metaoptimization Framework