nlopt_algorithm
- compas_cem.optimization.nlopt_algorithm(name)[source]
Fetches an optimization algorithm from the nlopt library by name.
- Parameters
name (
str
) – The name of the algorithm to search for.- Returns
algorithm (
nlopt.algorithm
) – An nlopt algorithm object.
Notes
Only the following local optimization algorithms are supported:
Gradient-based:
LD_MMA
LD_LBFGS
LD_AUGLAG
LD_SLSQP
LD_TNEWTON
Derivative-free:
LN_BOBYQA
LN_COBYLA
LN_SBPLX
Refer to nlopt’s docs for more details on their theoretical underpinnings.