nloptr 2.2.0
This release fixes a breaking bug which affects nloptr and its reverse dependencies and brings some minor tweaks and corrections along the way:
- Minimal patch for build against nlopt 2.9.x (#176, @jaganmn): specifically, the issuses were that (i) nlopt versions 2.9.x had one less algorithm in the enum list, namely
NLOPT_LD_LBFGS_NOCEDALwas removed in these versions and put back in 2.10 and (ii) we were usinginst/includein which we copied nlopt headers conditionally to build the package (e.g. listing it inPKG_CPPFLAGS) resulting in possible version conflicts. - Fix the 2 failed tests by adding one more termination criterion.
- Update GHA workflows to latest versions.
- Fix reverse
LinkingTodependencies by (i) unconditionally copying headers toinst/includeand (ii) fixingcmakepath search (#179, @astamm). - Fix for newly broken kergp package due to wrong usage of
ifstatement insidepaste()which works differently than when used insidec()(#180, @astamm). - Update artifact action to
v4(#174, @eddelbuettel). - Correcting some of the unit tests in
test-banana(#167, @aadler). - Correcting some of the unit tests in
test-global-wrapper(#166, @aadler). - Update the code in
nloptr.cfor compatibility with theRAPI, efficiency,
and formatting (#169, @aadler). - Bugfix:
ranseedexpects an unsigned long but was passed as an integer, thus
reducing the range of random seeds. It is now passed as a double and converted
to a long (#169, @aadler).