All Projects → alpsayin → genetic-algorithm-matlab

alpsayin / genetic-algorithm-matlab

Licence: MIT License
A very simple Genetic Algorithm implementation for matlab, easy to use, easy to modify runs fast.

Programming Languages

matlab
3953 projects

Projects that are alternatives of or similar to genetic-algorithm-matlab

GA
An R package for optimization using genetic algorithms
Stars: ✭ 76 (+322.22%)
Mutual labels:  genetic-algorithm, optimisation
goga
Go evolutionary algorithm is a computer library for developing evolutionary and genetic algorithms to solve optimisation problems with (or not) many constraints and many objectives. Also, a goal is to handle mixed-type representations (reals and integers).
Stars: ✭ 39 (+116.67%)
Mutual labels:  genetic-algorithm, optimisation
Flow-Shop-Scheduling
Genetic Algorithm for Flow Shop Scheduling
Stars: ✭ 19 (+5.56%)
Mutual labels:  genetic-algorithm, heuristics
ccache-gui
macOS GUI helper for ccache
Stars: ✭ 52 (+188.89%)
Mutual labels:  optimisation
Job-Shop-Scheduling-Genetic-Algorithm
Job Shop Scheduling Solver using Genetic Algorithyms
Stars: ✭ 48 (+166.67%)
Mutual labels:  genetic-algorithm
async-genetic
A blazing fast parameters optimiser by genetic algorithm
Stars: ✭ 18 (+0%)
Mutual labels:  genetic-algorithm
adaptive-large-neighbourhood-search
ALNS header-only library (loosely) based on the original implementation by Stefan Ropke.
Stars: ✭ 28 (+55.56%)
Mutual labels:  heuristics
GeneticsJS
Evolutionary algorithms library for the web 🧬
Stars: ✭ 25 (+38.89%)
Mutual labels:  genetic-algorithm
Training-Snake-Game-With-Genetic-Algorithm
training snake game using neural network and genetic algorithm
Stars: ✭ 28 (+55.56%)
Mutual labels:  genetic-algorithm
trackit
Trackit helps you understand and improve your use of AWS
Stars: ✭ 91 (+405.56%)
Mutual labels:  cost-optimization
GeneticAlgorithmForFeatureSelection
Search the best feature subset for you classification mode
Stars: ✭ 82 (+355.56%)
Mutual labels:  genetic-algorithm
ai-n-queens
Solving and GUI demonstration of traditional N-Queens Problem using Hill Climbing, Simulated Annealing, Local Beam Search, and Genetic Algorithm.
Stars: ✭ 30 (+66.67%)
Mutual labels:  genetic-algorithm
tiny gp
Tiny Genetic Programming in Python
Stars: ✭ 58 (+222.22%)
Mutual labels:  genetic-algorithm
Mathematical-Modeling
A sharing of the learning process of mathematical modeling 数学建模常用工具模型算法分享:数学建模竞赛优秀论文,数学建模常用算法模型,LaTeX论文模板,SPSS工具分享。
Stars: ✭ 30 (+66.67%)
Mutual labels:  genetic-algorithm
Seating Chart
Optimizing a Wedding Reception Seating Chart Using a Genetic Algorithm
Stars: ✭ 25 (+38.89%)
Mutual labels:  genetic-algorithm
handbook.vantage.sh
The Cloud Cost Handbook is a free, open-source, community-supported set of guides meant to help explain often-times complex pricing of public cloud infrastructure and service providers in plain english.
Stars: ✭ 265 (+1372.22%)
Mutual labels:  cost-optimization
recmap
Draw your own Rectangular Statistical Cartogram - CRAN package
Stars: ✭ 18 (+0%)
Mutual labels:  genetic-algorithm
shorelark
Simulation of life & evolution
Stars: ✭ 109 (+505.56%)
Mutual labels:  genetic-algorithm
Decider
An Open Source .Net Constraint Programming Solver
Stars: ✭ 112 (+522.22%)
Mutual labels:  optimisation
kubesurvival
💰 Significantly reduce Kubernetes costs by finding the cheapest machine types that can run your workloads
Stars: ✭ 157 (+772.22%)
Mutual labels:  cost-optimization

genetic-algorithm-matlab

A very simple Genetic Algorithm implementation for matlab, easy to use, easy to modify and runs fast. Even has some visualization too.

To Run

Run the FunctionOptimization script.

To Modify Optimization Function

Replace your own function into EvaluateIndividual.m script. Note that this genetic algorithm tries to maximise the output so invert your function according to your needs. Right now it tries to locate the peak of a double variable function. It can be adjusted to optimize for more than two variable functions.

To Modify Genetic Algorithm Parameters

  • All the parameters are located in the FunctionOptimization.m script.
  • populationSize -> number of individuals in a population
  • numberOfGenes -> number of bits per chromosome
  • crossoverProbability -> probability that a crossover will happen between two individuals
  • mutationProbability -> probability that a mutation will occur in an individual
  • tournamentSelectionParameter -> parameter that's used to calculate the probabilities for individuals to be chosen in a tournament -> 'p*(1-p)^k' where k denotes the k'th worst individual in the tournament pool
  • variableRange -> the range in which the genes will be decoded into. basically minimum and maximum values of the parameters
  • numberOfGenerations -> number of iterations to run genetic algorithm
  • numberOfVariables -> number of variables stored in one chromosome
  • tournamentSize -> this value determines the number of individuals to be taken into a tournament. an individual of this pool is then chosen for mating with a probability calculated from tournamentSelectionParameter
  • numberOfReplications -> after a generation is run, this number of best individuals are copied back into the population to ensure the solution quality does not degrade
  • verbose -> if true; progress is printed
  • draw_plots -> if true; progress is plotted

Unit Tests

They are simply there to test the individual methods/steps of the genetic algorithm. Can be used for debugging.

Licensing Stuff

Please dont remove my name from the codes.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].