Traveling Salesman Problem

Slides:



Advertisements
Similar presentations
Vehicle Routing: Coincident Origin and Destination Points
Advertisements

Makespan with Sequence Dependent Setup Time (MSDST) 1|s jk |C max.
22C:19 Discrete Math Graphs Fall 2014 Sukumar Ghosh.
H.P. WILLIAMS LONDON SCHOOL OF ECONOMICS
Reducibility Class of problems A can be reduced to the class of problems B Take any instance of problem A Show how you can construct an instance of problem.
1 MERLIN A polynomial solution for the Traveling Salesman Problem Dr. Joachim Mertz, 2005.
DMOR Networks. Graphs: Koenigsberg bridges Leonard Euler problem (1736)
1 Optimization Algorithms on a Quantum Computer A New Paradigm for Technical Computing Richard H. Warren, PhD Optimization.
The 2 Period Travelling Salesman Problem Applied to Milk Collection in Ireland By Professor H P Williams,London School of Economics Dr Martin Butler, University.
Vehicle Routing & Scheduling: Part 1
TSP Travelling Salesperson Problem (TSP) Very famous problem Many practical applications Very easy to describe Very difficult to solve (Curse of.
Algorithms and Pseudocode Bioinformatics. Formulating Problems Clarify input and output elements Requires modeling the problem in some concise form Example:
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.
Math443/543 Mathematical Modeling and Optimization
Previously in Chapter 6 Using binary variables Unintended options Lack of sensitivity analysis.
Vehicle Routing & Scheduling
Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy under contract.
Linear Programming Applications
1 Integrality constraints Integrality constraints are often crucial when modeling optimizayion problems as linear programs. We have seen that if our linear.
Hon Wai Leong, NUS (CS6234, Spring 2009) Page 1 Copyright © 2009 by Leong Hon Wai CS6234 Lecture 1 -- (14-Jan-09) “Introduction”  Combinatorial Optimization.
1.3 Modeling with exponentially many constr.  Some strong formulations (or even formulation itself) may involve exponentially many constraints (cutting.
Network Models (2) Tran Van Hoai Faculty of Computer Science & Engineering HCMC University of Technology Tran Van Hoai.
IT 60101: Lecture #201 Foundation of Computing Systems Lecture 20 Classic Optimization Problems.
1 1 1-to-Many Distribution Vehicle Routing John H. Vande Vate Spring, 2005.
Notes 6IE3121 Knapsack Model Intuitive idea: what is the most valuable collection of items that can be fit into a backpack?
MODELING AND ANALYSIS OF MANUFACTURING SYSTEMS Session 12 MACHINE SETUP AND OPERATION SEQUENCING E. Gutierrez-Miravete Spring 2001.
Notes 5IE 3121 Knapsack Model Intuitive idea: what is the most valuable collection of items that can be fit into a backpack?
Route Planning Texas Transfer Corp (TTC) Case 1. Linear programming Example: Woodcarving, Inc. Manufactures two types of wooden toys  Soldiers sell for.
Lecture 6 – Integer Programming Models Topics General model Logic constraint Defining decision variables Continuous vs. integral solution Applications:
Using traveling salesman problem algorithms for evolutionary tree construction Chantal Korostensky and Gaston H. Gonnet Presentation by: Ben Snider.
1.224J Recitation #2 Integer Programs. Topics Questions & office hrs Sensitivity analysis review Importance of linear IP formulation –Branch and bound.
Columbia Express Algorithms and heuristics used by shipping company Yoon Keun Ane Jeongwho Lee Co- Express.
Integer Linear Programming Terms Pure integer programming mixed integer programming 0-1 integer programming LP relaxation of the IP Upper bound O.F. Lower.
Traveling Salesman Problem (TSP)
Integer Programming (정수계획법)
An Algorithm for the Traveling Salesman Problem John D. C. Little, Katta G. Murty, Dura W. Sweeney, and Caroline Karel 1963 Speaker: Huang Cheng-Kang.
EMIS 8373: Integer Programming Combinatorial Relaxations and Duals Updated 8 February 2005.
Clase 3: Basic Concepts of Search. Problems: SAT, TSP. Tarea 1 Computación Evolutiva Gabriela Ochoa
EMIS 8373: Integer Programming Mathematical Programming Example 5: Reallocating Students to Achieve Racial Balance updated 18 January 2005.
8/14/04 J. Bard and J. W. Barnes Operations Research Models and Methods Copyright All rights reserved Lecture 6 – Integer Programming Models Topics.
Lecture 6 – Integer Programming Models Topics General model Logic constraint Defining decision variables Continuous vs. integral solution Applications:
1.3 Modeling with exponentially many constr. Integer Programming
Management Science 461 Lecture 7 – Routing (TSP) October 28, 2008.
Computationally speaking, we can partition problems into two categories. Easy Problems and Hard Problems We can say that easy problem ( or in some languages.
EMIS 8373: Integer Programming Combinatorial Optimization Problems updated 27 January 2005.
Network Flows Based on the book: Introduction to Management Science. Hillier & Hillier. McGraw-Hill.
Solving Complex Problems
Hard Problems Some problems are hard to solve.
SAT problem SAT – Boolean satisfiability problem
Integer Programming An integer linear program (ILP) is defined exactly as a linear program except that values of variables in a feasible solution have.
Richard Anderson Lecture 26 NP-Completeness
Networks.
1.3 Modeling with exponentially many constr.
2 TSP algorithms: (1) AP+B&B, (2) min spanning tree.
Transportation, Assignment and Network Models
Integer Programming (정수계획법)
Genome Assembly.
Richard Anderson Lecture 28 NP-Completeness
Neural Networks Chapter 4
Approximation Algorithms
Applied Combinatorics, 4th Ed. Alan Tucker
1.3 Modeling with exponentially many constr.
Presented by Yi-Tzu, Chen
Integer Programming (정수계획법)
Richard Anderson Lecture 26 NP-Completeness
Chapter 6 Network Flow Models.
Richard Anderson Lecture 27 Survey of NP Complete Problems
Lecture 6 – Integer Programming Models
Vehicle Routing John H. Vande Vate Fall,
REVIEW FOR EXAM 1 Chapters 3, 4, 5 & 6.
Presentation transcript:

Traveling Salesman Problem and the Open Traveling Salesman Problem

Traveling Salesman Problem Objective: Given a list of cities and the distances between each pair of cities, find the shortest possible route that visits each city exactly once and returns to the origin city. Symmetric TSP with 4 cities

Traveling Salesman Problem Tucker’s Traveling Salesman Problem IP Formulation TSP can be formulated as an integer linear program. Label the cities with the numbers 0, ..., n and define: For i = 0, ..., n, let be an artificial variable, and finally take to be the distance from city i to city j. Then TSP can be written as the following integer linear programming problem:

Open Traveling Salesman Problem Objective: Same as traveling salesman problem but do not need to return to origin city .

Open TSP Application Valley Industrial Products: Fort Valley Continuous plastic extrusion system for making 8’x11’ plastic sheets. Produce in batches by color. Can produce over 80 colors. Time/cost to change from one color to another. May make 6-8 color changes in a single day. Produce 5 days a week, 24 hours per day. Always end in a “Clean” state (clear plastic) at the end of the week. Objective: Minimize the cost/time of changeovers.

Example cost of change-overs Open TSP Application Valley Industrial Products: Fort Valley  From/to c1 c2 c3 c4 c5 c6 c7 c8 CLEAN 1 2 1.5 2.1 0.9 7.5 3 1.2 1.6 3.2 1.4 1.7 1.8 3.1 4 1.21 1.3 2.5 2.9 1.34 2.6 1.9 2.2 2.3 5.1 3.5 1.1 2.4 1.91 0.8 0.95 2.76 Example cost of change-overs

Open Traveling Salesman Problem Objective function   Min 𝑖=1 𝑛 𝑗=1 𝑛 𝐶𝑖𝑗∗𝑋𝑖𝑗 (1) Subject to     𝑖=1 𝑛−1 𝑋𝑖𝑗≤1 j=1,2,3,…,n-1 i≠j (2) 𝑖=1 𝑛−1 𝑋𝑖𝑛=1 (3) 𝑗=1 𝑛 𝑋𝑖𝑗=1 i=1,2,3,…, n-1 i≠j (4) . 𝑢𝑖−𝑢𝑗+1≤(𝑛−1)(1−𝑋𝑖𝑗) i=1,2,3…,n-1 j=1,2,3,...n i≠j (5) Xij E { 0,1} i,j= 1,2,3....n i≠j (6) The objective function (1) models the total cost of change the colors that we need to produce in determine period of time. Constrains (2) ensure that at least one node will not have an entrance (3) ensure that the sequence finishes its route exactly once in the stage clean (node n). (4) ensure that from all nodes (except n) have one exit (5) avoid sub tours.

Open Traveling Salesman Problem CONSTRAINTS <= 1 NODE 1 ENTRÉE NODE 3 ENTRÉE NODE 5 ENTRÉE NODE 7 ENTRÉE = NODE CLEAN ENTRÉE NODE 1 EXIT NODE 3 EXIT NODE 5 EXIT NODE 7 EXIT subtours -1 4 from 1 to 3 from 1 to5 -2 from 1 to 7 -3 from1 to c 3 from 3 to 1 2 from 3 to 5 from 3 to7 from 3 to c from 5 to 1 from 5 to3 from 5 to7 from 5 to C from 7 to 1 from 7 to 3 from 7 to 5 from 7 to c inter c1 c2 c3 c4 c5 c6 c7 c8 CLEAN 1 2 1.5 2.1 0.9 7.5 3 1.2 1.6 3.2 1.4 1.7 1.8 3.1 4 1.21 1.3 2.5 2.9 1.34 2.6 1.9 2.2 2.3 5.1 3.5 1.1 2.4 1.91 0.8 0.95 2.76 VARIABLES X1C X3C X5C X7C u1 X17 X31 X51 X71 u3 X15 X35 X53 X73 u5 X 13 X 37 X57 X75 u7 uc OBJECTIVE 6.45