Applied Integer Programming: Modeling and Solution

Size: px
Start display at page:

Download "Applied Integer Programming: Modeling and Solution"

Transcription

1 Applied Integer Programming: Modeling and Solution Chen, Batson, Dang Section Blekinge Institute of Technology April 5, 05

2 Modeling Combinatorical Optimization Problems II Traveling Salesman Problem Importance of the TSP 3 Machine Sequencing Problems in Various Manufacturing Systems Sequencing Problems in Electronic Industry Vehicle Routing for Delivery and Dispatching

3 Importance of the TSP Traveling Salesman Problem A traveling salesman is to visit a number of cities and the distance connecting two cities are known; the problem is to find a shortest route that starts from a home city, visits other cities exactly once, and returns to the home city.

4 Importance of the TSP Traveling Salesman Problem A traveling salesman is to visit a number of cities and the distance connecting two cities are known; the problem is to find a shortest route that starts from a home city, visits other cities exactly once, and returns to the home city. Became popular in (954) (Dantzig, Fulkerson and Johnson) Perhaps the most well-studied COP Thousands of publications. Over 000 distinct papers cited Representative of N P-hard COPs Primary driving force in novel optimization and solution algorithms Many AI algorithms, GA, SA, Tabu search, heuristics developed to (at least partly) solve the TSP

5 Importance of the TSP Milestones of TSP instances solved to optimality Year No. of Cities Data Set Research Team dantzig4 Dantzig, Fulkerson, Johnson random points Held and Karp random points Camerini, Fratta, Maffioli grl0 Grötschel lin38 Crowder and Padberg att53 Padberg and Rinaldi gr666 Grötschel and Holland pr39 Padberg and Rinaldi pla7397 Applegate, Bixby, Chvátal, Cook 998 3, 509 usa3509 Applegate, Bixby, Chvátal, Cook 00 5, dl5 Applegate, Bixby, Chvátal, Cook 004 4, 978 sw4978 Applegate, Bixby, Chvátal, Cook , 80 pla3380 Applegate, Bixby, Chvátal, Cook , 900 pla85900 Applegate, Bixby, Chvátal, Cook

6 Importance of the TSP Slow progress (950 to mid-970s ) Lack of applications. Could only solve small instances of the problem

7 Importance of the TSP Slow progress (950 to mid-970s ) Lack of applications. Could only solve small instances of the problem Rapid progression (mid-970s - mid-000s) Increased computational capability and introduction of branch-and-cut technique TSP can be used as a benchmark for IP algorithms

8 Importance of the TSP Some definitions Definition Let G = (V, E) be a graph where V is the set of vertices (nodes) and E is the set of edges (arcs). If the TSP is defined over a directed graph, then we have a asymmetric TSP. If the the TSP is defined over a undirected graph, then we have a symmetric TSP.

9 Importance of the TSP Some definitions Definition Let G = (V, E) be a graph where V is the set of vertices (nodes) and E is the set of edges (arcs). If the TSP is defined over a directed graph, then we have a asymmetric TSP. If the the TSP is defined over a undirected graph, then we have a symmetric TSP. Definition A route is sequence of distinct nodes (v, v,..., v n, v n ) such that (v i, v i+ ) E, i =,... n. If the route contains all nodes of the graph, it is called a Hamiltonian route

10 Importance of the TSP Definition A cycle is sequence of distinct nodes (v, v,..., v n, v n, v ) such that (v i, v i+ ), (v n, v ) E, i =..., n. If the cycle contains all nodes of the graph, it is called a Hamiltonian cycle

11 Importance of the TSP Definition A cycle is sequence of distinct nodes (v, v,..., v n, v n, v ) such that (v i, v i+ ), (v n, v ) E, i =..., n. If the cycle contains all nodes of the graph, it is called a Hamiltonian cycle Finding the shortest Hamiltonian cycle gives is a solution to the TSP.

12 Importance of the TSP Example of Hamiltonian cycle

13 Importance of the TSP Example of Hamiltonian cycle

14 Shortest Hamiltonian Paths Finding the shortest Hamiltonian path in graph G = (V, E) can be transformed into a TSP in the following way:

15 Shortest Hamiltonian Paths Finding the shortest Hamiltonian path in graph G = (V, E) can be transformed into a TSP in the following way: Construct a new graph G by: adding a virtual node to G connect the new node with all the others with distance zero

16 Shortest Hamiltonian Paths Finding the shortest Hamiltonian path in graph G = (V, E) can be transformed into a TSP in the following way: Construct a new graph G by: adding a virtual node to G connect the new node with all the others with distance zero Solve the TSP in the new graph G

17

18

19

20

21 If a starting position for the salesman is given, say node. Then we do the following transformation:

22 If a starting position for the salesman is given, say node. Then we do the following transformation: Add the arcs (v i, v ), i =,... n with distance zero to the graph Solve the TSP

23 If a starting position for the salesman is given, say node. Then we do the following transformation: Add the arcs (v i, v ), i =,... n with distance zero to the graph Solve the TSP

24 Suppose we require that the salesman has to visit each city at least once, instead of exactly once. Consider the following transformation:

25 Suppose we require that the salesman has to visit each city at least once, instead of exactly once. Consider the following transformation: Whenever there exists a route from v n to v k in G. Construct a new graph with arcs (v n, v k ) where the distance equals the total cost of the shortest path between them.

26

27

28 In the multiple TSP, m salesmen has to visit n customer cities. Let f p, p =,,... n be the fixed cost if salesman p is activated. The problem is determine how many of the salesmen should be utilized such that their total traveling distance is minimized and each city is visited once by one and only one salesman and then return to the home city (node 0). If the network is directed we can transform the multiple TSP to to a standard asymmetric TSP by the following steps:

29 Arrange the fixed cost in ascending order f 0 f... f m Add dummy nodes labeled,,..., (m ) as a home city for salesman, 3,... m, respectively. 3 Add the arcs ( i, j), i =,,..., m and each (0, j) A with distance c i,j = c 0,j + f i 4 Add the arcs (j, i) whenever (j, 0) A with distance c j, i = c j,0 + f i 5 Add the arcs ( i, (i )) for every pair of i =,,..., m with distance c i, (i ) = f i f i.

30

31

32 + f f 0 + f + f 3 + f f 4 + f 0 + f 4 + f 3 + f 3 + f f 4

33 + f 0 0 (f 0 f ) + f + f + f f f 4 + f 0 (f f ) + f + f 4 + f f f 4

34 Suppose we obtain the solution (0, ), (, 4), (4, ), (, )(, ), (, 3), (3, 0) Salesman 0 visites cities and 4; salesman visits none and salesman visits cities and 3.

35 Let G = (N, A) be a digraph where the nodes have been partioned into k disjoint subsets N i, i =,,... k. The problem of the clustered TSP is to find the minimum cost Hamiltonian cycle with the constraint that nodes within the same cluster must be visited consecutively. The problem can be transformed to the standard TSP by adding an (large) additional cost to the arcs between nodes that do not belong to the same cluster.

36 Let G = (N, A) be a graph with a positive or negative arc value c ij, (i, j) A. The problem is to find a Hamiltonian cycle (v, v,... v n, v ) such that c, c n,n + c n, is maximal. The problem can be transformed into a standard (minimum) TSP by setting c ij = c ij or c ij = c ij + M (M large constant) if c ij becomes negative.

37 Machine Sequencing Problems in Various Manufacturing Systems Sequencing Problems in Electronic Industry Vehicle Routing for Delivery and Dispatching Machine Sequencing Problems in Various Manufacturing Systems Job scheduling Suppose that n jobs with a given processing time has to be processed on a single machine. The jobs can be processed in any order but some machine job setup times are dependent, e.g. job i must precede job j. Objective is to find a sequence of jobs so all jobs are processed such that the total process time is minimized.

38 Machine Sequencing Problems in Various Manufacturing Systems Sequencing Problems in Electronic Industry Vehicle Routing for Delivery and Dispatching Machine Sequencing Problems in Various Manufacturing Systems Job scheduling Suppose that n jobs with a given processing time has to be processed on a single machine. The jobs can be processed in any order but some machine job setup times are dependent, e.g. job i must precede job j. Objective is to find a sequence of jobs so all jobs are processed such that the total process time is minimized. Assembly line In assembly line systems, jobs can be grouped together as clusters. The job within the same cluster must be completed before proceding to the next cluster. This type of sequencing can be considered as a clustered TSP.

39 Machine Sequencing Problems in Various Manufacturing Systems Sequencing Problems in Electronic Industry Vehicle Routing for Delivery and Dispatching Cellular manufacturing In cellular manufacturing the aim of to group together similair parts to be processed in a machine cell together. Aneja and Kamoun (999) showed that the problem of sequencing jobs by a robot in a machine cell can be formulated as a TSP.

40 Machine Sequencing Problems in Various Manufacturing Systems Sequencing Problems in Electronic Industry Vehicle Routing for Delivery and Dispatching Cellular manufacturing In cellular manufacturing the aim of to group together similair parts to be processed in a machine cell together. Aneja and Kamoun (999) showed that the problem of sequencing jobs by a robot in a machine cell can be formulated as a TSP. Flow shop sequencing Suppose we have n jobs with given process time that are to be processed on m machines in the same order. Each machine can work on one job at the time and must be completed without interruption. No waiting time is assumed, that is when job j is completed the j + job in the queue is starting immediatly. The objective is to finish the last job as soon as possible. This problem can be considered as a n-city shortest Hamiltonian path problem which in turn can be tranformed into an n + node TSP by adding a virtual node.

41 Machine Sequencing Problems in Various Manufacturing Systems Sequencing Problems in Electronic Industry Vehicle Routing for Delivery and Dispatching Sequencing Problems in Electronic Industry Drilling holes on IC boards A number of holes are needed on integrated circuit (IC) boards for mounting chips and other hardware. The holes are typically produced by a programmed drilling machine. The TSP is to minimize the the total traveling time of the drill.

42 Machine Sequencing Problems in Various Manufacturing Systems Sequencing Problems in Electronic Industry Vehicle Routing for Delivery and Dispatching Vehicle Routing for Delivery and Dispatching School bus routing The problem to schedule school buses to pick up and transport children to and from schools can be viewed as a multiple TSP if it possible to neglect the time windows and bus capacities constraints. Otherwise the problem is a vehicle routing problem

43 Machine Sequencing Problems in Various Manufacturing Systems Sequencing Problems in Electronic Industry Vehicle Routing for Delivery and Dispatching Vehicle Routing for Delivery and Dispatching School bus routing The problem to schedule school buses to pick up and transport children to and from schools can be viewed as a multiple TSP if it possible to neglect the time windows and bus capacities constraints. Otherwise the problem is a vehicle routing problem Parcel/postal delivery/dispatching This problem is a modified problem of the TSP where a vehicle is has to visit a set of streets (arcs) instad of nodes. A path traversing all arcs exactly once is called an Eulerian path.

44 Machine Sequencing Problems in Various Manufacturing Systems Sequencing Problems in Electronic Industry Vehicle Routing for Delivery and Dispatching Vehicle Routing for Delivery and Dispatching School bus routing The problem to schedule school buses to pick up and transport children to and from schools can be viewed as a multiple TSP if it possible to neglect the time windows and bus capacities constraints. Otherwise the problem is a vehicle routing problem Parcel/postal delivery/dispatching This problem is a modified problem of the TSP where a vehicle is has to visit a set of streets (arcs) instad of nodes. A path traversing all arcs exactly once is called an Eulerian path.

45 Machine Sequencing Problems in Various Manufacturing Systems Sequencing Problems in Electronic Industry Vehicle Routing for Delivery and Dispatching Meals/Clinic on wheels This version of the TSP is about dispatching a fleet of vehicles in urban or rural environments to satisfy the demand for some commodity or service, e.g. deliver food to elderly on regular basis or medical services in communities.

46 Machine Sequencing Problems in Various Manufacturing Systems Sequencing Problems in Electronic Industry Vehicle Routing for Delivery and Dispatching Thank you for listening!

Traveling Salesman Problem

Traveling Salesman Problem Traveling Salesman Problem Zdeněk Hanzálek hanzalek@fel.cvut.cz CTU in Prague April 17, 2017 Z. Hanzálek (CTU) Traveling Salesman Problem April 17, 2017 1 / 33 1 Content 2 Solved TSP instances in pictures

More information

The Traveling Salesman Problem: An Overview. David P. Williamson, Cornell University Ebay Research January 21, 2014

The Traveling Salesman Problem: An Overview. David P. Williamson, Cornell University Ebay Research January 21, 2014 The Traveling Salesman Problem: An Overview David P. Williamson, Cornell University Ebay Research January 21, 2014 (Cook 2012) A highly readable introduction Some terminology (imprecise) Problem Traditional

More information

Asymmetric Traveling Salesman Problem (ATSP): Models

Asymmetric Traveling Salesman Problem (ATSP): Models Asymmetric Traveling Salesman Problem (ATSP): Models Given a DIRECTED GRAPH G = (V,A) with V = {,, n} verte set A = {(i, j) : i V, j V} arc set (complete digraph) c ij = cost associated with arc (i, j)

More information

Node Edge Arc Routing Problems (NEARP)

Node Edge Arc Routing Problems (NEARP) Node Edge Arc Routing Problems (NEARP) Nicolas Briot Coconut-LIRMM janvier 0 Nicolas Briot (Coconut-LIRMM) Node Edge Arc Routing Problems (NEARP) janvier 0 / What is NEARP? Arc and node routing problem

More information

The traveling salesman problem

The traveling salesman problem Chapter 58 The traveling salesman problem The traveling salesman problem (TSP) asks for a shortest Hamiltonian circuit in a graph. It belongs to the most seductive problems in combinatorial optimization,

More information

A Survey on Travelling Salesman Problem

A Survey on Travelling Salesman Problem A Survey on Travelling Salesman Problem Sanchit Goyal Department of Computer Science University of North Dakota Grand Forks, North Dakota 58203 sanchitgoyal01@gmail.com Abstract The Travelling Salesman

More information

An Exact Algorithm for the Traveling Salesman Problem with Deliveries and Collections

An Exact Algorithm for the Traveling Salesman Problem with Deliveries and Collections An Exact Algorithm for the Traveling Salesman Problem with Deliveries and Collections R. Baldacci DISMI, University of Modena and Reggio E., V.le Allegri 15, 42100 Reggio E., Italy E. Hadjiconstantinou

More information

Hamiltonian Cycle. Hamiltonian Cycle

Hamiltonian Cycle. Hamiltonian Cycle Hamiltonian Cycle Hamiltonian Cycle Hamiltonian Cycle Problem Hamiltonian Cycle Given a directed graph G, is there a cycle that visits every vertex exactly once? Such a cycle is called a Hamiltonian cycle.

More information

A maritime version of the Travelling Salesman Problem

A maritime version of the Travelling Salesman Problem A maritime version of the Travelling Salesman Problem Enrico Malaguti, Silvano Martello, Alberto Santini May 31, 2015 Plan 1 The Capacitated TSP with Pickup and Delivery 2 The TSPPD with Draught Limits

More information

International ejournals

International ejournals ISSN 0976 1411 Available online at www.internationalejournals.com International ejournals International ejournal of Mathematics and Engineering 2 (2017) Vol. 8, Issue 1, pp 11 21 Optimization of Transportation

More information

Chapter 3: Discrete Optimization Integer Programming

Chapter 3: Discrete Optimization Integer Programming Chapter 3: Discrete Optimization Integer Programming Edoardo Amaldi DEIB Politecnico di Milano edoardo.amaldi@polimi.it Website: http://home.deib.polimi.it/amaldi/opt-16-17.shtml Academic year 2016-17

More information

Chapter 3: Discrete Optimization Integer Programming

Chapter 3: Discrete Optimization Integer Programming Chapter 3: Discrete Optimization Integer Programming Edoardo Amaldi DEIB Politecnico di Milano edoardo.amaldi@polimi.it Sito web: http://home.deib.polimi.it/amaldi/ott-13-14.shtml A.A. 2013-14 Edoardo

More information

Edge Elimination for the Hamiltonian Cycle problem

Edge Elimination for the Hamiltonian Cycle problem Edge Elimination for the Hamiltonian Cycle problem Elliot Catt Pablo Moscato and Luke Mathieson University of Newcastle February 27, 2017 1 Abstract The Hamilton cycle and travelling salesman problem are

More information

The Traveling Salesman Problem: Inequalities and Separation

The Traveling Salesman Problem: Inequalities and Separation The Traveling Salesman Problem: Inequalities and Separation Adam N. Letchford Department of Management Science, Lancaster University http://www.lancs.ac.uk/staff/letchfoa 1. The ILP formulation of the

More information

The Multiple Traveling Salesman Problem with Time Windows: Bounds for the Minimum Number of Vehicles

The Multiple Traveling Salesman Problem with Time Windows: Bounds for the Minimum Number of Vehicles The Multiple Traveling Salesman Problem with Time Windows: Bounds for the Minimum Number of Vehicles Snežana Mitrović-Minić Ramesh Krishnamurti School of Computing Science, Simon Fraser University, Burnaby,

More information

History, Analysis, and Implementation of Traveling Salesman Problem (TSP) and Related Problems

History, Analysis, and Implementation of Traveling Salesman Problem (TSP) and Related Problems History, Analysis, and Implementation of Traveling Salesman Problem (TSP) and Related Problems By Anne Maredia Spring 2010 In Partial Fulfillment of Math 4395-Senior Project Department of Computer and

More information

AM 121: Intro to Optimization Models and Methods Fall 2018

AM 121: Intro to Optimization Models and Methods Fall 2018 AM 121: Intro to Optimization Models and Methods Fall 2018 Lecture 11: Integer programming Yiling Chen SEAS Lesson Plan Integer programs Examples: Packing, Covering, TSP problems Modeling approaches fixed

More information

Bounds on the Traveling Salesman Problem

Bounds on the Traveling Salesman Problem Bounds on the Traveling Salesman Problem Sean Zachary Roberson Texas A&M University MATH 613, Graph Theory A common routing problem is as follows: given a collection of stops (for example, towns, stations,

More information

Scheduling and Optimization Course (MPRI)

Scheduling and Optimization Course (MPRI) MPRI Scheduling and optimization: lecture p. /6 Scheduling and Optimization Course (MPRI) Leo Liberti LIX, École Polytechnique, France MPRI Scheduling and optimization: lecture p. /6 Teachers Christoph

More information

8.3 Hamiltonian Paths and Circuits

8.3 Hamiltonian Paths and Circuits 8.3 Hamiltonian Paths and Circuits 8.3 Hamiltonian Paths and Circuits A Hamiltonian path is a path that contains each vertex exactly once A Hamiltonian circuit is a Hamiltonian path that is also a circuit

More information

LECTURE 1: INTRODUCTION

LECTURE 1: INTRODUCTION LECTURE 1: INTRODUCTION What is a Network? What is a Network? What is the meaning of Network Flows? In our course, a network G=(N,A) consists of a finite number of nodes (in N) which are connected by arcs

More information

Resource Constrained Project Scheduling Linear and Integer Programming (1)

Resource Constrained Project Scheduling Linear and Integer Programming (1) DM204, 2010 SCHEDULING, TIMETABLING AND ROUTING Lecture 3 Resource Constrained Project Linear and Integer Programming (1) Marco Chiarandini Department of Mathematics & Computer Science University of Southern

More information

Outline. Outline. Outline DMP204 SCHEDULING, TIMETABLING AND ROUTING. 1. Scheduling CPM/PERT Resource Constrained Project Scheduling Model

Outline. Outline. Outline DMP204 SCHEDULING, TIMETABLING AND ROUTING. 1. Scheduling CPM/PERT Resource Constrained Project Scheduling Model Outline DMP204 SCHEDULING, TIMETABLING AND ROUTING Lecture 3 and Mixed Integer Programg Marco Chiarandini 1. Resource Constrained Project Model 2. Mathematical Programg 2 Outline Outline 1. Resource Constrained

More information

CHAPTER 3 FUNDAMENTALS OF COMPUTATIONAL COMPLEXITY. E. Amaldi Foundations of Operations Research Politecnico di Milano 1

CHAPTER 3 FUNDAMENTALS OF COMPUTATIONAL COMPLEXITY. E. Amaldi Foundations of Operations Research Politecnico di Milano 1 CHAPTER 3 FUNDAMENTALS OF COMPUTATIONAL COMPLEXITY E. Amaldi Foundations of Operations Research Politecnico di Milano 1 Goal: Evaluate the computational requirements (this course s focus: time) to solve

More information

8.5 Sequencing Problems

8.5 Sequencing Problems 8.5 Sequencing Problems Basic genres. Packing problems: SET-PACKING, INDEPENDENT SET. Covering problems: SET-COVER, VERTEX-COVER. Constraint satisfaction problems: SAT, 3-SAT. Sequencing problems: HAMILTONIAN-CYCLE,

More information

Travelling Salesman Problem

Travelling Salesman Problem Travelling Salesman Problem Fabio Furini November 10th, 2014 Travelling Salesman Problem 1 Outline 1 Traveling Salesman Problem Separation Travelling Salesman Problem 2 (Asymmetric) Traveling Salesman

More information

Combinatorial optimization problems

Combinatorial optimization problems Combinatorial optimization problems Heuristic Algorithms Giovanni Righini University of Milan Department of Computer Science (Crema) Optimization In general an optimization problem can be formulated as:

More information

Modeling with Integer Programming

Modeling with Integer Programming Modeling with Integer Programg Laura Galli December 18, 2014 We can use 0-1 (binary) variables for a variety of purposes, such as: Modeling yes/no decisions Enforcing disjunctions Enforcing logical conditions

More information

18 hours nodes, first feasible 3.7% gap Time: 92 days!! LP relaxation at root node: Branch and bound

18 hours nodes, first feasible 3.7% gap Time: 92 days!! LP relaxation at root node: Branch and bound The MIP Landscape 1 Example 1: LP still can be HARD SGM: Schedule Generation Model Example 157323 1: LP rows, still can 182812 be HARD columns, 6348437 nzs LP relaxation at root node: 18 hours Branch and

More information

Analysis of Algorithms. Unit 5 - Intractable Problems

Analysis of Algorithms. Unit 5 - Intractable Problems Analysis of Algorithms Unit 5 - Intractable Problems 1 Intractable Problems Tractable Problems vs. Intractable Problems Polynomial Problems NP Problems NP Complete and NP Hard Problems 2 In this unit we

More information

A Mixed-Integer Linear Program for the Traveling Salesman Problem with Structured Time Windows

A Mixed-Integer Linear Program for the Traveling Salesman Problem with Structured Time Windows A Mixed-Integer Linear Program for the Traveling Salesman Problem with Structured Time Windows Philipp Hungerländer Christian Truden 5th January 2017 Abstract In this extended abstract we introduce the

More information

Exact and Heuristic Algorithms for the Symmetric and Asymmetric Vehicle Routing Problem with Backhauls

Exact and Heuristic Algorithms for the Symmetric and Asymmetric Vehicle Routing Problem with Backhauls Exact and Heuristic Algorithms for the Symmetric and Asymmetric Vehicle Routing Problem with Backhauls Paolo Toth, Daniele Vigo ECCO IX - Dublin 1996 Exact and Heuristic Algorithms for VRPB 1 Vehicle Routing

More information

Transportation II. Lecture 16 ESD.260 Fall Caplice

Transportation II. Lecture 16 ESD.260 Fall Caplice Transportation II Lecture 16 ESD.260 Fall 2003 Caplice One to One System 1+ ns d LC($ / item) = c H + ch + ct + c + c + c r MAX i MAX i m s d vs Mode 1 v v Cost per Item c i t m v MAX 2 2v MAX Shipment

More information

CS/COE

CS/COE CS/COE 1501 www.cs.pitt.edu/~nlf4/cs1501/ P vs NP But first, something completely different... Some computational problems are unsolvable No algorithm can be written that will always produce the correct

More information

Maximum Flow Problem (Ford and Fulkerson, 1956)

Maximum Flow Problem (Ford and Fulkerson, 1956) Maximum Flow Problem (Ford and Fulkerson, 196) In this problem we find the maximum flow possible in a directed connected network with arc capacities. There is unlimited quantity available in the given

More information

M. Jünger G. Reinelt G. Rinaldi

M. Jünger G. Reinelt G. Rinaldi M. Jünger G. Reinelt G. Rinaldi THE TRAVELING SALESMAN PROBLEM R. 375 Gennaio 1994 Michael Jünger - Institut für Informatik der Universität zu Köln, Pohligstraße 1, D-50696 Köln, Germany. Gerhard Reinelt

More information

Solving a Production Scheduling Problem as a Time-Dependent Traveling Salesman Problem

Solving a Production Scheduling Problem as a Time-Dependent Traveling Salesman Problem Solving a Production Scheduling Problem as a Time-Dependent Traveling Salesman Problem GABRIELLA STECCO Department of Applied Mathematics, University Ca Foscari of Venice, Dorsoduro n. 3825/E, 30123 Venice,

More information

TRAVELING SALESMAN PROBLEM WITH TIME WINDOWS (TSPTW)

TRAVELING SALESMAN PROBLEM WITH TIME WINDOWS (TSPTW) TRAVELING SALESMAN PROBLEM WITH TIME WINDOWS (TSPTW) Aakash Anuj 10CS30043 Surya Prakash Verma 10AE30026 Yetesh Chaudhary 10CS30044 Supervisor: Prof. Jitesh Thakkar TSP Given a list of cities and the distances

More information

Single Machine Models

Single Machine Models Outline DM87 SCHEDULING, TIMETABLING AND ROUTING Lecture 8 Single Machine Models 1. Dispatching Rules 2. Single Machine Models Marco Chiarandini DM87 Scheduling, Timetabling and Routing 2 Outline Dispatching

More information

Partial Path Column Generation for the Vehicle Routing Problem with Time Windows

Partial Path Column Generation for the Vehicle Routing Problem with Time Windows Partial Path Column Generation for the Vehicle Routing Problem with Time Windows Bjørn Petersen & Mads Kehlet Jepsen } DIKU Department of Computer Science, University of Copenhagen Universitetsparken 1,

More information

Introduction to integer programming III:

Introduction to integer programming III: Introduction to integer programming III: Network Flow, Interval Scheduling, and Vehicle Routing Problems Martin Branda Charles University in Prague Faculty of Mathematics and Physics Department of Probability

More information

NP-Complete Problems. More reductions

NP-Complete Problems. More reductions NP-Complete Problems More reductions Definitions P: problems that can be solved in polynomial time (typically in n, size of input) on a deterministic Turing machine Any normal computer simulates a DTM

More information

Polynomial-Time Reductions

Polynomial-Time Reductions Reductions 1 Polynomial-Time Reductions Classify Problems According to Computational Requirements Q. Which problems will we be able to solve in practice? A working definition. [von Neumann 1953, Godel

More information

Lecture 8 Network Optimization Algorithms

Lecture 8 Network Optimization Algorithms Advanced Algorithms Floriano Zini Free University of Bozen-Bolzano Faculty of Computer Science Academic Year 2013-2014 Lecture 8 Network Optimization Algorithms 1 21/01/14 Introduction Network models have

More information

A path that visits each vertex exactly once is a Hamiltonian path. A circuit that visits each vertex exactly once is a Hamiltonian circuit.

A path that visits each vertex exactly once is a Hamiltonian path. A circuit that visits each vertex exactly once is a Hamiltonian circuit. (c) Epstein 2013 Chapter 2: usiness Efficiency Page 1 CHAPTER 2: USINESS EFFICIENCY 2.1 Hamiltonian Circuits A path that visits each vertex exactly once is a Hamiltonian path. A circuit that visits each

More information

NP-complete problems. CSE 101: Design and Analysis of Algorithms Lecture 20

NP-complete problems. CSE 101: Design and Analysis of Algorithms Lecture 20 NP-complete problems CSE 101: Design and Analysis of Algorithms Lecture 20 CSE 101: Design and analysis of algorithms NP-complete problems Reading: Chapter 8 Homework 7 is due today, 11:59 PM Tomorrow

More information

EXACT ALGORITHMS FOR THE ATSP

EXACT ALGORITHMS FOR THE ATSP EXACT ALGORITHMS FOR THE ATSP Branch-and-Bound Algorithms: Little-Murty-Sweeney-Karel (Operations Research, ); Bellmore-Malone (Operations Research, ); Garfinkel (Operations Research, ); Smith-Srinivasan-Thompson

More information

Totally unimodular matrices. Introduction to integer programming III: Network Flow, Interval Scheduling, and Vehicle Routing Problems

Totally unimodular matrices. Introduction to integer programming III: Network Flow, Interval Scheduling, and Vehicle Routing Problems Totally unimodular matrices Introduction to integer programming III: Network Flow, Interval Scheduling, and Vehicle Routing Problems Martin Branda Charles University in Prague Faculty of Mathematics and

More information

Sub-Optimal Scheduling of a Flexible Batch Manufacturing System using an Integer Programming Solution

Sub-Optimal Scheduling of a Flexible Batch Manufacturing System using an Integer Programming Solution Sub-Optimal Scheduling of a Flexible Batch Manufacturing System using an Integer Programming Solution W. Weyerman, D. West, S. Warnick Information Dynamics and Intelligent Systems Group Department of Computer

More information

Check off these skills when you feel that you have mastered them. Write in your own words the definition of a Hamiltonian circuit.

Check off these skills when you feel that you have mastered them. Write in your own words the definition of a Hamiltonian circuit. Chapter Objectives Check off these skills when you feel that you have mastered them. Write in your own words the definition of a Hamiltonian circuit. Explain the difference between an Euler circuit and

More information

Low-Complexity Algorithms for Sequencing Jobs with a Fixed Number of Job-Classes

Low-Complexity Algorithms for Sequencing Jobs with a Fixed Number of Job-Classes Low-Complexity Algorithms for Sequencing Jobs with a Fixed Number of Job-Classes Jack A.A. van der Veen Nijenrode University - The Netherlands School of Business Straatweg 25, 3621 BG Breukelen The Netherlands

More information

Models and Cuts for the Two-Echelon Vehicle Routing Problem

Models and Cuts for the Two-Echelon Vehicle Routing Problem Models and Cuts for the Two-Echelon Vehicle Routing Problem Guido Perboli Roberto Tadei Francesco Masoero Department of Control and Computer Engineering, Politecnico di Torino Corso Duca degli Abruzzi,

More information

Optimization Prof. A. Goswami Department of Mathematics Indian Institute of Technology, Kharagpur. Lecture - 20 Travelling Salesman Problem

Optimization Prof. A. Goswami Department of Mathematics Indian Institute of Technology, Kharagpur. Lecture - 20 Travelling Salesman Problem Optimization Prof. A. Goswami Department of Mathematics Indian Institute of Technology, Kharagpur Lecture - 20 Travelling Salesman Problem Today we are going to discuss the travelling salesman problem.

More information

NP and Computational Intractability

NP and Computational Intractability NP and Computational Intractability 1 Polynomial-Time Reduction Desiderata'. Suppose we could solve X in polynomial-time. What else could we solve in polynomial time? don't confuse with reduces from Reduction.

More information

Implementation of Travelling Salesman Problem Using ant Colony Optimization

Implementation of Travelling Salesman Problem Using ant Colony Optimization RESEARCH ARTICLE OPEN ACCESS Implementation of Travelling Salesman Problem Using ant Colony Optimization Gaurav Singh, Rashi Mehta, Sonigoswami, Sapna Katiyar* ABES Institute of Technology, NH-24, Vay

More information

A Branch-and-Cut Algorithm for the Dial-a-Ride Problem

A Branch-and-Cut Algorithm for the Dial-a-Ride Problem A Branch-and-Cut Algorithm for the Dial-a-Ride Problem JEAN-FRANÇOIS CORDEAU Canada Research Chair in Distribution Management, HEC Montréal 3000, chemin de la Côte-Sainte-Catherine Montréal, Canada H3T

More information

Introduction into Vehicle Routing Problems and other basic mixed-integer problems

Introduction into Vehicle Routing Problems and other basic mixed-integer problems Introduction into Vehicle Routing Problems and other basic mixed-integer problems Martin Branda Charles University in Prague Faculty of Mathematics and Physics Department of Probability and Mathematical

More information

The Traveling Salesman Problem New Mexico Supercomputing Challenge Final Report April 6 th, 2016 Team 104 School of Dreams Academy

The Traveling Salesman Problem New Mexico Supercomputing Challenge Final Report April 6 th, 2016 Team 104 School of Dreams Academy The Traveling Salesman Problem New Mexico Supercomputing Challenge Final Report April 6 th, 2016 Team 104 School of Dreams Academy Team Members: Victoria Troyer Sponsor: Kerra Howe Mentor: Zack Daniels

More information

Intro to Contemporary Math

Intro to Contemporary Math Intro to Contemporary Math Hamiltonian Circuits and Nearest Neighbor Algorithm Nicholas Nguyen nicholas.nguyen@uky.edu Department of Mathematics UK Agenda Hamiltonian Circuits and the Traveling Salesman

More information

CS 301: Complexity of Algorithms (Term I 2008) Alex Tiskin Harald Räcke. Hamiltonian Cycle. 8.5 Sequencing Problems. Directed Hamiltonian Cycle

CS 301: Complexity of Algorithms (Term I 2008) Alex Tiskin Harald Räcke. Hamiltonian Cycle. 8.5 Sequencing Problems. Directed Hamiltonian Cycle 8.5 Sequencing Problems Basic genres. Packing problems: SET-PACKING, INDEPENDENT SET. Covering problems: SET-COVER, VERTEX-COVER. Constraint satisfaction problems: SAT, 3-SAT. Sequencing problems: HAMILTONIAN-CYCLE,

More information

4/12/2011. Chapter 8. NP and Computational Intractability. Directed Hamiltonian Cycle. Traveling Salesman Problem. Directed Hamiltonian Cycle

4/12/2011. Chapter 8. NP and Computational Intractability. Directed Hamiltonian Cycle. Traveling Salesman Problem. Directed Hamiltonian Cycle Directed Hamiltonian Cycle Chapter 8 NP and Computational Intractability Claim. G has a Hamiltonian cycle iff G' does. Pf. Suppose G has a directed Hamiltonian cycle Γ. Then G' has an undirected Hamiltonian

More information

2 Notation and Preliminaries

2 Notation and Preliminaries On Asymmetric TSP: Transformation to Symmetric TSP and Performance Bound Ratnesh Kumar Haomin Li epartment of Electrical Engineering University of Kentucky Lexington, KY 40506-0046 Abstract We show that

More information

Chapter 34: NP-Completeness

Chapter 34: NP-Completeness Graph Algorithms - Spring 2011 Set 17. Lecturer: Huilan Chang Reference: Cormen, Leiserson, Rivest, and Stein, Introduction to Algorithms, 2nd Edition, The MIT Press. Chapter 34: NP-Completeness 2. Polynomial-time

More information

Compact Formulations of the Steiner Traveling Salesman Problem and Related Problems

Compact Formulations of the Steiner Traveling Salesman Problem and Related Problems Compact Formulations of the Steiner Traveling Salesman Problem and Related Problems Adam N. Letchford Saeideh D. Nasiri Dirk Oliver Theis March 2012 Abstract The Steiner Traveling Salesman Problem (STSP)

More information

Decomposition-based Methods for Large-scale Discrete Optimization p.1

Decomposition-based Methods for Large-scale Discrete Optimization p.1 Decomposition-based Methods for Large-scale Discrete Optimization Matthew V Galati Ted K Ralphs Department of Industrial and Systems Engineering Lehigh University, Bethlehem, PA, USA Départment de Mathématiques

More information

Unit 1A: Computational Complexity

Unit 1A: Computational Complexity Unit 1A: Computational Complexity Course contents: Computational complexity NP-completeness Algorithmic Paradigms Readings Chapters 3, 4, and 5 Unit 1A 1 O: Upper Bounding Function Def: f(n)= O(g(n)) if

More information

Spatial Thinking and Modeling of Network-Based Problems

Spatial Thinking and Modeling of Network-Based Problems Spatial Thinking and Modeling of Network-Based Problems Presentation at the SPACE Workshop Columbus, Ohio, July 1, 25 Shih-Lung Shaw Professor Department of Geography University of Tennessee Knoxville,

More information

Introduction to Mathematical Programming IE406. Lecture 21. Dr. Ted Ralphs

Introduction to Mathematical Programming IE406. Lecture 21. Dr. Ted Ralphs Introduction to Mathematical Programming IE406 Lecture 21 Dr. Ted Ralphs IE406 Lecture 21 1 Reading for This Lecture Bertsimas Sections 10.2, 10.3, 11.1, 11.2 IE406 Lecture 21 2 Branch and Bound Branch

More information

Exercises NP-completeness

Exercises NP-completeness Exercises NP-completeness Exercise 1 Knapsack problem Consider the Knapsack problem. We have n items, each with weight a j (j = 1,..., n) and value c j (j = 1,..., n) and an integer B. All a j and c j

More information

The multi-modal traveling salesman problem

The multi-modal traveling salesman problem The multi-modal traveling salesman problem Nicolas Jozefowiez 1, Gilbert Laporte 2, Frédéric Semet 3 1. LAAS-CNRS, INSA, Université de Toulouse, Toulouse, France, nicolas.jozefowiez@laas.fr 2. CIRRELT,

More information

TSP Cuts Which Do Not Conform to the Template Paradigm

TSP Cuts Which Do Not Conform to the Template Paradigm TSP Cuts Which Do Not Conform to the Template Paradigm David Applegate 1, Robert Bixby 2, Vašek Chvátal 3, and William Cook 4 1 Algorithms and Optimization Department, AT&T Labs Research, Florham Park,

More information

8.5 Sequencing Problems. Chapter 8. NP and Computational Intractability. Hamiltonian Cycle. Hamiltonian Cycle

8.5 Sequencing Problems. Chapter 8. NP and Computational Intractability. Hamiltonian Cycle. Hamiltonian Cycle Chapter 8 NP and Computational Intractability 8.5 Sequencing Problems Basic genres. Packing problems: SET-PACKING, INDEPENDENT SET. Covering problems: SET-COVER, VERTEX-COVER. Constraint satisfaction problems:

More information

Introduction to Integer Programming

Introduction to Integer Programming Lecture 3/3/2006 p. /27 Introduction to Integer Programming Leo Liberti LIX, École Polytechnique liberti@lix.polytechnique.fr Lecture 3/3/2006 p. 2/27 Contents IP formulations and examples Total unimodularity

More information

Chapter 8. NP and Computational Intractability

Chapter 8. NP and Computational Intractability Chapter 8 NP and Computational Intractability Slides by Kevin Wayne. Copyright 2005 Pearson-Addison Wesley. All rights reserved. Acknowledgement: This lecture slide is revised and authorized from Prof.

More information

Lecture 4: NP and computational intractability

Lecture 4: NP and computational intractability Chapter 4 Lecture 4: NP and computational intractability Listen to: Find the longest path, Daniel Barret What do we do today: polynomial time reduction NP, co-np and NP complete problems some examples

More information

No-Idle, No-Wait: When Shop Scheduling Meets Dominoes, Eulerian and Hamiltonian Paths

No-Idle, No-Wait: When Shop Scheduling Meets Dominoes, Eulerian and Hamiltonian Paths No-Idle, No-Wait: When Shop Scheduling Meets Dominoes, Eulerian and Hamiltonian Paths J.C. Billaut 1, F.Della Croce 2, Fabio Salassa 2, V. T kindt 1 1. Université Francois-Rabelais, CNRS, Tours, France

More information

CS 583: Algorithms. NP Completeness Ch 34. Intractability

CS 583: Algorithms. NP Completeness Ch 34. Intractability CS 583: Algorithms NP Completeness Ch 34 Intractability Some problems are intractable: as they grow large, we are unable to solve them in reasonable time What constitutes reasonable time? Standard working

More information

Solving Elementary Shortest-Path Problems as Mixed-Integer Programs

Solving Elementary Shortest-Path Problems as Mixed-Integer Programs Gutenberg School of Management and Economics Discussion Paper Series Solving Elementary Shortest-Path Problems as Mixed-Integer Programs Michael Drexl and Stefan Irnich Januar 2012 Discussion paper number

More information

Chapter 2. Business Efficiency. Chapter Outline. Chapter Summary

Chapter 2. Business Efficiency. Chapter Outline. Chapter Summary Chapter 2 Business Efficiency Chapter Outline Introduction Section 2.1 Hamiltonian Circuits Section 2.2 Traveling Salesman Problem Section 2.3 Helping Traveling Salesmen Section 2.4 Critical-Path Analysis

More information

Graphs. COMPSCI 355 Fall 2016

Graphs. COMPSCI 355 Fall 2016 Graphs COMPSCI 355 Fall 26 Bridges of Königsberg Four Color Problem Graph A set of objects called nodes or vertices. A binary relation (edges) on nodes. Adjacent nodes are related by an edge. 3 4 A path

More information

Vehicle Routing and Scheduling. Martin Savelsbergh The Logistics Institute Georgia Institute of Technology

Vehicle Routing and Scheduling. Martin Savelsbergh The Logistics Institute Georgia Institute of Technology Vehicle Routing and Scheduling Martin Savelsbergh The Logistics Institute Georgia Institute of Technology Vehicle Routing and Scheduling Part II: Algorithmic Enhancements Handling Practical Complexities

More information

CSCI3390-Lecture 17: A sampler of NP-complete problems

CSCI3390-Lecture 17: A sampler of NP-complete problems CSCI3390-Lecture 17: A sampler of NP-complete problems 1 List of Problems We now know that if L is any problem in NP, that L P SAT, and thus SAT is NP-hard. Since SAT is also in NP we find that SAT is

More information

Part III: Traveling salesman problems

Part III: Traveling salesman problems Transportation Logistics Part III: Traveling salesman problems c R.F. Hartl, S.N. Parragh 1/282 Motivation Motivation Why do we study the TSP? c R.F. Hartl, S.N. Parragh 2/282 Motivation Motivation Why

More information

Single-part-type, multiple stage systems

Single-part-type, multiple stage systems MIT 2.853/2.854 Introduction to Manufacturing Systems Single-part-type, multiple stage systems Stanley B. Gershwin Laboratory for Manufacturing and Productivity Massachusetts Institute of Technology Single-stage,

More information

Algorithms and Complexity theory

Algorithms and Complexity theory Algorithms and Complexity theory Thibaut Barthelemy Some slides kindly provided by Fabien Tricoire University of Vienna WS 2014 Outline 1 Algorithms Overview How to write an algorithm 2 Complexity theory

More information

La petite et la grande histoire du problème du voyageur de commerce

La petite et la grande histoire du problème du voyageur de commerce La petite et la grande histoire du problème du voyageur de commerce par Gilbert Laporte Chaire de recherche du Canada en distributique, Centre de recherche sur les transports (CRT) et GERAD HEC Montréal,

More information

Automata Theory CS S-18 Complexity Theory II: Class NP

Automata Theory CS S-18 Complexity Theory II: Class NP Automata Theory CS411-2015S-18 Complexity Theory II: Class NP David Galles Department of Computer Science University of San Francisco 18-0: Language Class P A language L is polynomially decidable if there

More information

CMSC 722, AI Planning. Planning and Scheduling

CMSC 722, AI Planning. Planning and Scheduling CMSC 722, AI Planning Planning and Scheduling Dana S. Nau University of Maryland 1:26 PM April 24, 2012 1 Scheduling Given: actions to perform set of resources to use time constraints» e.g., the ones computed

More information

Data Structures in Java

Data Structures in Java Data Structures in Java Lecture 21: Introduction to NP-Completeness 12/9/2015 Daniel Bauer Algorithms and Problem Solving Purpose of algorithms: find solutions to problems. Data Structures provide ways

More information

8. INTRACTABILITY I. Lecture slides by Kevin Wayne Copyright 2005 Pearson-Addison Wesley. Last updated on 2/6/18 2:16 AM

8. INTRACTABILITY I. Lecture slides by Kevin Wayne Copyright 2005 Pearson-Addison Wesley. Last updated on 2/6/18 2:16 AM 8. INTRACTABILITY I poly-time reductions packing and covering problems constraint satisfaction problems sequencing problems partitioning problems graph coloring numerical problems Lecture slides by Kevin

More information

Integer Linear Programming (ILP)

Integer Linear Programming (ILP) Integer Linear Programming (ILP) Zdeněk Hanzálek, Přemysl Šůcha hanzalek@fel.cvut.cz CTU in Prague March 8, 2017 Z. Hanzálek (CTU) Integer Linear Programming (ILP) March 8, 2017 1 / 43 Table of contents

More information

Lecture 6 January 21, 2013

Lecture 6 January 21, 2013 UBC CPSC 536N: Sparse Approximations Winter 03 Prof. Nick Harvey Lecture 6 January, 03 Scribe: Zachary Drudi In the previous lecture, we discussed max flow problems. Today, we consider the Travelling Salesman

More information

On the strength of approximate linear programming relaxations for the traveling salesman problem

On the strength of approximate linear programming relaxations for the traveling salesman problem On the strength of approximate linear programming relaxations for the traveling salesman problem Ricardo Fukasawa Department of Combinatorics and Optimization University of Waterloo Waterloo, ON, Canada

More information

SAT, Coloring, Hamiltonian Cycle, TSP

SAT, Coloring, Hamiltonian Cycle, TSP 1 SAT, Coloring, Hamiltonian Cycle, TSP Slides by Carl Kingsford Apr. 28, 2014 Sects. 8.2, 8.7, 8.5 2 Boolean Formulas Boolean Formulas: Variables: x 1, x 2, x 3 (can be either true or false) Terms: t

More information

Valid Inequalities and Separation for the Symmetric Sequential Ordering Problem

Valid Inequalities and Separation for the Symmetric Sequential Ordering Problem Valid Inequalities and Separation for the Symmetric Sequential Ordering Problem Adam N. Letchford Yanjun Li Draft, April 2014 Abstract The sequential ordering problem (SOP) is the generalisation of the

More information

The Traveling Salesman Problem with Pickup and Delivery. A polyhedral approach. IBM Research - Australia. Irina Dumitrescu

The Traveling Salesman Problem with Pickup and Delivery. A polyhedral approach. IBM Research - Australia. Irina Dumitrescu Australia The Traveling Salesman Problem with Pickup and Delivery A polyhedral approach Irina Dumitrescu Jean-Francois Cordeau, Gilbert Laporte, Stefan Ropke The TSP with Pickup and Delivery (TSPPD) Given:

More information

MVE165/MMG630, Applied Optimization Lecture 6 Integer linear programming: models and applications; complexity. Ann-Brith Strömberg

MVE165/MMG630, Applied Optimization Lecture 6 Integer linear programming: models and applications; complexity. Ann-Brith Strömberg MVE165/MMG630, Integer linear programming: models and applications; complexity Ann-Brith Strömberg 2011 04 01 Modelling with integer variables (Ch. 13.1) Variables Linear programming (LP) uses continuous

More information

arxiv:cs/ v3 [cs.dm] 25 Sep 2008

arxiv:cs/ v3 [cs.dm] 25 Sep 2008 A POLYNOMIAL TIME ALGORITHM FOR THE TRAVELING SALESMAN PROBLEM arxiv:cs/0610042v3 [csdm] 25 Sep 2008 SERGEY GUBIN Abstract The ATSP polytope can be expressed by asymmetric polynomial size linear program

More information

Chapter 8. NP and Computational Intractability. Slides by Kevin Wayne. Copyright 2005 Pearson-Addison Wesley. All rights reserved.

Chapter 8. NP and Computational Intractability. Slides by Kevin Wayne. Copyright 2005 Pearson-Addison Wesley. All rights reserved. Chapter 8 NP and Computational Intractability Slides by Kevin Wayne. Copyright 2005 Pearson-Addison Wesley. All rights reserved. 1 8.5 Sequencing Problems Basic genres.! Packing problems: SET-PACKING,

More information

Algorithms. NP -Complete Problems. Dong Kyue Kim Hanyang University

Algorithms. NP -Complete Problems. Dong Kyue Kim Hanyang University Algorithms NP -Complete Problems Dong Kyue Kim Hanyang University dqkim@hanyang.ac.kr The Class P Definition 13.2 Polynomially bounded An algorithm is said to be polynomially bounded if its worst-case

More information