# Quellcode für qiskit.algorithms.optimizers.nlopts.crs

# This code is part of Qiskit.
#
# (C) Copyright IBM 2018, 2020.
#
# obtain a copy of this license in the LICENSE.txt file in the root directory
#
# Any modifications or derivative works of this code must retain this
# copyright notice, and modified files need to carry a notice indicating
# that they have been altered from the originals.

"""Controlled Random Search (CRS) with local mutation optimizer."""

from .nloptimizer import NLoptOptimizer, NLoptOptimizerType

[Doku]class CRS(NLoptOptimizer):
"""
Controlled Random Search (CRS) with local mutation optimizer.

Controlled Random Search (CRS) with local mutation is part of the family of the CRS optimizers.
The CRS optimizers start with a random population of points, and randomly evolve these points
by heuristic rules. In the case of CRS with local mutation, the evolution is a randomized
version of the :class:NELDER_MEAD local optimizer.

NLopt global optimizer, derivative-free.
For further detail, please refer to