This project is an open-source collection of various optimization algorithms, each presented in a Jupyter notebook (Python). Its purpose is to provide a comprehensive resource for understanding and implementing these algorithms. It is a valuable asset for both educational and practical applications in optimization tasks.
- Installation
- Dependencies
- Each Algorithm's Notebook
- Further Exploration
- Licensing
- Contributing
- Disclaimer of Liability and Usage Terms
- Contact Information
Follow these steps to set up the project:
-
Clone the Repository:
- Open your terminal.
- Navigate to the directory where you want to clone the project.
- Run the command:
git clone https://github.com/MaloLM/optimization-algorithms-guide.git
.
-
Install Dependencies:
- Make sure you have Python installed on your system.
- Navigate to the root directory of the cloned project in the terminal.
- Run the command:
pip install -r requirements.txt
. - This will install all the Python dependencies listed in the
requirements.txt
file.
-
Launch JupyterLab:
- After installing dependencies, stay in the project's root directory.
- Run the command:
jupyter lab
. - This will start the JupyterLab server and may open a browser window automatically.
- If a browser window doesn't open, you can manually navigate to the URL provided in the terminal (usually something like
http://localhost:8888/lab
).
After completing these steps, you should be ready to use the project.
- Detailed list of dependencies included in
requirements.txt
.
For each algorithm, the corresponding Jupyter notebook will include:
- General Introduction
- Usage Examples
- Strengths
- Weaknesses
- Python Demonstration
- Recommended Open Source Tools
- Research Sources
- Conjugate gradient
- Gradient descents
- Interior point method
- Newton and quasi-Newton methods
- Simplex method
This page on Mathematical Optimization provides a comprehensive overview of optimization in mathematics. It defines optimization as the process of selecting the best element from a set of alternatives based on some criteria.
The page features a comprehensive list of 164 pages dedicated to various optimization algorithms and methods. This category is a detailed resource, encompassing a wide array of optimization techniques and strategies used in different computational and mathematical contexts.
This page provides a comprehensive resource on test functions used in applied mathematics to evaluate optimization algorithms. These functions, also known as artificial landscapes, are instrumental in assessing various characteristics of optimization algorithms, including their convergence rate, precision, robustness, and general performance.
This project is licensed under the Apache 2.0 License. It allows you to freely use, modify, and distribute the project, subject to certain conditions. For complete details, see LICENSE.
If you encounter any problems or have suggestions for improvements, please feel free to report them in the Issues section of the GitHub repository. To ensure efficient and effective communication, please follow these guidelines when submitting an issue:
-
Use a Clear Title: Write a concise and informative title for the issue that briefly summarizes the problem or suggestion.
-
Provide Detailed Information: In the description, include as much relevant information as possible. This might include:
- The steps to reproduce the issue (if applicable).
- The expected outcome versus the actual outcome.
- Any error messages or screenshots that illustrate the problem.
- Your environment details, like the operating system and version of the software you are using.
-
Label Your Issue: If possible, categorize your issue using labels. Common labels include
bug
,feature request
,enhancement
,documentation
, etc. -
Be Respectful and Constructive: Remember to be respectful and constructive in your communication. We appreciate your contribution to improving this project.
- Update Your Fork:
git fetch upstream git merge upstream/main main
- Create a New Branch:
git checkout -b branch-name
- Make Your Changes.
- Commit and Push Your Changes:
git add . git commit -m "Descriptive commit message" git push origin branch-name
- Navigate to the GitHub page of your fork, and click on "New Pull Request".
- Ensure the base branch is the main branch of the main repository, and the compare branch is your branch with changes.
Thank you for helping us make this project better!
This project python code is only provided for demonstration and educational purposes. It is not intended for, nor should it be used directly, as it is, in production environments or for direct integration into operational systems.
Users are advised that employing the code directly in such manners may result in unforeseen issues or incidents. The creators, contributors, or distributors of this code expressly disclaim any liability for any adverse outcomes resulting from the direct reuse or misapplication of the code. It is the responsibility of the user to evaluate and bear all risks associated with the use and adaptation of this code.
As an alternative to demonstrations codes, practical, open-source tools that have proven effective are suggested for each algorithm and in multiple languages.