2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-19 04:22:09 +00:00

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.
This commit is contained in:
Nick
2024-01-17 10:20:41 -08:00
committed by GitHub
parent 79b4015d4d
commit de9a1a0ee5
12 changed files with 620 additions and 393 deletions

View File

@@ -38,11 +38,13 @@ All the implementations are fully generic and support the use of arbitrary "real
These functions also provide the basis of support for the TR1 special functions.
### Root Finding and Function Minimisation
### Root Finding
A comprehensive set of root-finding algorithms over the real line, both with derivatives and derivative free.
Also function minimisation via Brent's Method.
### Optimization
Minimization of cost functions via Brent's method and differential evolution.
### Polynomials and Rational Functions