The ALGLIB numerical library features one of the best open-source nonlinear programming suites available in C++, C#, Java and other languages under both free and commercial licenses. Our NLP suite includes several algorithms: large-scale SQP for smooth problems and metaheuristic GDEMO for noisy/stochastic derivative-free optimization. All solvers are robust, parallelized and capable of efficiently handling unconstrained and constrained problems with box, linear and nonlinear constraints.
This article compares large-scale SQP with other open-source smooth solvers. A comparison of metaheuristic solvers can be found on another page. A high-level overview of the ALGLIB nonlinear programming suite is provided here.
Solvers compared: the following solvers were chosen for the comparison:
All solvers were used with default parameters in a single-threaded mode. Although ALGLIB (and some other solvers tested) supports parallelism, for the simplicity of comparison we used a single-threaded mode in this benchmark.
Test set: a medium-dimensional subset (up to 100 vars, up to 200 constraints) of the CUTEst set. This set includes problems with all kinds of constraints, including box, linear and nonlinear equality/inequality/range ones.
Measurement methodology: all solvers were run until a time budget of 30 seconds was exhausted. If a solver failed to stop or failed to converge, its running time is considered equal to ∞. As a measure of algorithm quality we used the trimean (a weighted sum of quartiles) of function evaluations needed to converge. Using trimean instead of the mean allows us to handle infinite running times (failures) as long as the solver fails in less than 75% of cases.
The chart above clearly shows that ALGLIB is much faster than its closest competitor!
This article is licensed for personal use only.
ALGLIB Project offers you two editions of ALGLIB:
ALGLIB Free Edition:
+delivered for free
+offers full set of numerical functionality
+extensive algorithmic optimizations
-no multithreading
-non-commercial license
ALGLIB Commercial Edition:
+flexible pricing
+offers full set of numerical functionality
+extensive algorithmic optimizations
+high performance (SMP, SIMD)
+commercial license with support plan
Links to download sections for Free and Commercial editions can be found below: