<reponame>scikit-quant/scikit-quant<filename>opt/nomad/python/SQNomad/__init__.py
import logging

log = logging.getLogger('SKQ.Nomad')
if not log.hasHandlers():
    def _setupLogger(log):
        import sys
        hdlr = logging.StreamHandler(sys.stdout)
        frmt = logging.Formatter('%(name)-12s: %(levelname)8s %(message)s')
        hdlr.setFormatter(frmt)
        log.addHandler(hdlr)
        log.propagate = False
    _setupLogger(log)
    del _setupLogger


log.info("""
------------------------------------------------------------------------
<NAME>, <NAME>, <NAME> and <NAME>. "The NOMAD
project." Software available at https://www.gerad.ca/nomad .
<NAME>. "NOMAD: Nonlinear Optimization with the MADS algorithm."
ACM Trans. on Mathematical Software, 37(4):44:1–44:15, 2011.
------------------------------------------------------------------------""")

__all__ = ['minimize', 'log']

from ._nomad import minimize

import logging

log = logging.getLogger('SKQ.Nomad')
if not log.hasHandlers():
    def _setupLogger(log):
        import sys
        hdlr = logging.StreamHandler(sys.stdout)
        frmt = logging.Formatter('%(name)-12s: %(levelname)8s %(message)s')
        hdlr.setFormatter(frmt)
        log.addHandler(hdlr)
        log.propagate = False
    _setupLogger(log)
    del _setupLogger


log.info("""
------------------------------------------------------------------------
<NAME>, <NAME>, <NAME> and <NAME>. "The NOMAD
project." Software available at https://www.gerad.ca/nomad .
<NAME>. "NOMAD: Nonlinear Optimization with the MADS algorithm."
ACM Trans. on Mathematical Software, 37(4):44:1–44:15, 2011.
------------------------------------------------------------------------""")

__all__ = ['minimize', 'log']

from ._nomad import minimize
------------------------------------------------------------------------ <NAME>, <NAME>, <NAME> and <NAME>. "The NOMAD project." Software available at https://www.gerad.ca/nomad . <NAME>. "NOMAD: Nonlinear Optimization with the MADS algorithm." ACM Trans. on Mathematical Software, 37(4):44:1–44:15, 2011. ------------------------------------------------------------------------