Presentation is loading. Please wait.

Presentation is loading. Please wait.

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

Similar presentations


Presentation on theme: "Christoph F. Eick: Using EC to Solve Transportation Problems Transportation Problems."— Presentation transcript:

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

2 Christoph F. Eick: Using EC to Solve Transportation Problems Transportation Problems  http://orms.pef.czu.cz/text/transProblem.html http://orms.pef.czu.cz/text/transProblem.html  http://office.microsoft.com/en-us/excel-help/using-solver-to-solve- transportation-or-distribution-problems-HA001124597.aspx http://office.microsoft.com/en-us/excel-help/using-solver-to-solve- transportation-or-distribution-problems-HA001124597.aspx  http://www2.cs.uh.edu/~ceick/6367/Proj1-2012.html http://www2.cs.uh.edu/~ceick/6367/Proj1-2012.html  http://www-personal.umich.edu/~murty/510/510slides9.pdf http://www-personal.umich.edu/~murty/510/510slides9.pdf  http://www.jstor.org/stable/2583546 http://www.jstor.org/stable/2583546  http://www.authorstream.com/Presentation/chainz062002-485708- transportation-and-assignment-problems/ http://www.authorstream.com/Presentation/chainz062002-485708- transportation-and-assignment-problems/  http://www.youtube.com/watch?v=RnZnIIksdwU http://www.youtube.com/watch?v=RnZnIIksdwU

3 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”

4 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?

5 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)

6 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. 5 510 119 19 1 4 1 4 t 11

7 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.

8 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

9 Christoph F. Eick: Using EC to Solve Transportation Problems Boundary Mutation 2 2 0 0 0 2 6 2 1 1 2 4 0 2 0 6 1 0 0 3 2 0 6 2 0 1 2 0 1 0 2 6 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. 2001 Material


Download ppt "Christoph F. Eick: Using EC to Solve Transportation Problems Transportation Problems."

Similar presentations


Ads by Google