import logging
from smac.facade.func_facade import fmin_smac
def rosenbrock_2d(x):
""" The 2 dimensional Rosenbrock function as a toy model
The Rosenbrock function is well know in the optimization community and
often serves as a toy problem. It can be defined for arbitrary
dimensions. The minimium is always at x_i = 1 with a function value of
zero. All input parameters are continuous. The search domain for
all x's is the interval [-5, 5].
"""
x1
python-smac-自动化优化函数实例
最新推荐文章于 2023-12-11 22:30:43 发布