fz-29 / PMedian-GeneticAlgo

Solution for P-Median Problem using Genetic Algorithm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About

This project aims to find solution for P-Median problem using Genetic Algorithm. P-median problem is as follows:-

Description

Alternate Despription

Strategy used:

Selection- Random (I propose to change it to Random + Greedy based on Fitness function)

Crossover- Modified uniform crossover

Mutation- Uniform (using Swapping)

Please see input_format.txt to check input format.

How to run

Compile

g++ main.cpp

Run

./a.out < input.txt

About

Solution for P-Median Problem using Genetic Algorithm


Languages

Language:C++ 100.0%