lyneth
Uploaded by
11 SLIDES
308 VIEWS
120LIKES

A Simple Genetic Algorithm for Function Optimization

DESCRIPTION

This research investigates the application of Genetic Algorithms (GA) as a powerful soft computing technique for function optimization. Unlike traditional hard computing methods, GA offers fast convergence and the ability to escape local optima. The study outlines the implementation of GA through a comprehensive flowchart, detailing steps of initialization, selection, crossover, and mutation. Key components include encoding, fitness evaluation, roulette wheel selection, and a one-point crossover mechanism. Results demonstrate the effectiveness of GA in optimizing complex functions and highlight its advantages over conventional methods.

1 / 11

Download Presentation

A Simple Genetic Algorithm for Function Optimization

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. A Simple Genetic Algorithm for Function Optimization

  2. Motivation • Genetic algorithm(GA) is a soft computing technique • It is said that • GA is fast • GA can escape from local optimum • In our research, we mainly deal with hard computing (e.g. Branch and bound), we want to see the power of soft computing.

  3. GA Flowchart START Initialization Selection Crossover Mutation No STOP? Yes END

  4. Implementation • Encode • Decode

  5. Implementation • Initialization • Use same encoding length for each variable • Randomly generate a population matrix (rand) • Round to nearest integer (round)

  6. Implementation • Selection • Use objective value to measure fitness • Normalize fitness and use roulette wheel selection technique to select population for next generation • Keep the best individual to next generation

  7. Implementation • Crossover • One-point Crossover Sourse: http://legacy.owensboro.kctcs.edu/gcaplan/anat2/notes/APIINotes2%20meiosis.htm

  8. Implementation • Mutation • Bit String Mutation Sourse: http://www.ucl.ac.uk/~sjjgsca/DNAmutation.html

  9. Settings • setting.txt

  10. Results • Function

  11. Results

More Related