1 / 9

Transportation Problems

Transportation Problems. Transportation Problems. 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://www2.cs.uh.edu/~ ceick/6367/Proj1-2012.html

barid
Download Presentation

Transportation Problems

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Transportation Problems

  2. Transportation Problems • 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://www2.cs.uh.edu/~ceick/6367/Proj1-2012.html • http://www-personal.umich.edu/~murty/510/510slides9.pdf • http://www.jstor.org/stable/2583546 • http://www.authorstream.com/Presentation/chainz062002-485708-transportation-and-assignment-problems/ • http://www.youtube.com/watch?v=RnZnIIksdwU

  3. 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) • Conduct experiments which assess the current version of the system • Analyze the experimental results • 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. 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. 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. On Initialization and Mutation t11 • 9 1 • 4 1 4 • Values tij have to be between 0 and min(source(i),distination(j)) • I can compute delta_tij=min(Source(i)-jtij, destination(j)-  itij), which is how much tij has to be increased/decreased to satisfy the constraints • 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. • Complex initialization procedure: Use multiple loops and assign a percentage of the maximum increase to tij, and set it to tij+delta_tij in the last iteration. • Reverse initialization procedure: assign min(source(i),destination(j) to tij and reduce it… • 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 10 5 11 9

  7. 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. 2001 Material 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 vij with its current value v: • maxred= min(col(j)-dist(j), row(i)-sour(i)) • r= min(v, maxred) • vij=vij-r; row(i)=row(i)-r; col(j)=col(j);

  9. 2001 Material Boundary Mutation 2 2 0 0 0 2 6 1 1 24 0 2 0 6 1 0 0 3 2 0 6 0 1 20 1 0 2 6 Boundary Mutation: • Selection an element of the matrix • Set it to its maximum possible value (4 in the example) • Rerun a reverse initialization algorithm (the normal initialization algorithm) that reduces the elements of a matrix until the source and destination amounts are correct.

More Related