@classmethod<EOL><INDENT>def getOptimizationMetricInfo(cls, searchJobParams):<DEDENT>
if searchJobParams["<STR_LIT>"] == "<STR_LIT>":<EOL><INDENT>search = HypersearchV2(searchParams=searchJobParams)<EOL><DEDENT>else:<EOL><INDENT>raise RuntimeError("<STR_LIT>" %(searchJobParams["<STR_LIT>"]))<EOL><DEDENT>info = search.getOptimizationMetricInfo()<EOL>return info<EOL>
Retrives the optimization key name and optimization function.

        Parameters:
        ---------------------------------------------------------
        searchJobParams:
                        Parameter for passing as the searchParams arg to
                        Hypersearch constructor.
        retval:       (optimizationMetricKey, maximize)
                      optimizationMetricKey: which report key to optimize for
                      maximize: True if we should try and maximize the optimizeKey
                        metric. False if we should minimize it.