Goldberg, D. E. (1989). Genetic algorithms in search, optimization, and machine learning. Reading, MA:



Similar documents
Architecture bits. (Chromosome) (Evolved chromosome) Downloading. Downloading PLD. GA operation Architecture bits

A Robust Method for Solving Transcendental Equations

Alpha Cut based Novel Selection for Genetic Algorithm

Genetic Algorithms commonly used selection, replacement, and variation operators Fernando Lobo University of Algarve

Non-Uniform Mapping in Binary-Coded Genetic Algorithms

Introduction To Genetic Algorithms

Genetic algorithms for changing environments

A Non-Linear Schema Theorem for Genetic Algorithms

Prediction of Software Development Modication Eort Enhanced by a Genetic Algorithm

Asexual Versus Sexual Reproduction in Genetic Algorithms 1

Numerical Research on Distributed Genetic Algorithm with Redundant

Comparison of Major Domination Schemes for Diploid Binary Genetic Algorithms in Dynamic Environments

Evolutionary Detection of Rules for Text Categorization. Application to Spam Filtering

Evolutionary SAT Solver (ESS)

An intelligent stock trading decision support system through integration of genetic algorithm based fuzzy neural network and articial neural network

College of information technology Department of software

Memory Allocation Technique for Segregated Free List Based on Genetic Algorithm

Holland s GA Schema Theorem

ISSN: ISO 9001:2008 Certified International Journal of Engineering Science and Innovative Technology (IJESIT) Volume 2, Issue 3, May 2013

The Influence of Binary Representations of Integers on the Performance of Selectorecombinative Genetic Algorithms

Empirically Identifying the Best Genetic Algorithm for Covering Array Generation

Lab 4: 26 th March Exercise 1: Evolutionary algorithms


Restart Scheduling for Genetic Algorithms

Integration of a fin experiment into the undergraduate heat transfer laboratory

The Lindsey-Fox Algorithm for Factoring Polynomials

CHAPTER 6 GENETIC ALGORITHM OPTIMIZED FUZZY CONTROLLED MOBILE ROBOT

D A T A M I N I N G C L A S S I F I C A T I O N

Topology-based network security

Multiobjective Multicast Routing Algorithm

A Service Revenue-oriented Task Scheduling Model of Cloud Computing

Introduction to Logistic Regression

A Fast Computational Genetic Algorithm for Economic Load Dispatch

New binary representation in Genetic Algorithms for solving TSP by mapping permutations to a list of ordered numbers

Learning in Abstract Memory Schemes for Dynamic Optimization

Genetic Algorithm Performance with Different Selection Strategies in Solving TSP

GA as a Data Optimization Tool for Predictive Analytics

1. Introduction MINING AND TRACKING EVOLVING WEB USER TRENDS FROM LARGE WEB SERVER LOGS. Basheer Hawwash and Olfa Nasraoui

On closed-form solutions of a resource allocation problem in parallel funding of R&D projects

CHAPTER 3 SECURITY CONSTRAINED OPTIMAL SHORT-TERM HYDROTHERMAL SCHEDULING

A Parallel Processor for Distributed Genetic Algorithm with Redundant Binary Number

A Comparison of Genotype Representations to Acquire Stock Trading Strategy Using Genetic Algorithms

Outline. 1 Denitions. 2 Principles. 4 Implementation and Evaluation. 5 Debugging. 6 References

Management Science Letters

A Genetic Algorithm Processor Based on Redundant Binary Numbers (GAPBRBN)

CTI TECHNICAL BULLETIN Number 9: A publication of the Cable Tray Institute

An evolutionary learning spam filter system

Evaluation of Different Task Scheduling Policies in Multi-Core Systems with Reconfigurable Hardware

Comparison of algorithms for automated university scheduling

Clustering and scheduling maintenance tasks over time

The Goldberg Rao Algorithm for the Maximum Flow Problem

APPLICATION OF ADVANCED SEARCH- METHODS FOR AUTOMOTIVE DATA-BUS SYSTEM SIGNAL INTEGRITY OPTIMIZATION

Beware of Simplistic Voltage Drop Calculations. By Aaron Hesse, PE, Coffman Engineers, Spokane, Washington INTRODUCTION

A Fast and Elitist Multiobjective Genetic Algorithm: NSGA-II

Scaling 10Gb/s Clustering at Wire-Speed

Volume 3, Issue 2, February 2015 International Journal of Advance Research in Computer Science and Management Studies

Path Selection Methods for Localized Quality of Service Routing

Model-based Parameter Optimization of an Engine Control Unit using Genetic Algorithms

Make Better Decisions with Optimization

Overview. Swarms in nature. Fish, birds, ants, termites, Introduction to swarm intelligence principles Particle Swarm Optimization (PSO)

A Multi-objective Genetic Algorithm for Employee Scheduling

New Modifications of Selection Operator in Genetic Algorithms for the Traveling Salesman Problem

Combinatorial PCPs with ecient veriers

Chapter 6: The Information Function 129. CHAPTER 7 Test Calibration

A Framework for Genetic Algorithms in Games

Thesis work and research project

Software development process

International Journal of Software and Web Sciences (IJSWS)

TRAFFIC ENGINEERING OF DISTRIBUTED CALL CENTERS: NOT AS STRAIGHT FORWARD AS IT MAY SEEM. M. J. Fischer D. A. Garbin A. Gharakhanian D. M.

Effect of Using Neural Networks in GA-Based School Timetabling

Introduction to Machine Learning and Data Mining. Prof. Dr. Igor Trajkovski

Local-Area Network -LAN

Electric Distribution Network Multi objective Design Using Problem Specific Genetic Algorithm

Chapter 12 Modal Decomposition of State-Space Models 12.1 Introduction The solutions obtained in previous chapters, whether in time domain or transfor

Information Theory and Coding Prof. S. N. Merchant Department of Electrical Engineering Indian Institute of Technology, Bombay

CLOUD DATABASE ROUTE SCHEDULING USING COMBANATION OF PARTICLE SWARM OPTIMIZATION AND GENETIC ALGORITHM

Abstract: In this paper, we describe our experience in developing. parallel implementations for the Bin Packing problem.

A Brief Study of the Nurse Scheduling Problem (NSP)

programming languages, programming language standards and compiler validation

The Basics of Graphical Models

Estimation of the COCOMO Model Parameters Using Genetic Algorithms for NASA Software Projects

Multi-channel Marketing

FACT-FINDING STUDY ON POWERING OVER DATA CABLES. Anthony Tassone Principal Engineer Wire & Cable, Commercial & Industrial

Transcription:

is another objective that the GA could optimize. The approach used here is also adaptable. On any particular project, the designer can congure the GA to focus on optimizing certain constraints (such as cable costs and raceway ll) at the expense of others (such as cable weight violations that may be corrected by extra supports). By setting the constraint weights, the designer is essentially customizing the GA to optimize pertinent constraints appropriately. In closing, it is clear there exists a need for optimizing and automating the task of routing a large number of cables within a raceway system. Designers would like to optimize multiple routing constraints simultaneously. Experiments indicate that a genetic algorithm is one approach that can ll this need. A GA can simultaneously route a number of cables optimizing cable cost, voltage drop, raceway and cable weight violations based on the importance of each constraint in the desired solution. It is possible to extend this optimization approach to consider many other constraints as well. The GA optimization is much more ecient and cost eective than the current cable routing method. References Earley, M. W., Murray, R. H., Caloggero, J. M., & O'Connor, J. A. (1993). National electric code handbook 1993. Quincy, MA: National Fire Protection Association. Goldberg, D. E. (1989). Genetic algorithms in search, optimization, and machine learning. Reading, MA: Addison{Wesley. Goldberg, D. E., & Deb, K. (1990). A comparative analysis of selection schemes used in genetic algorithms (TCGA Report No. 90007). Tuscaloosa: The University of Alabama, The Clearinghouse for Genetic Algorithms. Holland, J. H. (1975). Adaptation in natural and articial systems. Ann Arbor: The University of Michigan Press. Intergraph (1993). Electrical engineering cable management system (EECms). Marketing Document DDAEC94A0. Ruhlen, L. H., & Shire, P. R. (1967). Optimal circuit routing by dynamic programming. In Proceedings of the Power Industrial Computer Applications Conference (PICA), 291{301. Smith, R. E., Goldberg, D. E., & Earickson, J. (1991). SGA-C: A C-language implementation of a simple genetic algorithm (TCGA Report No. 91002). Tuscaloosa: University of Alabama, The Clearinghouse for Genetic Algorithms. 8

350 340 330 320 310 300 Figure 3 Generation Average Best Figure 3: Results on test set A, w1 = w2 =1:0;w3 =1:0;w4 =0. F igure 4 20 15 10 5 0 2000 1500 1000 500 0 Generation Overfilled Overweight Voltage Violations Cable Cost Figure 4: Results on test set B, w1 =0:1;w2 =1:0;w3 =1:0;w4 =0:5. 7

Figure 2 350 340 330 320 310 300 Average Best Generation Figure 2: Results on test set A, w1 = w2 =1:0;w3 = w4 =0. cost solution as shown in Figure 3. Test set B was designed to challenge the GA. Cables were selected such that it was extremely dicult or impossible to keep from overlling and overweighing some raceway sections, regardless of the cable conguration. This forces the GA to minimize these two violations even if it cannot eliminate them. The GA must also maintain suciently low voltage drop levels for all cables. Finally, the GA must minimize overall cable cost, but not at the expense of the other constraints. Keep in mind that optimizing these four constraints may be both conicting (minimizing cable cost may increase ll violations) and cooperative (minimizing cable cost tends to reduce voltage violations, since both relate to cable length). Therefore, the constraint weights must be set carefully. The most important task is minimizing the number of overlled and overweight raceway sections. Minimizing voltage drop violations is not quite as important, and minimizing cable cost is least important. It is not desirable for the GA to favor inexpensive congurations that violate other constraints. Constraint weights were set to reect this desire: w1 =0:1;w2 =1:0;w3 =1:0 andw4 =0:5. Figure 4 shows the results of this experiment. The average number of overlled and overweight section violations converges to 1.6 and 2.8 segments respectively. The average total cable cost converges to $1233.60, and the number of cables that violate the legal voltage drop levels always converges to zero. The best solution found in terms of both overweight and overll violations has 1 ll violation and 2 weight violations, with a total cable cost of $1304.07. The best solution in terms of total cable cost converges to a price of $1116.37 and a total of 1 overll and 4 overweight violations. Conclusions The GA approach to bulk cable routing has several advantages, including eciency. Experiments show that the GA can search through the large, complex space of routing congurations and nd near optimalcongurations in a relatively short time. For large projects, generating cable route schedules using the current method can take on the order of man years. The GA can reduce that time to an order of man hours or days, potentially yielding signicant savings in the design phase. The GA solution presented is also expandable. In addition to the cable cost, ll, weight and voltage objectives implemented here, one can consider other objectives in the GA tness evaluation. Excessive heat dissipation within a raceway section may cause a decrease in the cable ampacity, therefore requiring derating. One could minimize the number of cables that require derating due to heat dissipation in the search, through the addition of another weighted tness component. The total cost due to power loss over a period of time 6

380 360 340 320 300 280 Figure 1 Generation Average Best Figure 1: Results on test set A, w1 =1:0;w j =0:0;j >1. mating pool through selection, one must perform genetic operations on each prospective population member. This implementation uses crossover probability p c =0:95, mutation probabilityp m =0:005, and a population size of 100. The next section discusses experimental results from this implementation. Results The GA bulk cable routing implementation was tested on two data sets, test set A and test set B. The EE Raceway design les for these data sets contain 20 pieces of electrical equipment and consist of roughly 1000 feet of cable tray and conduit. The EE Cms cable data sets contain 10 and 60 cables, respectively. Test set A is relatively simple with eight potential routes for each cable. In test set B, each cable has 12 to 34 potential routes between various pieces of equipment. The cheapest possible conguration for the cables in test set B is $928.25, and the most expensive is $3399.34. These test sets require 30 and 297 bits respectively to represent a routing conguration. Raceway and cable attributes were selected for the purpose of exploring any deciencies or advantages of the GA approach. The rst experiment used test set A to see how the GA optimizes the cable cost constraint exclusively. Ideally, one wants all cables to route through their shortest paths to minimize the total cost. Constraint weights were congured to ignore all constraint tness values except cable cost (w1 =1:0;w j =0:0;j >1). Each cable has a dierent price per unit length, and the cheapest possible routing conguration costs $309.11. Figure 1 shows the average and best cost of 10 runs. On this set of data, the GA converges towards near optimal cable cost congurations after about 15 generations. This experiment indicates that the GA can indeed work toward an optimal solution based solely on cable cost. However, optimizing cable cost alone is easy to do without the help of the GA. How does it work when one adds weight to the other constraints and the optimal solution is less obvious? The next experiment used the same data set with constraint weights congured to optimize both cable cost and overlled raceway (w1 = w2 =1:0;w3 = w4 = 0). Cable costs and diameters are equal to those from the previous experiment. The ll rules assigned to the raceway sections allow no more than eight cables in any tray, otherwise there will be a ll violation. To avoid ll violations, one would expect the GA to reroute two of the cheaper cables through non-optimal routes allowing the more expensive cable to lie in their shortest paths. The results of these experiments are shown in Figure 2. The GA successfully avoided overlling any raceway as it converged towards the optimal cable cost conguration of $310.85 after 23 generations. The overweight raceway constraint was then increased (w3 = 1:0) and the raceway parameters were set such that any more than seven cables in a raceway violate the weight constraint. The GA avoided violating the ll and weight constraints in any of the raceway sections and converged toward the optimal 5

Language) on an Intergraph 3000 Series workstation. The GA is based on a variation of SGA-C (Smith, Goldberg, & Earickson, 1991). The cables, raceway and potential routes are generated with portions of Intergraph's Electrical Engineer Cable Management System (EE Cms) and Electrical Engineer Raceway (EE Raceway) products (Intergraph, 1993). Implementation It is possible to route an arbitrary cable c i through the raceway topology in w i dierent ways. One can generate the cable routes for the set of all cables C(c i 2 C) using one of several approaches, such as dynamic programming (Ruhlen & Shire, 1967) or breadth rst search. This implementation uses the EE Cms (Intergraph, 1993) modied breadth rst search to generate potential routes to all R cables. Routes for cable c i are denoted R ci (j) and are sorted in ascending order by route length, such that R ci (1) is a shortest route and R ci (w i ) is the longest. Assume that for all cables there is some sucient value p i =2 k i such that any route longer R ci (p i ) is unacceptable. Using this assumption, the limit w i is transformed to v i by the function v i = min(w i ;p i ) for all cables. The limitation to p i potential routes denes an upper bound on the GA chromosome length, and narrows the search space by eliminating unlikely solutions. Each chromosome contains n binary encoded routes, one for each cable. An individual chromosome is therefore an instance of all cables routed on some conguration. Each chromosome requires at most nk bits. To illustrate the magnitude of the search space, note that the number of dierent routing congurations encoded is 0(2 nk ). This application uses binary tournament selection as its selection scheme (Goldberg & Deb, 1990). Singlepoint crossover is employed for recombination and point mutation is used. To determine the tness of an individual, one must clearly dene what is to be optimized. The goal is to optimize the routing objectives simultaneously. The following equations describe quality metrics for each objective: Cost: Overll: Weight: Voltage Drop: nx g1(x) = cost(r ci (x)) i=1 mx g2(x) = overll(j) j=1 mx g3(x) = overweight(j) j=1 nx g4(x) = voltage(i) i=1 where n is the number of cables and m is the number of raceway segments. Note that one can insert additional quality metrics. The functions overll, overweight, and voltage equal one if the corresponding constraint is violated, zero otherwise. This is a rather severe constraint function, but it seems eective in this application. One should minimize the overll, overweight and voltage drop objective functions if one is unable to eliminate them. Any violations will generally require some redesign of the raceway, either through creating additional paths in the topology or adjusting raceway attributes. Minimizing the number of violations in the routing conguration reduces the amount of time spent altering the raceway to overcome those violations. The primary goal is to minimize the objective cost functions g i simultaneously. A GA typically maximizes one overall tness function. Each objective is mapped to a corresponding non-negative tness function component, f j. Each component is re-scaled to the zero to one range. These components are assigned weights, user-speciable w j. The weighted combination is used as the tness function. The weight indicates a scale of importance of one routing constraint over another. The objective function has now been converted into a normalized tness function, f(x). Once one evaluates tness and generates a 4

environments. Therefore, the designer must select a routing conguration that eliminates overlled raceway in his design. Accomplishing this may require adding or resizing some raceway sections. Cable Weight: The designer must consider the total weight of the cables within a span of raceway. Each raceway section is strong enough to support a maximum cable weight. The designer must either resize an overweight raceway section or reroute some of the cables within it. Designers want to eliminate overweight raceway sections. Voltage Drop: The voltage drop of a cable is the dierence between the voltages at the transmitting and receiving ends of a cable. Voltage drop is directly proportional to cable length and inversely proportional to cable cross-sectional area. Voltage drop that does not fall within a given range requires an increased cable diameter. A designer would like to nd a routing conguration which will maintain a legal voltage drop level for all cables. One can quantify each of these constraints and objectives into quality metrics. A combination of these quality metrics indicates the suitability of one routing conguration over another. The importance in minimizing each of these constraints varies on the type of project. In low budget projects, minimizing the total cable cost may be of greatest importance. In nuclear projects, minimizing total cable cost is less important than eliminating raceway ll violations. In essence, based on the type of application, each constraint possesses a weight proportional to optimization importance. There may be many dierent congurations that are acceptable to the designer. For instance, one generally prefers congurations that minimize (or eliminate if possible) the overlled and overweight raceway sections and still keep the total cable cost low. Of these preferred congurations, one may consider those that preserve adequate voltage levels to be superior. The current cable routing method involves selecting and modifying routes individually until the designer satises the routing objectives suciently. A designer may route all cables through shortest paths, review raceway sections and cables that cause constraint violations, and modify those routes through iteration. This can be a long laborious process. Even if the average time per cable route (cable denition, routing, reviewing, modifying) is a few minutes, large projects take thousands of man hours to complete. Moreover, this process may overlook opportunities for potentially better solutions. The main problem with this method is that it is dicult and time consuming to determine routing congurations that optimize all objectives appropriately. It is unreasonable to evaluate all (or even nearly all) possible routing congurations and select the best as it would require a massive amount of search time. The search space also contains many groups of congurations that tend to be better than others, but are not optimal. One must select a search technique that avoids local minima in a large, convoluted, ill-conditioned search space. The Genetic Algorithm A genetic algorithm (GA) is a procedure that is well suited to ill-conditioned optimization and search problems where near optimal solutions are sucient (Holland, 1975). The GA approaches near optimal solutions in a much more ecient manner than the exhaustive search. GAs can greatly improve the cable routing method by searching for near optimal routing congurations. The genetic algorithm uses the basic theory of natural selection and recombination as a model, and extracts concepts from genetic evolution and adaptation. The GA is essentially oblivious to the problem itself, but it knows how to search for good solutions by treating the problem as a black-box. The GA evolves a population of strings (chromosomes) over a number of generations with the intent of producing better strings. These strings represent encodings of problem parameters. A collection of genetic operators, typically selection, recombination, and mutation, drive evolution in a manner similar to those mechanisms found in natural systems. The strength behind the GA comes from its ability to examine numerous similar characteristics, or schemata, between population members simultaneously. The GA is able to identify highly t, low order schemata and use them as building blocks. Future generations receive exponentially increasing numbers of these building blocks. Building blocks may combine to create: larger building blocks of high tness. The high degree of computational leverage derived from the building block hypothesis is called implicit parallelism. A thorough review of GAs is given by Goldberg (1989). The sections that follow discuss a GA implementation that harnesses the power of implicit parallelism to improve on typical cable routing methods. The solution is written in MDL (Microstation Development 3

BULK CABLE ROUTING USING GENETIC ALGORITHMS David A. Kloske Intergraph Corporation Huntsville, Alabama Email: dakloske@ingr.com Robert E. Smith Department of Engineering Science and Mechanics The University of Alabama Tuscaloosa, Alabama Email: rob@comec4.mh.ua.edu March 22, 1994 Abstract In large electrical plant design projects, electrical engineers spend a great deal of time planning physical routes of cables through a facility. Nuclear power plants generally require routing in excess of 10,000 cables through complicated raceway networks. Electrical designers may select a particular cable route based on a number of constraints and requirements. The time involved in the overall cable routing method is not trivial for a large number of cables. To help streamline this method, a genetic algorithm (GA) can optimize multiple cable routes simultaneously based on a variety of objectives. A designer can specify the relative importance of each objective. This could save a designer signicant design time and expense. The GA solution presented is ecient, expandable and adaptable. A designer can customize the GA to t the needs of the routing project. Introduction In large electrical plant design projects, electrical engineers spend a great deal of time planning physical routes of cables through a facility. Nuclear power plants generally require routing in excess of 10,000 cables through complicated raceway networks. It is possible to route n cables in many dierent congurations through m raceway sections. Some of these congurations are better than others. The electrical designer considers many objectives and constraints. Some typical routing objectives and constraints are: Total Cable Cost: All designers want to minimize the total cable cost, which includes price per unit length of cable and installation cost. The designer could minimize this cost by routing each cable through the shortest path. However, the designer must also consider other objectives and constraints. If the shortest path for a group of cables fails to satisfy another objective, it is preferable to reroute the cheaper cables through longer routes, leaving the more expensive cables in place. Raceway Overll: A raceway can physically contain a certain amount of cable. In addition, electrical projects generally follow a standard set of electrical codes, such as NEC (Early, Murray, Caloggero, & O'Connor, 1993), which dictate guidelines for placing cables into the raceway. These codes specify which type of cable is stackable and which must be placed in a single layer. They also specify the maximum number of cables allowed in a raceway based on the dimension and rating of the raceway and of the cables. An overlled raceway section is one found in violation of the ll rules. Observance of these rules is often mandatory for both insurance and legal reasons, especially in highly sensitive To appear in The Proceedings of The Seventh International Conference on Industrial and Engineering Applications of Articial Intelligence and Expert Systems. 2

BULK CABLE ROUTING USING GENETIC ALGORITHMS by David A. Kloske and Robert E. Smith TCGA Report No. 94001 March 22, 1994 The Clearinghouse for Genetic Algorithms The University of Alabama Department of Engineering Science and Mechanics Tuscaloosa, AL 35487