Skip to content

[Feature Request]: Traveling Salesman Problem (TSP) with Genetic Algorithm #337

@ashis2004

Description

@ashis2004

Is there an existing issue for this?

  • I have searched the existing issues

Feature Description

  • Data Collection: Generate or use existing datasets of city coordinates.
  • Initialize Population: Create an initial population of random routes.
  • Fitness Function: Define a fitness function to evaluate the total distance of each route.
  • Selection: Select the best routes for crossover.
  • Crossover: Combine routes to create new routes.
  • Mutation: Introduce small changes to routes to maintain genetic diversity.
  • Evaluation: Assess the performance of the algorithm in finding the shortest route.

Use Case

The Traveling Salesman Problem is a classic optimization problem where the goal is to find the shortest possible route that visits a list of cities and returns to the origin city.

Benefits

No response

Priority

High

Record

  • I agree to follow this project's Code of Conduct
  • I'm a GSSOC contributor
  • I want to work on this issue
  • I'm willing to provide further clarification or assistance if needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions