Skip to content

Implementation of Optimisation Algorithms for Problem Statements

Notifications You must be signed in to change notification settings

N-Raghav/Optimization-Algorithms

Repository files navigation

Optimization Algorithms for Various Problems

This repository contains implementations of various optimization algorithms for different problems. Each subdirectory contains code and examples for a specific algorithm applied to a specific problem.

Table of Contents

  1. Genetic Algorithm for Travelling Salesman Problem
  2. Genetic Algorithm for Sine Wave
  3. Cultural Algorithm for Sine Wave
  4. Particle Swarm Optimization for Sine Wave
  5. Ant Colony Optimization for Shortest Path

Genetic Algorithm for Travelling Salesman Problem

This section contains the implementation of a Genetic Algorithm to solve the Travelling Salesman Problem.

Usage

python tsp_genetic_algorithm.py

Description

The Travelling Salesman Problem involves finding the shortest possible route that visits a given set of cities and returns to the original city. The Genetic Algorithm is applied here to find an approximate solution.


Genetic Algorithm for Sine Wave

This section contains the implementation of a Genetic Algorithm to approximate a sine wave.

Usage

python sine_wave_genetic_algorithm.py

Description

The Genetic Algorithm is used to evolve a set of parameters that approximate a sine wave.


Cultural Algorithm for Sine Wave

This section contains the implementation of a Cultural Algorithm to approximate a sine wave.

Usage

python sine_wave_cultural_algorithm.py

Description

The Cultural Algorithm is a population-based optimization technique inspired by the concept of cultural evolution. It is applied here to approximate a sine wave.


Particle Swarm Optimization for Sine Wave

This section contains the implementation of a Particle Swarm Optimization algorithm to find both maxima and minima of a sine wave.

Usage

python sine_wave_pso.py

Description

Particle Swarm Optimization is a population-based stochastic optimization technique inspired by the social behavior of birds and fish. It is applied here to find both maxima and minima of a sine wave.


Ant Colony Optimization for Shortest Path in Graph

This section contains the implementation of an Ant Colony Optimization algorithm to find the shortest path in a graph.

Usage

python ant_colony_optimization.py

Description

Ant Colony Optimization is a nature-inspired algorithm based on the behavior of ants searching for the shortest path between their nest and a food source. It is applied here to find the shortest path in a graph.


About

Implementation of Optimisation Algorithms for Problem Statements

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages