Biologically Inspired Computing- Optimisation.ppt
《Biologically Inspired Computing- Optimisation.ppt》由会员分享,可在线阅读,更多相关《Biologically Inspired Computing- Optimisation.ppt(30页珍藏版)》请在麦多课文档分享上搜索。
1、Biologically Inspired Computing: Optimisation,This is mandatory additional material for Biologically Inspired Computing Contents: Optimisation; hard problems and easy problems; computational complexity; trial and error search;,This Material,A formal statement about optimisation, and explanation of t
2、he close relationship with classification.About optimisation problems: formal notions for hard problems and easy ones.Formal notions about optimisation algorithms: exact algorithms and approximate algorithms.The status of EAs (and other bio-inspired optimisation algorithms) in this context.The class
3、ical computing alternatives to EAs,What to take from this material:,A clear understanding of what an optimisation problem is, and an appreciation of how classification problems are also optimisation problems What it means, technically, for an optimisation problem to be hard or easy What it means, te
4、chnically, for an optimisation algorithm to be exact or approximate What kinds of algorithms, technically speaking, EAs are. An appreciation of non-EA techniques for optimisation A basic understanding of when an EA might be applicable to a problem, and when it might not.,Search and Optimisation,Imag
5、ine we have 4 items as follows: (item 1: 20kg; item2: 75kg; item 3: 60kg, item4: 35kg) Suppose we want to find the subset of items with highest total weight,Here is a standard treatment of this as an optimisation problem. The set S of all possible solutions is indicated above, The fitness of a solut
6、ion s is the function total_weight(s) We can solve the problem (I.e. find the fittest s) by working out the fitness of each one in turn. But any thoughts? I mean, how hard is this?,0000 0100 1000 1100 0001 0101 1001 1101 0010 0110 1010 1110 0011 0111 1011 1111,Of course, this problem is much easier
7、to solve than that. We already know that 1111 has to be the best solution. We can prove, mathematically, that any problem of the form “find heaviest subset of a set of k things”, is solved by the “all of them” subset, as long as each thing has positive weight. In general, some problems are easy in t
8、his sense, in that there is an easily provable way to construct an optimal solution. Sometimes it is less obvious than in this case though.,Search and Optimisation,In general, optimisation means that you are trying to find the best solution you can (usually in a short time) to a given problem.,S,s1,
9、s2,s3,We always have a set S of all possiblesolutions,In realistic problems, S is too large to search one by one. So we need to find some other way to search through S.One way is random search. E.g. in a 500-iteration random search, we might randomly choose something in S and evaluate its fitness, r
10、epeating that 500 times.,The Fitness function,Every candidate solution s in the set of all solutions S can be given a score, or a “fitness”, by a so-called fitness function. We usually write f(s) to indicate the fitness of solution s. Obviously, we want to find the s in S which has the best score.Ex
11、amplestimetabling: f could be no. of clashes.wing design: f could be aerodynamic dragdelivery schedule f will be total distance travelled,An Aside about Classification,In a classification problem, we have a set of things to classify, and a number of possible classes. To classify s we use an algorith
12、m called a classifier. So, classifier(s) gives us a class label for s. We can assign a fitness value to a classifier this can be simply the percentage of examples it gets right. In finding a good classifier, we are solving the following optimisation problem: Search a space of classifiers, and find t
13、he one that gives the best accuracy. E.g. the classifier might be a neural network, and we may use an EA to evolve the NN with the best connection weights.,Searching through S,When S is small (e.g. 10, 100, or only 1,000,000 or so items), we can simply do so-called exhaustive search.Exhaustive searc
14、h: Generate every possible solution, work out its fitness, and hence discover which is best (or which set share the best fitness)This is also called Enumeration,However ,In all interesting/important cases, S is much much much too large for exhaustive search (ever). There are two kinds of too-big pro
15、blem:easy (or tractable, or in P)hard (or intractable, or not known to be in P) There are rigorous mathematical definitions of the two types thats what the P is about it stands for the class of problems that can be solved by a deterministic polynomial Turing machine. Thats outside the scope of this
16、module. But, whats important for you to know is that almost all important problems are technically hard.,About Optimisation Problems,To solve a problem means to find an optimal solution. I.e. to deliver an element of s whose fitness is guaranteed to be the best in S.An Exact algorithm is one which c
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
2000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- BIOLOGICALLYINSPIREDCOMPUTINGOPTIMISATIONPPT
