sp1999 / optimization-project

Comparison of standard library functions and our own implementations of genetic algorithm, simulated annealing, and particle swarm optimization

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Optimization Project

Course project for AE755 [Optimization for Engineering Design], Spring 2021


Project Title

Design of Full Car Suspension Model to Maximize Rider Comfort

System Image

Usage

git clone https://github.com/trunc8/optimization-project.git
cd optimization-project
pip3 install -r requirements.txt

To check help menu and find list of algorithms

python3 code/suspension_optimization.py -h

To run the script against, say, Simulated Annealing

python3 code/suspension_optimization.py -a SA

To view intermediate design variable values, set the verbose flag (note that this will hide the progress bar)

python3 code/suspension_optimization.py -a SA -v

The results are automatically written to csv file with the corresponding algorithm name in the results directory.
The suspension problem formulation is briefly discussed in our presentation document along with collation of the results, our recommendations, and learnings.

Finally, in order to compare performance of all algorithms against the test objective functions, execute

python3 code/testing.py

Author(s)

Created with ❤️ by Siddharth

About

Comparison of standard library functions and our own implementations of genetic algorithm, simulated annealing, and particle swarm optimization


Languages

Language:Python 72.3%Language:Jupyter Notebook 27.7%