2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-19 04:22:09 +00:00
Files
math/doc
Tomato-in af8ba3f7b2 Adjust parameter order in Differential Evolution algorithm
Problem Description
The optimization module implements four algorithms: Differential
Evolution, Algorithm jSO, Random Search, and Evolution Strategy with
Covariance Matrix Adaptation. All these algorithms accept seven
parameters: `cost_function`, `params`, `gen`, `value_to_reach`,
`cancellation`, `current_minimum_cost`, and `queries`. Unfortunately,
the Differential Evolution algorithm doesn't maintain parameter
consistency with the other three algorithms: the last two parameters
(`current_minimum_cost` and `queries`) are in reverse order compared to
the other algorithms. This appears to be an unintentional oversight.

Solution
- Adjust the parameter order in the Differential Evolution algorithm to ensure consistency with other optimization algorithms
- Update the algorithm documentation accordingly
(No changes to example code were needed as the examples don't use these two parameters)
2025-05-15 07:19:58 -07:00
..
2013-05-17 11:13:14 +00:00
2022-11-10 18:49:37 +00:00
2019-12-24 21:42:09 -05:00
2019-12-01 08:06:17 -05:00
2023-10-30 09:37:29 +01:00
2022-03-19 16:45:36 +00:00
2024-09-12 10:25:17 -04:00
2019-12-26 09:18:02 -05:00
2024-09-17 15:24:02 -04:00
2024-09-03 10:10:30 -04:00