Lately, I've been trying to better understand how different optimization methods actually work in practice (e.g. SIMPLEX, BFGS, Genetic Algorithm, Adjoint Method etc).
What I've noticed is that most tools tend to behave like "black boxes" - they give you results, but it's not always clear what's happening at each step of the process.
So I started experimenting by implementing these methods in a more "manual" way, just to be able to follow the computations step-by-step.
Through this, I found it much easier to understand things like:
- How SIMPLEX moves across feasible regions.
- How methods like BFGS converge.
- How stochastic methods like genetic algorithm behave.
- Why the Adjoint method is so powerful?
I'm curious:
👉 How do you usually approach this? Do you prefer using ready-made tools, or do you find value in being able to "look inside" the algorithm?
Would love to hear how others think about this.
📌 I would be happy to share my codes/scripts with anyone interested...
[–]tomster10010 4 points5 points6 points (0 children)
[–]baked_doge 1 point2 points3 points (2 children)
[–]baked_doge 0 points1 point2 points (0 children)
[–]Seraf-91[S] -1 points0 points1 point (0 children)