stevengj / nlopt

library for nonlinear optimization, wrapping many algorithms for global and local, constrained or unconstrained, optimization
Other
1.89k stars 588 forks source link

Fix nlopt_algorithm_name #558

Closed NogginBops closed 4 months ago

NogginBops commented 4 months ago

Fixes issues introduced in #457

There where missing commas at the end of "AGS (global, no-derivative)" causing it to be merged with the next string. It's ordering was also changed without considering that the order of the items in the array mattered.

This PR fixes the ordering and makes sure that there are terminating commas for each entry.

stevengj commented 4 months ago

LGTM, thanks!