Skip to content

Experiments with evolutionary computation techniques to solve the P-Median Problem

Notifications You must be signed in to change notification settings

lar9482/PMedian-Problem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Major project for CS 4623-01

Introduction

Taught by Dr. Roger Wainwright in SP 2023.

Experiments with the following techniques to solve the P-Median problem.

  • A simple genetic algorithm

    • Roulette, Rank, and Tournament selection
    • Single-Point, Double-Point, and Uniform crossover
    • Simple and Hyperheuristic mutation
  • A simulated annealing algorithm.

    • Simple and Hyperheuristic perbutation.
  • A foolish hill climbing algorithm.

    • Similiar implementation to simulated annealing, except 'worse' chromosomes are not considered at all.

Sample solutions(generated through genetic algorithm)

  • Fun fact:

    • For the largest dataset in this repo, there are C(240, 15) = 247,012,484,980,695,576,597,296 possible combinations!!!
    • This is easily in the range of an NP-Hard problem
  • Algorithm constants:

    • 100 epochs
    • Population size of 25
    • 100% crossover rate
    • 5% mutation rate
  • Small dataset

    • P=4 with 20 points.
    • Solution generated with roulette selection, single point crossover, and simple mutation.
  • Medium dataset

    • P=8 with 72 points.
    • Solution generated with roulette selection, single point crossover, and simple mutation.
  • Large dataset

    • P=15 with 240 points.
    • Solution generated with rank selection, uniform crossover, and hyper heuristic mutation.

About

Experiments with evolutionary computation techniques to solve the P-Median Problem

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages