What the senior design students have been doing By Chris Klumph and Kody Willman.

Slides:



Advertisements
Similar presentations
Artificial Intelligence Presentation
Advertisements

Ali Husseinzadeh Kashan Spring 2010
Hadi Goudarzi and Massoud Pedram
Genetic Algorithms (Evolutionary Computing) Genetic Algorithms are used to try to “evolve” the solution to a problem Generate prototype solutions called.
CS6800 Advanced Theory of Computation
Using Parallel Genetic Algorithm in a Predictive Job Scheduling
Exact and heuristics algorithms
By: Chris Klumph and Kody Willman. Types of Heuristics References Terminology Static Mappings 6 Example mappings 4 Graph chromosome mappings 1 Tree mapping.
On the Genetic Evolution of a Perfect Tic-Tac-Toe Strategy
Tuesday, May 14 Genetic Algorithms Handouts: Lecture Notes Question: when should there be an additional review session?
Genetic Algorithms Representation of Candidate Solutions GAs on primarily two types of representations: –Binary-Coded –Real-Coded Binary-Coded GAs must.
Content Based Image Clustering and Image Retrieval Using Multiple Instance Learning Using Multiple Instance Learning Xin Chen Advisor: Chengcui Zhang Department.
Non-Linear Problems General approach. Non-linear Optimization Many objective functions, tend to be non-linear. Design problems for which the objective.
1 Lecture 8: Genetic Algorithms Contents : Miming nature The steps of the algorithm –Coosing parents –Reproduction –Mutation Deeper in GA –Stochastic Universal.
Fuzzy Simulated Evolution for Power and Performance of VLSI Placement Sadiq M. Sait Habib Youssef Junaid A. KhanAimane El-Maleh Department of Computer.
COMP305. Part II. Genetic Algorithms. Genetic Algorithms.
COMP 578 Genetic Algorithms for Data Mining Keith C.C. Chan Department of Computing The Hong Kong Polytechnic University.
Iterative Improvement Algorithms
Fuzzy Simulated Evolution for Power and Performance of VLSI Placement Sadiq M. SaitHabib Youssef Junaid A. KhanAimane El-Maleh Department of Computer Engineering.
Torcs Simulator Presented by Galina Volkinshtein and Evgenia Dubrovsky.
COMP305. Part II. Genetic Algorithms. Genetic Algorithms.
Iterative Improvement Algorithms For some problems, path to solution is irrelevant: just want solution Start with initial state, and change it iteratively.
Intro to AI Genetic Algorithm Ruth Bergman Fall 2002.
Fuzzy Evolutionary Algorithm for VLSI Placement Sadiq M. SaitHabib YoussefJunaid A. Khan Department of Computer Engineering King Fahd University of Petroleum.
Genetic Algorithms Nehaya Tayseer 1.Introduction What is a Genetic algorithm? A search technique used in computer science to find approximate solutions.
Algorithms for Selecting Multiple Mirror Sites for Parallel Download Yu Cai 12 / 2003 UCCS.
Chapter 6: Transform and Conquer Genetic Algorithms The Design and Analysis of Algorithms.
Genetic Algorithm.
Network Aware Resource Allocation in Distributed Clouds.
SOFT COMPUTING (Optimization Techniques using GA) Dr. N.Uma Maheswari Professor/CSE PSNA CET.
ROBUST RESOURCE ALLOCATION OF DAGS IN A HETEROGENEOUS MULTI-CORE SYSTEM Luis Diego Briceño, Jay Smith, H. J. Siegel, Anthony A. Maciejewski, Paul Maxwell,
Zorica Stanimirović Faculty of Mathematics, University of Belgrade
Design of a real time strategy game with a genetic AI By Bharat Ponnaluri.
Boltzmann Machine (BM) (§6.4) Hopfield model + hidden nodes + simulated annealing BM Architecture –a set of visible nodes: nodes can be accessed from outside.
Genetic algorithms Charles Darwin "A man who dares to waste an hour of life has not discovered the value of life"
Optimization Problems - Optimization: In the real world, there are many problems (e.g. Traveling Salesman Problem, Playing Chess ) that have numerous possible.
More on Heuristics Genetic Algorithms (GA) Terminology Chromosome –candidate solution - {x 1, x 2,...., x n } Gene –variable - x j Allele –numerical.
The Generational Control Model This is the control model that is traditionally used by GP systems. There are a distinct number of generations performed.
Applying Genetic Algorithm to the Knapsack Problem Qi Su ECE 539 Spring 2001 Course Project.
Genetic Algorithms Siddhartha K. Shakya School of Computing. The Robert Gordon University Aberdeen, UK
Richard Patrick Greer.  The Neonatal ICU in Providence Alaska Medical Center would like a scheduling system to assign nurses to babies based on numerous.
2005MEE Software Engineering Lecture 11 – Optimisation Techniques.
Genetic Algorithms Przemyslaw Pawluk CSE 6111 Advanced Algorithm Design and Analysis
 Genetic Algorithms  A class of evolutionary algorithms  Efficiently solves optimization tasks  Potential Applications in many fields  Challenges.
Genetic Algorithms What is a GA Terms and definitions Basic algorithm.
EE749 I ntroduction to Artificial I ntelligence Genetic Algorithms The Simple GA.
CS621: Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 5: Power of Heuristic; non- conventional search.
Waqas Haider Bangyal 1. Evolutionary computing algorithms are very common and used by many researchers in their research to solve the optimization problems.
GENETIC ALGORITHM Basic Algorithm begin set time t = 0;
A Fast Genetic Algorithm Based Static Heuristic For Scheduling Independent Tasks on Heterogeneous Systems Gaurav Menghani Department of Computer Engineering,
N- Queens Solution with Genetic Algorithm By Mohammad A. Ismael.
Genetic Algorithms. Underlying Concept  Charles Darwin outlined the principle of natural selection.  Natural Selection is the process by which evolution.
CS 721 Project Implementation of Hypergraph Edge Covering Algorithms By David Leung ( )
1 Comparative Study of two Genetic Algorithms Based Task Allocation Models in Distributed Computing System Oğuzhan TAŞ 2005.
Genetic Algorithms An Evolutionary Approach to Problem Solving.
Genetic Algorithm(GA)
Evolutionary Design of the Closed Loop Control on the Basis of NN-ANARX Model Using Genetic Algoritm.
Genetic Algorithms and Evolutionary Programming A Brief Overview.
 Presented By: Abdul Aziz Ghazi  Roll No:  Presented to: Sir Harris.
March 1, 2016Introduction to Artificial Intelligence Lecture 11: Machine Evolution 1 Let’s look at… Machine Evolution.
Genetic (Evolutionary) Algorithms CEE 6410 David Rosenberg “Natural Selection or the Survival of the Fittest.” -- Charles Darwin.
Using GA’s to Solve Problems
Chapter 14 Genetic Algorithms.
USING MICROBIAL GENETIC ALGORITHM TO SOLVE CARD SPLITTING PROBLEM.
Balancing of Parallel Two-Sided Assembly Lines via a GA based Approach
Traffic Simulator Calibration
Resource Allocation in Heterogeneous Computing Systems
Genetic Algorithms CPSC 212 Spring 2004.
CS621: Artificial Intelligence
Add Heuristic a b C D E Switch Cost
Presentation transcript:

What the senior design students have been doing By Chris Klumph and Kody Willman

Resource allocation in a MMOG in a massive multiplayer online game (MMOG) multiple users are simultaneously connected at any given time. this is a heterogeneous system ▫varying computer capacity ▫varying communication times implementing static resource allocation heuristics for this type of heterogeneous system is what the senior design students are doing.

For this problem Chris has worked on Kody has worked on Genitor heuristic Min-Min heuristic

Previously implemented GA Overview GA_matching_scheduling() { initial population generation; evaluation; while(stopping criteria not met) { selection; crossover; mutation; evaluation; } output best solution found; } population of 200 players by 100 chromosomes evaluation using Min-Min stopping criteria of 1000 iterations or no change in solution two parent selection by 50 times each iteration to generate new population two point crossover 1%-3% chance of mutation output best solution

GA Original initial population generation ▫1-Secondary Server ▫0-Player evaluation ▫Min-Min while stopping criteria not met chromosome player

GA original Chromo- some player selection crossover ▫two point chromosome player Swap the 3-6 portion chromosome player Point 1 Point 2

GA original mutation evaluation ▫Min-Min chromosome 10 101 Randomly Swap numbers

GA original chrom osome player output best solution chrom osome player however this solution does not guarantee the optimal solution is even considered therefore we decided to remake it

New: Genitor GA initial population generation ▫-2 – connected to main server(MS) as a player ▫-1 – a secondary server(SS) ▫1-8 – connected to that SS evaluation ▫solve each line by giving Rank(R) while stopping criteria not met Rank # Player #

selection crossover ▫two point R swap the 3-6 portion R Point 1Point 2 Genitor GA R#R# Player #

fixing – line not always valid Genitor GA R in each line do the players match up with the actual SS? randomly assign the players to the known SS or randomly make new SS R R#R# Player #

mutation fixing – line not always valid evaluation ▫solve each line Randomly Swap numbers Evaluate rank, then sort into mapping Genitor GA R R R#R# Player #

drop lowest ranking repeat until criteria are met output best solution at location Rank 1 Genitor GA P# R R#R# Player # Questions?

Min-Min Overview considering all unmapped tasks while(there are unmapped tasks) { find task with overall minimum completion time; assign task to corresponding machine; update machines and completion times; } ours involves 200 players or tasks run a Min-Min run Phase1 run Phase2 compare completion times output best solution

Min-Min no players connected to MS, only SS 3 types of players ▫SS – Secondary Servers ▫MP – Mapped player ▫UP – Unmapped player P# TypeUP P# TypeMPSSMP SS MP find minimum connection time connect update repeat for all unmapped players

Min-Min Phase1 P# TypeUP start with all users unmapped randomly pick k users (between 1-10) to be initial SS finish the mapping with the Min-Min heuristic P# TypeUP SSUP SSUP SS P# TypeMP SSMP SSMP SS

find the user with the largest round trip time if user is SS ▫no players connected ▫remap as player with better connection time if user is MP ▫remap as player to different SS with better connection time or ▫remap as SS with better connection time repeat for 1000 iterations or no update Min-Min Phase1 P# TypeMP SSMP SSMP SS P# TypeMPSSMPSSMP SSMP SS

start with the end mapping from Phase1 find the user with the largest round trip time if user is SS ▫means no players connected ▫consider swapping user in as its SS and making it a player with better overall connection time or ▫consider swapping with all other SS with smaller overall round trip time Min-Min Phase2 P# TypeMPSSMPSSMP SSMP SS P# TypeMPSSMPSSMP SSMP SS

if user is MP ▫consider swapping this user with all other non-SS users ▫always keep smallest overall round trip time repeat 1000 iterations or no improvement output best solution Min-Min Phase2 P# TypeMPSSMPSSMP SSMP SS Questions?