USING MICROBIAL GENETIC ALGORITHM TO SOLVE CARD SPLITTING PROBLEM.

Slides:



Advertisements
Similar presentations
Logical and Artificial Intelligence in Games Lecture 14
Advertisements

CS6800 Advanced Theory of Computation
Genetic Algorithms By: Anna Scheuler and Aaron Smittle.
CSM6120 Introduction to Intelligent Systems Evolutionary and Genetic Algorithms.
Biologically Inspired AI (mostly GAs). Some Examples of Biologically Inspired Computation Neural networks Evolutionary computation (e.g., genetic algorithms)
Non-Linear Problems General approach. Non-linear Optimization Many objective functions, tend to be non-linear. Design problems for which the objective.
Data Mining CS 341, Spring 2007 Genetic Algorithm.
Genetic Algorithms Nehaya Tayseer 1.Introduction What is a Genetic algorithm? A search technique used in computer science to find approximate solutions.
D Nagesh Kumar, IIScOptimization Methods: M1L4 1 Introduction and Basic Concepts Classical and Advanced Techniques for Optimization.
Genetic Algorithm What is a genetic algorithm? “Genetic Algorithms are defined as global optimization procedures that use an analogy of genetic evolution.
Chapter 6: Transform and Conquer Genetic Algorithms The Design and Analysis of Algorithms.
The Standard Genetic Algorithm Dr. Chrisantha Fernando Systems Biology Centre University of Birmingham Dr. Chrisantha Fernando Systems Biology Centre University.
Genetic Algorithms Overview Genetic Algorithms: a gentle introduction –What are GAs –How do they work/ Why? –Critical issues Use in Data Mining –GAs.
Genetic Algorithm.
Genetic algorithms Prof Kang Li
Artificial Intelligence Lecture No. 31 Dr. Asad Ali Safi ​ Assistant Professor, Department of Computer Science, COMSATS Institute of Information Technology.
More on Heuristics Genetic Algorithms (GA) Terminology Chromosome –candidate solution - {x 1, x 2,...., x n } Gene –variable - x j Allele –numerical.
Evolving Virtual Creatures & Evolving 3D Morphology and Behavior by Competition Papers by Karl Sims Presented by Sarah Waziruddin.
Derivative Free Optimization G.Anuradha. Contents Genetic Algorithm Simulated Annealing Random search method Downhill simplex method.
2005MEE Software Engineering Lecture 11 – Optimisation Techniques.
Learning by Simulating Evolution Artificial Intelligence CSMC February 21, 2002.
Genetic Algorithms Przemyslaw Pawluk CSE 6111 Advanced Algorithm Design and Analysis
Genetic Algorithms What is a GA Terms and definitions Basic algorithm.
Chapter 12 FUSION OF FUZZY SYSTEM AND GENETIC ALGORITHMS Chi-Yuan Yeh.
EE749 I ntroduction to Artificial I ntelligence Genetic Algorithms The Simple GA.
Waqas Haider Bangyal 1. Evolutionary computing algorithms are very common and used by many researchers in their research to solve the optimization problems.
Genetic Search Algorithms Matt Herbster. Why Another Search?  Designed in the 1950s, heavily implemented under John Holland (1970s)  Genetic search.
Genetic Algorithm Dr. Md. Al-amin Bhuiyan Professor, Dept. of CSE Jahangirnagar University.
Genetic Algorithms and TSP Thomas Jefferson Computer Research Project by Karl Leswing.
Genetic Algorithms. Overview “A genetic algorithm (or GA) is a variant of stochastic beam search in which successor states are generated by combining.
Artificial Intelligence By Mr. Ejaz CIIT Sahiwal Evolutionary Computation.
Overview Last two weeks we looked at evolutionary algorithms.
Genetic Algorithms. Solution Search in Problem Space.
Genetic Algorithms An Evolutionary Approach to Problem Solving.
Genetic Algorithm(GA)
Genetic Algorithm. Outline Motivation Genetic algorithms An illustrative example Hypothesis space search.
 Presented By: Abdul Aziz Ghazi  Roll No:  Presented to: Sir Harris.
Evolutionary Computation Evolving Neural Network Topologies.
Genetic Algorithm (Knapsack Problem)
Genetic Algorithms.
Introduction to Genetic Algorithms
Using GA’s to Solve Problems
Genetic Algorithm in TDR System
Genetic Algorithm (GA)
Genetic Algorithms.
Dr. Kenneth Stanley September 11, 2006
Evolutionary Algorithms Jim Whitehead
Evolutionary Technique for Combinatorial Reverse Auctions
Artificial Intelligence Methods (AIM)
Balancing of Parallel Two-Sided Assembly Lines via a GA based Approach
Introduction to Genetic Algorithm (GA)
Chapter 6: Genetic Algorithms
CSC 380: Design and Analysis of Algorithms

Advanced Artificial Intelligence Evolutionary Search Algorithm
Genetic Algorithms CPSC 212 Spring 2004.
Genetic Algorithms overview
CS621: Artificial Intelligence
Basics of Genetic Algorithms (MidTerm – only in RED material)
GENETIC ALGORITHMS & MACHINE LEARNING
Basics of Genetic Algorithms
EE368 Soft Computing Genetic Algorithms.
Searching for solutions: Genetic Algorithms
A Gentle introduction Richard P. Simpson
Applications of Genetic Algorithms TJHSST Computer Systems Lab
LEARNING.
Genetic Algorithm Soft Computing: use of inexact t solution to compute hard task problems. Soft computing tolerant of imprecision, uncertainty, partial.
Population Based Metaheuristics
CSC 380: Design and Analysis of Algorithms
Presentation transcript:

USING MICROBIAL GENETIC ALGORITHM TO SOLVE CARD SPLITTING PROBLEM. GENETIC ALGORITHMS USING MICROBIAL GENETIC ALGORITHM TO SOLVE CARD SPLITTING PROBLEM.

OVERVIEW 1 PROBLEM STATEMENT 2 GENETIC ALGORITHM 3 WORKING 4 MICROBIAL GA 5 PROBLEM 6 SOLUTION 7 CONCLUSION

THE PROBLEM STATEMENT We have 10 cards numbered 1 to 10 We have to divide them into two piles so that: The sum of the first pile is as close as possible to 36. And the product of all in the second pile is as close as possible to 360.

WHAT ARE GENETIC ALGORITHMS? A genetic algorithm is a search technique used in computing, to find true or approximate solutions to optimization and search problems Genetic algorithms are categorized as global search heuristics. Genetic algorithms are a particular class of evolutionary algorithms that use techniques inspired by evolutionary biology such as inheritance, mutation, selection, and crossover. Genetic algorithms are implemented as a computer simulation in which a population of abstract representations of candidate solutions to an optimization problem evolves towards better solutions.

HOW IT WORKS? Traditionally, solutions are represented in binary as strings of 0s and 1s. The evolution usually starts from a population of randomly generated individuals, and happens in generations. In each generation, the fitness of every individual in the population is evaluated, multiple individuals are stochastically selected from the current population (based on their fitness), and modified (recombined and possibly mutated) to form a new population. The new population is then used in the next iteration of the algorithm.

MICROBIAL GA The basic operation of the Microbial GA training is as follows: Pick two genotypes at random Compare Scores (Fitness) to come up with a Winner and Loser Go along genotype, at each locus (Point) That is: With some probability (randomness), copy from Winner to Loser (overwrite) With some probability (randomness), mutate that locus of the Loser So only the Loser gets changed, which gives a version of Elitism for free, this ensures that the best in the breed remains in the population.

CAUTION!!! But there are some essential issues to be aware of, when playing with GAs: The genotype will be different for a different problem domain The Fitness function will be different for a different problem domain These two items must be developed again, whenever a new problem is specified.

1. The Geneotype Well, for this PROBLEM, the problem domain states that we have 10 cards. So, a two dimensional genes array, which is a 30*10 array is created. The 30 represents a population size of 30. It could be any size, but should be big enough to allow some dominant genes to form.

2. The Fitness Function Loop through the population member's genes If the current gene being looked at has a value of 0, the gene is for the sum pile (pile 0), so add to the running calculation If the current gene being looked at has a value of 1, the gene is for the product pile (pile 1), so add to the running calculation Calculate the overall error for this population member. If this member's geneotype has an overall error of 0.0, then the problem domain has been solved

CONCLUSION The problem of card splitting though trivial displays the depth of genetic algorithms and allows its application in a vast number of varied fields. From game theory to computational creativity GA have also been applied to solve the travelling salesman problem. It can be concluded that for a problem involving optimization, GA can be game changing.