Christoph F. Eick: Using EC to Solve Transportation Problems Transportation Problems.

Slides:



Advertisements
Similar presentations
© Negnevitsky, Pearson Education, Lecture 12 Hybrid intelligent systems: Evolutionary neural networks and fuzzy evolutionary systems Introduction.
Advertisements

Crew Pairing Optimization with Genetic Algorithms
Load Balancing Parallel Applications on Heterogeneous Platforms.
Local Search Algorithms
Chapter Matrices Matrix Arithmetic
Transportation Problem (TP) and Assignment Problem (AP)
1 Transportation problem The transportation problem seeks the determination of a minimum cost transportation plan for a single commodity from a number.
Genetic Algorithms By: Anna Scheuler and Aaron Smittle.
Experimental Design, Response Surface Analysis, and Optimization
1 Transportation Problems Transportation is considered as a “special case” of LP Reasons? –it can be formulated using LP technique so is its solution (to.
Content Based Image Clustering and Image Retrieval Using Multiple Instance Learning Using Multiple Instance Learning Xin Chen Advisor: Chengcui Zhang Department.
1 Lecture 8: Genetic Algorithms Contents : Miming nature The steps of the algorithm –Coosing parents –Reproduction –Mutation Deeper in GA –Stochastic Universal.
Branch and Bound Similar to backtracking in generating a search tree and looking for one or more solutions Different in that the “objective” is constrained.
COMP305. Part II. Genetic Algorithms. Genetic Algorithms.
CSE 830: Design and Theory of Algorithms
Reporter : Mac Date : Multi-Start Method Rafael Marti.
Iterative Improvement Algorithms
Transportation Models Transportation problem is about distribution of goods and services from several supply locations to several demand locations. Transportation.
COMP305. Part II. Genetic Algorithms. Genetic Algorithms.
Intro to AI Genetic Algorithm Ruth Bergman Fall 2002.
Incomplete Block Designs
Brandon Andrews.  What are genetic algorithms?  3 steps  Applications to Bioinformatics.
Christoph F. Eick: Applying EC to TSP(n) Example: Applying EC to the TSP Problem  Given: n cities including the cost of getting from on city to the other.
Genetic Programming.
Ranga Rodrigo April 6, 2014 Most of the sides are from the Matlab tutorial. 1.
Genetic Algorithm.
Efficient Model Selection for Support Vector Machines
Slides are based on Negnevitsky, Pearson Education, Lecture 12 Hybrid intelligent systems: Evolutionary neural networks and fuzzy evolutionary systems.
1 Local search and optimization Local search= use single current state and move to neighboring states. Advantages: –Use very little memory –Find often.
Solving the Concave Cost Supply Scheduling Problem Xia Wang, Univ. of Maryland Bruce Golden, Univ. of Maryland Edward Wasil, American Univ. Presented at.
Chapter 7 Handling Constraints
Optimization Problems - Optimization: In the real world, there are many problems (e.g. Traveling Salesman Problem, Playing Chess ) that have numerous possible.
Optimal resource assignment to maximize multistate network reliability for a computer network Yi-Kuei Lin, Cheng-Ta Yeh Advisor : Professor Frank Y. S.
Christoph F. Eick: Applications of GAs Ideas for the Transportation Problem  Although the textbook’s initialization procedure has some flaws (which?),
Applying Genetic Algorithm to the Knapsack Problem Qi Su ECE 539 Spring 2001 Course Project.
Fuzzy Genetic Algorithm
Genetic Algorithms Introduction Advanced. Simple Genetic Algorithms: Introduction What is it? In a Nutshell References The Pseudo Code Illustrations Applications.
Christoph F. Eick: Using EC to Solve Transportation Problems On Initialization and Mutation 1.Values t ij have to be between 0 and min(source(i),distination(j))
Exact and heuristics algorithms
Applications of Genetic Algorithms TJHSST Computer Systems Lab By Mary Linnell.
1 Network Models Transportation Problem (TP) Distributing any commodity from any group of supply centers, called sources, to any group of receiving.
Introduction to Genetic Algorithms. Genetic Algorithms We’ve covered enough material that we can write programs that use genetic algorithms! –More advanced.
Tetris Agent Optimization Using Harmony Search Algorithm
Genetic Algorithms What is a GA Terms and definitions Basic algorithm.
Biologically inspired algorithms BY: Andy Garrett YE Ziyu.
Chapter 2-OPTIMIZATION G.Anuradha. Contents Derivative-based Optimization –Descent Methods –The Method of Steepest Descent –Classical Newton’s Method.
N- Queens Solution with Genetic Algorithm By Mohammad A. Ismael.
Genetic Algorithm Dr. Md. Al-amin Bhuiyan Professor, Dept. of CSE Jahangirnagar University.
Selection and Recombination Temi avanzati di Intelligenza Artificiale - Lecture 4 Prof. Vincenzo Cutello Department of Mathematics and Computer Science.
Ch. Eick: Num. Optimization with GAs Numerical Optimization General Framework: objective function f(x 1,...,x n ) to be minimized or maximized constraints:
Artificial Intelligence By Mr. Ejaz CIIT Sahiwal Evolutionary Computation.
1 Comparative Study of two Genetic Algorithms Based Task Allocation Models in Distributed Computing System Oğuzhan TAŞ 2005.
Christoph F. Eick: Thoughts on Designing Michigan-style Classifier Systems Thoughts on Selection Methods in Michigan-style Classifier Systems  When solving.
Advanced AI – Session 6 Genetic Algorithm By: H.Nematzadeh.
Genetic Algorithm(GA)
Constraints Satisfaction Edmondo Trentin, DIISM. Constraint Satisfaction Problems: Local Search In many optimization problems, the path to the goal is.
Local search algorithms In many optimization problems, the path to the goal is irrelevant; the goal state itself is the solution State space = set of "complete"
 Negnevitsky, Pearson Education, Lecture 12 Hybrid intelligent systems: Evolutionary neural networks and fuzzy evolutionary systems n Introduction.
Implementation & Integration Research Paper Presentation Nick Conway.
Genetic Algorithms.
Analysis of Algorithms
Balancing of Parallel Two-Sided Assembly Lines via a GA based Approach
NAME: OLUWATOSIN UTHMAN ZUBAIR (145919) COURSE: NETWORK FLOW
Clustering (3) Center-based algorithms Fuzzy k-means
Comparing Genetic Algorithm and Guided Local Search Methods
Example: Applying EC to the TSP Problem
Transportation Problems
Searching for solutions: Genetic Algorithms
Applications of Genetic Algorithms TJHSST Computer Systems Lab
Coevolutionary Automated Software Correction
Presentation transcript:

Christoph F. Eick: Using EC to Solve Transportation Problems Transportation Problems

Christoph F. Eick: Using EC to Solve Transportation Problems Transportation Problems   transportation-or-distribution-problems-HA aspx transportation-or-distribution-problems-HA aspx     transportation-and-assignment-problems/ transportation-and-assignment-problems/ 

Christoph F. Eick: Using EC to Solve Transportation Problems Goals of Project1  Learn to develop and evaluate domain-specific crossover and mutation operators (for balanced transportation problems)  Learn to build systems that solve optimization problems with EC  Develop an initial version of the system  Improve the initial version (by using better system parameters or better operators such as different selection techniques or different genetic operators) 1.Conduct experiments which assess the current version of the system 2.Analyze the experimental results 3.Modify the system based on the results of step2  Design a system that can solve challenging, non-linear balanced transportation problems  Get some exposure to the “world of transportation problems”

Christoph F. Eick: Using EC to Solve Transportation Problems Some Initial Thoughts on the Course Project  Have a general theme  Compare at least 2 approaches (could be similar or the second approach could be kind of trivial)  Run algorithms at least 3 times (you might just be unlucky)  Report the results of running the benchmark transparently and completely  Interpret your results (even if there is no clear evidence pointing into one direct); explain your results (could be speculative)  Report the history of the project.  What was expected, what was unexpected?

Christoph F. Eick: Using EC to Solve Transportation Problems Conducting Experiments in General and in the Context of the Transportation Problem  Things to observe when running an EC-system  Average fitness  Best solution found so far  Diversity in the current population (expensive)  Degree of change from generation to generation  Visualizing the current best solutions could be helpful  building blocks in the searched solutions  Complexity: runtime, storage, number of genetic operators applied,…  What parts of the search space are searched (hard to analyze)  Things to report when summarizing experiments  Experimental Environment: Operators used and probabilities of their application, selection method, population size, best found solution, best average fitness.  Observed Results: Best solution found, best fitness/average fitness over time, diversity over time.  Run several experiments for the first and fourth cost function (for the two cases)  Run the “best version” of your system for the second and third cost function repeated 3 times for the two cases (no analysis required)

Christoph F. Eick: Using EC to Solve Transportation Problems On Initialization and Mutation 1.Values t ij have to be between 0 and min(source(i),distination(j)) 2.I can compute delta_t ij =min(Source(i)  j t ij, destination(j)   i t ij ), which is how much tij has to be increased/decreased to satisfy the constraints 3.Simple Initialization Procedure: Set tij to 0 initially, and visit tij in some random order and assign the maximum allowed value (delta_tij) to it. 4.Complex initialization procedure: Use multiple loops and assign a percentage of the maximum increase to t ij, and set it to t ij +delta_t ij in the last iteration. 5.Reverse initialization procedure: assign min(source(i),destination(j) to tij and reduce it… 6.Mutation: Change tij by adding/subtracting a number from it, not violating condition 1, and reuse the simple (complex??) initialization procedure: negative delta_tij values result in a reduction of the amount transported t 11

Christoph F. Eick: Using EC to Solve Transportation Problems Ideas for the Transportation Problem  If M1 and M2 are legal solutions, a*M1 + b*M2 (with a,b>0 a+b=1) are also legal solutions. This provides as with a quite natural crossover operator. This operator is called arithmetical crossover in the EC numerical optimization literature.  Boundary Mutation (that sets the value of one (possibly more) elements of the matrix to its minimum (0) or maximum possible value (min(source(i), dest(j))), might also have some merit.

Christoph F. Eick: Using EC to Solve Transportation Problems Reverse Initialization Algorithm Let row(I) the sum of elements in the I-th row Let col(j) the sum of the elements in the j-th column Let sour(I) the sum of the supplies of the I-th row Let dest(j) the demand for the j-th colums Let dest(j)=<col(j) and source(I)=<row(I) for I,j=… Visit the matrix elements (possibly excluding some elements) in some randomly selected order and do the following with the visited element v ij with its current value v:  maxred= min(col(j)-dist(j), row(i)-sour(i))  r= min(v, maxred)  v ij =v ij -r; row(i)=row(i)-r; col(j)=col(j); 2001 Material

Christoph F. Eick: Using EC to Solve Transportation Problems Boundary Mutation Boundary Mutation: 1.Selection an element of the matrix 2.Set it to its maximum possible value (4 in the example) 3.Rerun a reverse initialization algorithm (the normal initialization algorithm) that reduces the elements of a matrix until the source and destination amounts are correct Material