7 Commits

Author SHA1 Message Date
Matt Borland 704eeb8955 Adjust tests so they are compatible with GCC modules 2026-07-17 17:11:31 -04:00
Matt Borland 39b0970cf7 Export statistics and optimization for the boost.math module
* BOOST_MATH_EXPORT on the statistics free functions (univariate,
  bivariate, tests, regression, signal) and the optimization
  algorithms, parameter structs and constraint/convergence policies
* BOOST_MATH_TEST_EXPORT on the optimization detail helpers the
  differential evolution test exercises directly
* Adds the statistics and optimization headers to the module interface
  unit; cma_es is excluded because it requires Eigen
* test_functions_for_optimization.hpp resolves constants through the
  import in module mode
* Module test harness gains test_runs_test, linear_regression_test,
  ljung_box_test, differential_evolution_test and random_search_test
2026-07-15 11:36:18 -04:00
ckormanyos 4d5ec95f9f Remove optimize-tests Boost.Units types 2025-08-22 18:57:50 +02:00
Nick Thompson f8da4ba2be Units compatibility for optimization 2024-02-10 20:58:18 -08:00
Nick fccad84bf5 Random search (#1071) 2024-01-24 17:26:24 -08:00
Nick de9a1a0ee5 Fix race conditions in differential evolution (#1063)
Through a combination of silly mistakes, I missed a pile of race conditions in the OpenMP threading.

Switch to C++ threading. Note that this change requires serial generation of trial vectors.

Hopefully I can figure out to parallelize the generation of trial vectors to reduce the serial section a la Ahmdahl's law,
while simultaneously keeping thread sanitizer happy.
2024-01-17 10:20:41 -08:00
Nick 4ee83916c5 Differential evolution (#1062)
* Differential evolution

---------

Co-authored-by: Matt Borland <matt@mattborland.com>
2024-01-01 17:09:16 -08:00