Study Notes on genetic algorithm and direct search toolbox-Overview

Source: Internet
Author: User

This series records my learning geneticsAlgorithmFirst, declare that the MATLAB version I use is 2009b. The corresponding version of this Toolkit isVersion 2.4.2. No matter what new features or features this version has, it seems that these things are not very important to me and how to use them. Here we will introduce the version to avoid unexpected results when some friends are running this series of examples. If there are errors or unexpected results, check whether your version is 2.4.2.

The toolkit mainly includes three optimization algorithms: Genetic Algorithm tools, direct search tools, and simulated annealing algorithm tools.

Product Overview:

This toolbox mainly extends the optimization toolbox function in MATLAB, genetic algorithm and direct search Toolbox (hereinafter referred to as Genetic Algorithm Toolbox) the expansion of the optimization toolkit is mainly reflected in the following three methods: 1. genetic algorithm; 2. search directly; 3. simulated Annealing Algorithm. These three methods allow you to solve many problems that the original Optimization Algorithm Toolbox cannot solve.

All functions in this toolbox are in the form of M files of MATLAB (if you do not know what m files are, you should add the knowledge of MATLAB, if you want to viewSource codeYou can use the following two methods.

Method 1: Use the command type funcname (function name). For example, you want to see the source of the GA function.Code, You can use the type ga command to view. The code of the function is displayed in the Command window.

Method 2: run the edit funcname command. For example, you can run the edit ga command to view the source code of the GA function. This command will open the source file of the function in the MATLAB editor window.

Of course, you can expand the functions of the original functions in this file to form your own M file, so that you can create a toolbox for yourself, you can name it the Lee's Genetic Algorithm Toolbox. Haha

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.