Combining Constraint Programming and Integer Programming

Similar documents
Single-Facility Scheduling over Long Time Horizons by Logic-based Benders Decomposition

College of Computer & Information Science Fall 2009 Northeastern University 20 October 2009

U.C. Berkeley CS294: Beyond Worst-Case Analysis Luca Trevisan September 5, 2017

Global Optimization of Truss. Structure Design INFORMS J. N. Hooker. Tallys Yunes. Slide 1

Some modelling aspects for the Matlab implementation of MMA

NP-Completeness : Proofs

CS : Algorithms and Uncertainty Lecture 17 Date: October 26, 2016

Simultaneous Optimization of Berth Allocation, Quay Crane Assignment and Quay Crane Scheduling Problems in Container Terminals

MMA and GCMMA two methods for nonlinear optimization

Lecture 20: Lift and Project, SDP Duality. Today we will study the Lift and Project method. Then we will prove the SDP duality theorem.

Module 9. Lecture 6. Duality in Assignment Problems

Problem Set 9 Solutions

A Search-Infer-and-Relax Framework for. Integrating Solution Methods. Carnegie Mellon University CPAIOR, May John Hooker

A Modeling System to Combine Optimization and Constraint. Programming. INFORMS, November Carnegie Mellon University.

Feature Selection: Part 1

= z 20 z n. (k 20) + 4 z k = 4

Calculation of time complexity (3%)

CS 331 DESIGN AND ANALYSIS OF ALGORITHMS DYNAMIC PROGRAMMING. Dr. Daisy Tang

Yong Joon Ryang. 1. Introduction Consider the multicommodity transportation problem with convex quadratic cost function. 1 2 (x x0 ) T Q(x x 0 )

Optimization Methods for Engineering Design. Logic-Based. John Hooker. Turkish Operational Research Society. Carnegie Mellon University

VARIATION OF CONSTANT SUM CONSTRAINT FOR INTEGER MODEL WITH NON UNIFORM VARIABLES

COS 521: Advanced Algorithms Game Theory and Linear Programming

SOLVING CAPACITATED VEHICLE ROUTING PROBLEMS WITH TIME WINDOWS BY GOAL PROGRAMMING APPROACH

Chapter 5. Solution of System of Linear Equations. Module No. 6. Solution of Inconsistent and Ill Conditioned Systems

Planning and Scheduling to Minimize Makespan & Tardiness. John Hooker Carnegie Mellon University September 2006

princeton univ. F 17 cos 521: Advanced Algorithm Design Lecture 7: LP Duality Lecturer: Matt Weinberg

Common loop optimizations. Example to improve locality. Why Dependence Analysis. Data Dependence in Loops. Goal is to find best schedule:

Exercises. 18 Algorithms

Optimal Solution to the Problem of Balanced Academic Curriculum Problem Using Tabu Search

Computing Correlated Equilibria in Multi-Player Games

The Minimum Universal Cost Flow in an Infeasible Flow Network

On the Multicriteria Integer Network Flow Problem

A 2D Bounded Linear Program (H,c) 2D Linear Programming

Solutions HW #2. minimize. Ax = b. Give the dual problem, and make the implicit equality constraints explicit. Solution.

EEL 6266 Power System Operation and Control. Chapter 3 Economic Dispatch Using Dynamic Programming

An Integrated OR/CP Method for Planning and Scheduling

Module 3 LOSSY IMAGE COMPRESSION SYSTEMS. Version 2 ECE IIT, Kharagpur

Differential Evolution Algorithm with a Modified Archiving-based Adaptive Tradeoff Model for Optimal Power Flow

Kernel Methods and SVMs Extension

Dynamic Programming. Preview. Dynamic Programming. Dynamic Programming. Dynamic Programming (Example: Fibonacci Sequence)

Xiangwen Li. March 8th and March 13th, 2001

What is LP? LP is an optimization technique that allocates limited resources among competing activities in the best possible manner.

Example: (13320, 22140) =? Solution #1: The divisors of are 1, 2, 3, 4, 5, 6, 9, 10, 12, 15, 18, 20, 27, 30, 36, 41,

Outline and Reading. Dynamic Programming. Dynamic Programming revealed. Computing Fibonacci. The General Dynamic Programming Technique

An Admission Control Algorithm in Cloud Computing Systems

6.854J / J Advanced Algorithms Fall 2008

A Linear Programming Approach to the Train Timetabling Problem

Discussion 11 Summary 11/20/2018

Math Review. CptS 223 Advanced Data Structures. Larry Holder School of Electrical Engineering and Computer Science Washington State University

Physics 4B. A positive value is obtained, so the current is counterclockwise around the circuit.

Polynomial Regression Models

Chapter 8 SCALAR QUANTIZATION

THE SUMMATION NOTATION Ʃ

Greedy can also beat pure dynamic programming

Modelling and Constraint Hardness Characterisation of the Unique-Path OSPF Weight Setting Problem

CS-433: Simulation and Modeling Modeling and Probability Review

Report on Image warping

Interactive Bi-Level Multi-Objective Integer. Non-linear Programming Problem

An Algebraic Approach to Constraint Satisfaction Problems

Resource Allocation with a Budget Constraint for Computing Independent Tasks in the Cloud

Solving Fuzzy Linear Programming Problem With Fuzzy Relational Equation Constraint

Lecture 3: Probability Distributions

Asymmetric Traveling Salesman Path and Directed Latency Problems

Which Separator? Spring 1

Lecture 17: Lee-Sidford Barrier

Lecture 10: Euler s Equations for Multivariable

A Bayes Algorithm for the Multitask Pattern Recognition Problem Direct Approach

The Study of Teaching-learning-based Optimization Algorithm

Lecture 10 Support Vector Machines II

Tornado and Luby Transform Codes. Ashish Khisti Presentation October 22, 2003

Additional Codes using Finite Difference Method. 1 HJB Equation for Consumption-Saving Problem Without Uncertainty

Operations Research Letters. Simpler analysis of LP extreme points for traveling salesman and survivable network design problems

Assortment Optimization under MNL

Prof. Dr. I. Nasser Phys 630, T Aug-15 One_dimensional_Ising_Model

Fundamental loop-current method using virtual voltage sources technique for special cases

Optimal Dispatch in Electricity Markets

Expected Value and Variance

Min Cut, Fast Cut, Polynomial Identities

Dynamic Programming! CSE 417: Algorithms and Computational Complexity!

Incremental and Encoding Formulations for Mixed Integer Programming

For now, let us focus on a specific model of neurons. These are simplified from reality but can achieve remarkable results.

Probabilistic & Unsupervised Learning

CSci 6974 and ECSE 6966 Math. Tech. for Vision, Graphics and Robotics Lecture 21, April 17, 2006 Estimating A Plane Homography

Algorithmica 2001 Springer-Verlag New York Inc.

Learning Theory: Lecture Notes

Maximal Margin Classifier

Lecture 12: Discrete Laplacian

Incremental and Encoding Formulations for Mixed Integer Programming

Effective Power Optimization combining Placement, Sizing, and Multi-Vt techniques

Asymptotically Optimal Algorithms for Job Shop Scheduling and Packet Routing

CHAPTER 5 NUMERICAL EVALUATION OF DYNAMIC RESPONSE

TRANSPOSE ON VERTEX SYMMETRIC DIGRAPHS

Finding Dense Subgraphs in G(n, 1/2)

Solving Nonlinear Differential Equations by a Neural Network Method

Introduction to Algorithms

Introduction to Algorithms

Lecture Randomized Load Balancing strategies and their analysis. Probability concepts include, counting, the union bound, and Chernoff bounds.

Case A. P k = Ni ( 2L i k 1 ) + (# big cells) 10d 2 P k.

NUMERICAL DIFFERENTIATION

Drago{ CVETKOVI] Mirjana ^ANGALOVI] 1. INTRODUCTION

Transcription:

Combnng Constrant Programmng and Integer Programmng GLOBAL CONSTRAINT OPTIMIZATION COMPONENT Specal Purpose Algorthm mn c T x +(x- 0 ) x( + ()) =1 x( - ()) =1 FILTERING ALGORITHM COST-BASED FILTERING ALGORITHM CUT GENERATOR IP- Model mn Z = c x = 1 V x = 1 V S V V V V x x 1 SV S V\S x 0 and nteger 1

Constrant Programmng (CP) Prelmnares CP on Fnte Domans CP(FD): a programmng paradgm explotng Constrant Satsfacton technques A Constrant Satsfacton Problem (CSP) conssts of: a set of varables (V 1, V 2,,V n ) a dscrete doman (D 1,D 2,,D n ) for each varable a set of constrants on te varables: relatons among varables whch represent a subset of the Cartesan product of the domans D 1 x D 2 x... x D n Soluton of a CSP: an assgnment of values to varables consstent wth the constrants E. Tsang: : Foundatons of Constrant Satsfacton Academc Press,1992. 2

Each varable s nvolved n many constrants Any change n the doman of a sngle varable may propagate to other varables. Constrants agents vew: durng ther lfetme, the constrants alternate ther status between suspended and woken states (trggered by events). Example: CP Prelmnares nteracton among constrants X = Y + 1 X::[1..5], Y::[1..5], Z::[1..5] Y = Z + 1 X = Z - 1 3

X = Y + 1 X::[1..5], Y::[1..5], Z::[1..5] Y = Z + 1 X = Z - 1 Frst propagaton of X = Y + 1 yelds X::[2..5], Y::[1..4], Z::[1..5] X = Y + 1 s then suspended 4

Second propagaton of Y = Z + 1 yelds X::[2..5], Y::[2..4], Z::[1..3] Y = Z + 1 s then suspended The doman of Y has changed, X = Y + 1 s then awakened X::[3..5], Y::[2..4], Z::[1..3] X = Y + 1 s then suspended 5

Thrd propagaton of X = Z - 1 yelds X::[] Y::[2..4] Z::[1..3] FAILURE detected 6

CP Prelmnares search Prunng all the nfeasble values from varable domans often has the same complexty as solvng the orgnal problem Propagaton algorthms are then ncomplete,.e., when propagaton s stopped, stll some values left n the varable domans can be nconsstent a SEARCH step s executed. P Branchng strateges defne the way of parttonng the problem P nto easer subproblems P 1, P 2,, P n. To each subproblem: apply agan propagaton. P 1 P 2 P 3 P 4 P n New branches can be pruned because of the new nformaton derved from the branchng 7

The search scheme varable selecton contnue on success value selecton constrant propagaton backtrack on falure const. 1 const 2 const 3 8

CP Prelmnares: dealng wth an obectve functon What about the obectve functon? As soon as a feasble soluton of value Z * (say) s found, a new boundng constrant s added so as to mpose that further solutons must have a better value: Z < Z * Hence, CP solves a sequence of feasblty problems, constraned to mprove the obectve functon value. However: Z s n general the sum of the values assumed by several varables the propagaton of the boundng constrant s typcally very weak 9

Example: (ATSP) Asymmetrc Travelng SalesmanProblem Gven a drected graph G=(V,A) wth nodes 0,1,, n-1 arc costs c Fnd a Hamltonan tour (= closed crcut passng exactly once through all nodes) of mnmum total cost 0 c 10

ATSP: a CP model Gven the drected graph G=(V,A), assocate to each node a varable X whose doman contans the next possble nodes n a smple path. CP standard modules nclude the followng path constrant: X 0 ::D 0, X 1 ::D 1,..., X k ::D k path([x 0,X 1,,X k ]) sayng that the assgnment of varables X 0,X 1,,X k has to defne a smple path nvolvng all nodes 0,,k. 11

The Asymmetrc Travellng Salesman Problem (ATSP) can then be formulated through the CP path constrant as follows: one of the nodes, say node 0, s duplcated generatng node n the constrant path([x 0,X 1,,X n ]) s mposed 0 n c 12

13 ATSP: an IP model A x S V S x V x V x To Subect x c Mnmze S S V V A >= >= = = = = ), ( nteger 0 (no subtours) 0 : 1 1) (outdegree 1 1) (ndegree 1 : : ), ( thesoluton n ff x ), ( = 1 0 {0,1} x

Comparng the CP and IP models CP- Model: X ::[v 1,v 2,,v n ] =0..n-1 path([x 0,X 1,,X n ]) C ::[c 1,c 2,,c n ]=0..n-1 C n = 0; X n = 0; C 0 + +C n-1 = Z mnmze(z) X = v path ([X 0, X 1,.., X n ]) C =c Mappng IP- Model mn Z = c x = 1 V x = 1 V S V V V V x x 1 SV S V\S x 0 and nteger x =1 lnear constr.s c ff x =1 14

Pure IP vs Pure CP [red,blue,green,yellow,pnk] [red,blue,green,yellow,pnk] V 1 V 2 V 3 V 4 V 5 [red,blue,green,yellow,pnk] [red,blue,green,yellow,pnk] Tght LP relaxaton, easy feasblty: IP wns Almost useless LP relaxaton, hard feasblty: CP wns 15

CP+IP: prelmnary results Although CP s not compettve for problems lke TSP and ATSP, the addton of an IP optmzaton component wthn the CP framework allows for the soluton of nstances of sgnfcantly larger sze (Lod et al., 2003) Pure CP gets stuck on problems wth 15-20 nodes. TSP and ATSP nstances Instance pure AP AP + Lagrangean relaxaton of cuts Opt Tme Fals Opt Tme Fals Gr17 2085 0.39 511 2085 0.49 30 Fr26 937 0.82 725 937 0.71 80 Bays29 2020 4.12 4185 2020 1.20 403 Dantzg42 699 >300-699 5.55 1081 RY48P 14854* >300-14422 130.00 50K 16