Original Julia Code by: Mykel Kochenderfer and Tim Wheeler
Python Versions by: Griffin Holt
Python versions of all typeset code blocks from the book, Algorithms for Optimization.
I share this content in the hopes that it helps you and makes the decision making algorithms more approachable and accessible (especially to those not as familiar with Julia). Thank you for reading!
If you encounter any issues or have pressing comments, please file an issue. (There are likely to still be bugs as I have not finished testing all of the classes and functions.)
| Chapter(s) | Written | Tested | Notes |
|---|---|---|---|
| 1 | N/A | N/A | No code blocks in this chapter |
| 2 | ▌▌▌▌▌▌▌▌▌▌ 100% | ▌▌▌▌▌▌▌▌▌▌ 100% | Ready for use |
| 3 | ▌▌▌▌▌▌▌▌▌▌ 100% | ▌▌▌▌▌▌▌▌▌▌ 100% | Ready for use |
| 4 | ▌▌▌▌▌▌▌▌▌▌ 100% | ▌▌▌▌▌▌▌▌▌▌ 100% | Ready for use |
| 5 | ▌▌▌▌▌▌▌▌▌▌ 100% | ▌▌▌▌▌▌▌▌▌▌ 100% | Ready for use |
| 6 | ▌▌▌▌▌▌▌▌▌▌ 100% | ▌▌▌▌▌▌▌▌▌▌ 100% | Ready for use |
| 7 | ▌▌▌▌▌▌▌▌▌▌ 100% | ▌▌▌▌▌▌▌▌▌▌ 100% | Ready for use |
| 8 | ▌▌▌▌▌▌▌▌▌▌ 100% | ▌▌▌▌▌▌▌ 70% | adaptive_simulated_annealing, natural_evolution_strategies, and covariance_matrix_adaptation need to be tested |
| 9 | ▌▌▌▌▌▌▌▌▌▌ 100% | 0% | Needs to be tested |
| 10 | ▌▌▌▌▌▌▌▌▌▌ 100% | 0% | Needs to be tested |
| 11 | ▌▌▌▌▌▌▌▌▌▌ 100% | 0% | Needs to be tested |
| 12 | ▌▌▌▌▌▌▌▌▌▌ 100% | 0% | Needs to be tested |
| 13 | ▌▌▌▌▌▌▌▌▌▌ 100% | 0% | Needs to be tested |
| 14 | ▌▌▌▌▌▌▌▌▌▌ 100% | 0% | Needs to be tested |
| 15 | ▌▌▌▌▌▌▌▌▌▌ 100% | 0% | Needs to be tested |
| 16 | ▌▌▌▌▌▌▌▌▌▌ 100% | 0% | Needs to be tested |
| 17 | N/A | N/A | No code blocks in this chapter |
| 18 | ▌▌▌▌▌▌▌▌▌▌ 100% | 0% | Needs to be tested |
| 19 | ▌▌▌▌▌▌▌▌▌▌ 100% | 0% | Needs to be tested |
| 20 | 0% | 0% | Need to figure out replacement library for ExprRules.jl |
| 21 | ▌▌▌▌▌▌▌▌▌▌ 100% | ▌▌▌▌▌▌▌▌▌▌ 100% | Ready for use |
I have also written code for pertinent figures, examples, exercises through Chapter 9.
I have also written code for test functions (TestFunctions.py) and convenience functions (convenience.py).