nlopt
« Back to VersTracker
Description:
Free/open-source library for nonlinear optimization
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: optimization mathematics c-library scientific-computing
Install: brew install nlopt
About:
NLopt is a comprehensive library for nonlinear optimization, providing a unified interface to numerous algorithms. It supports both local and global optimization, handling constraints and offering derivatives. Its primary value is abstracting complex optimization methods into a simple, portable interface for developers and researchers.
Key Features:
  • Unified interface to many algorithms
  • Supports global and local optimization
  • Automatic differentiation support
  • Bindings for multiple languages
Use Cases:
  • Machine learning model training
  • Engineering design and simulation
  • Financial portfolio optimization
Alternatives:
  • scipy.optimize – Python-specific, whereas NLopt offers a broader C/C++ base and more algorithm variety.
  • IPOPT – Specialized in large-scale interior point methods, while NLopt provides a wider general-purpose selection.
Version History
Detected Version Rev Change Commit
Sep 11, 2025 1:17am 0 VERSION_BUMP 9893d051
Nov 25, 2024 10:14pm 0 VERSION_BUMP 8f031f1d
Nov 10, 2024 2:34pm 0 VERSION_BUMP ebcb52f4