Integer Programming (IP)

Similar documents
Optimization Methods: Linear Programming Applications Assignment Problem 1. Module 4 Lecture Notes 3. Assignment Problem

A NEW APPROACH TO SOLVE AN UNBALANCED ASSIGNMENT PROBLEM

IP Reference guide for integer programming formulations.

THE SOLUTION OF NONLINEAR EQUATIONS f( x ) = 0.

TRANSPORTATION AND ASSIGNMENT PROBLEMS

Graph Theory and Optimization Integer Linear Programming

1.225J J (ESD 205) Transportation Flow Systems

Optimization Methods MIT 2.098/6.255/ Final exam

Weight Moving Average = n

LINEAR PROGRAMMING II

Linearly Independent Sets, Bases. Review. Remarks. A set of vectors,,, in a vector space is said to be linearly independent if the vector equation

Definitions and Theorems. where x are the decision variables. c, b, and a are constant coefficients.

FLOWSHOP SCHEDULING USING A NETWORK APPROACH

Lecture #20. n ( x p i )1/p = max

Optimally Sparse SVMs

Example 2. Find the upper bound for the remainder for the approximation from Example 1.

6.3 Testing Series With Positive Terms

CSE 191, Class Note 05: Counting Methods Computer Sci & Eng Dept SUNY Buffalo

The New Assembly Line of the Car Corp. School Mathematics in Production Planning

A widely used display of protein shapes is based on the coordinates of the alpha carbons - - C α

Linear Programming and the Simplex Method

Lesson 10: Limits and Continuity

Math 61CM - Solutions to homework 3

Maximum and Minimum Values

w (1) ˆx w (1) x (1) /ρ and w (2) ˆx w (2) x (2) /ρ.

A New Solution Method for the Finite-Horizon Discrete-Time EOQ Problem

Because it tests for differences between multiple pairs of means in one test, it is called an omnibus test.

CALCULUS BASIC SUMMER REVIEW

62. Power series Definition 16. (Power series) Given a sequence {c n }, the series. c n x n = c 0 + c 1 x + c 2 x 2 + c 3 x 3 +

L = n i, i=1. dp p n 1

Constraint Satisfaction. Algorithm Design (3) Constraint Satisfaction and Optimization. Formalization of Constraint Satisfaction Problems

Scheduling under Uncertainty using MILP Sensitivity Analysis

CS434a/541a: Pattern Recognition Prof. Olga Veksler. Lecture 5

Polynomial Functions and Their Graphs

ECONOMIC OPERATION OF POWER SYSTEMS

Math 312 Lecture Notes One Dimensional Maps

Dynamic Programming. Sequence Of Decisions

Dynamic Programming. Sequence Of Decisions. 0/1 Knapsack Problem. Sequence Of Decisions

First come, first served (FCFS) Batch

, then cv V. Differential Equations Elements of Lineaer Algebra Name: Consider the differential equation. and y2 cos( kx)

ACO Comprehensive Exam 9 October 2007 Student code A. 1. Graph Theory

subject to A 1 x + A 2 y b x j 0, j = 1,,n 1 y j = 0 or 1, j = 1,,n 2

Linear regression. Daniel Hsu (COMS 4771) (y i x T i β)2 2πσ. 2 2σ 2. 1 n. (x T i β y i ) 2. 1 ˆβ arg min. β R n d

OPTIMISING YARD OPERATIONS IN PORT CONTAINER TERMINALS

6. Uniform distribution mod 1

As stated by Laplace, Probability is common sense reduced to calculation.

MTH Assignment 1 : Real Numbers, Sequences

Section 5.1 The Basics of Counting

Lecture 14: Graph Entropy

Chapter 7. Support Vector Machine

Practical Spectral Anaysis (continue) (from Boaz Porat s book) Frequency Measurement

FIXED POINTS OF n-valued MULTIMAPS OF THE CIRCLE

TEACHER CERTIFICATION STUDY GUIDE

M A T H F A L L CORRECTION. Algebra I 1 4 / 1 0 / U N I V E R S I T Y O F T O R O N T O

Mixed Acceptance Sampling Plans for Multiple Products Indexed by Cost of Inspection

The Method of Least Squares. To understand least squares fitting of data.

Chapter 2: Numerical Methods

Notes on iteration and Newton s method. Iteration

Apply change-of-basis formula to rewrite x as a linear combination of eigenvectors v j.

Ma 530 Introduction to Power Series

Markov Decision Processes

Information-based Feature Selection

Chapter 4. Fourier Series

Solutions for the Exam 9 January 2012

PC5215 Numerical Recipes with Applications - Review Problems

AP Calculus BC Review Applications of Derivatives (Chapter 4) and f,

Root Finding COS 323

Wednesday s lecture. Sums of normal random variables. Some examples, n=1. Central Limit Theorem

Exponential and Trigonometric Functions Lesson #1

Chapter Vectors

c. Explain the basic Newsvendor model. Why is it useful for SC models? e. What additional research do you believe will be helpful in this area?

Unit 6: Sequences and Series

Determine the Optimal Solution for Linear Programming with Interval Coefficients

SINGLE-CHANNEL QUEUING PROBLEMS APPROACH

Chapter 1 : Combinatorial Analysis

Classification of problem & problem solving strategies. classification of time complexities (linear, logarithmic etc)

f t dt. Write the third-degree Taylor polynomial for G

Chapter 7 z-transform

Graphical solutions of 2-variable problems Polyhedra and convex sets. Recall: piecewise linear convex functions

Chapter 6 Infinite Series

INF Introduction to classifiction Anne Solberg Based on Chapter 2 ( ) in Duda and Hart: Pattern Classification

MAT1026 Calculus II Basic Convergence Tests for Series

CHEE 221: Chemical Processes and Systems

A Model for Scheduling Deteriorating Jobs with Rate-Modifying-Activities on a Single Machine

Element sampling: Part 2

Chapter 8: Estimating with Confidence

Daniel Lee Muhammad Naeem Chingyu Hsu

IJSER 1 INTRODUCTION. limitations with a large number of jobs and when the number of machines are more than two.

Generalized Semi- Markov Processes (GSMP)

10-701/ Machine Learning Mid-term Exam Solution

MATH 304: MIDTERM EXAM SOLUTIONS

Image Spaces. What might an image space be

We are mainly going to be concerned with power series in x, such as. (x)} converges - that is, lims N n

1.3 Convergence Theorems of Fourier Series. k k k k. N N k 1. With this in mind, we state (without proof) the convergence of Fourier series.

(A sequence also can be thought of as the list of function values attained for a function f :ℵ X, where f (n) = x n for n 1.) x 1 x N +k x N +4 x 3

Integer Linear Programming

UNIVERSITY OF TORONTO Faculty of Arts and Science APRIL/MAY 2009 EXAMINATIONS ECO220Y1Y PART 1 OF 2 SOLUTIONS

Generating Functions. 1 Operations on generating functions

2 Dynamic Programming 2.1 Basic attributes of Dynamic Programming Basic attributes of Dynamic Programming 2.2 A DP approach for the Knapsack Problem

OPTIMIZED SOLUTION OF PRESSURE VESSEL DESIGN USING GEOMETRIC PROGRAMMING

Transcription:

Iteger Programmig (IP) The geeral liear mathematical programmig problem where Mied IP Problem - MIP ma c T + h Z T y A + G y + y b R p + vector of positive iteger variables y vector of positive real variables

Iteger Programmig (IP) Problems with iteger variables are said Combiatorial Problems Eamples of applicatios: Productio Schedulig Assig tasks to machies or productio lies ad determie their sequece o the machies Logistics Determie the optimal routig for a fleet of vehicles i order to deliver or pickup goods at customer locatios Facility locatio Determie the best locatio for oe or more distributio cetres i order to optimally reach the customers Network desig (trasportatio ad telecommuicatio) Plaig of ivestmets

Iteger Programmig (IP) Use iteger values if fractioal values are ot acceptable approimatios (e.g., determie the yearly productio of airplaes vs ail) Iteger variables ca model the use of idivisible resources or the selectio amog discrete alteratives Whe iteger variables are restricted to biary values 0- LP Biary variables model the choice betwee two alteratives or the occurrece or ot of evets = 0 the the evet evet occurs does ot occur Classical problems modelled with iteger variables Kapsack Problem Matchig/Assigmet Problem Fied Charge Problem Sequecig Problem

IP: kapsack problem Possible defiitios: Choose which obects carry i a kapsack for a campsite Select which goods to trasport i a cotaier Select which activities activate amog a set of alteratives (e.g., proects to be fuded): possible proects to be fuded with a maimum available budget b If proect, =,...,, is fuded the required ivestmet is a Proect provides a reveues equal to c Each proect caot be partially fuded: it may be completely fuded or ot fuded The problem Determie the best proects to be fuded i order to maimize the total reveue without eceedig the available budget

IP: kapsack problem Kapsack is differet from Product Mi (o fractioal solutio is allowed) Biary variables are eeded = =,..., 0 = -th proect is fuded =0 -th proect is ot fuded Obective fuctio: the total reveue for the fuded proect ma = c

IP: kapsack problem Costraits impose that variables assume values cosistet with their meaig The available budget is ot eceed (kapsack costrait) Variables assume biary values The Kapsack problem formulatio ma = = = c a a b b { 0,} = B =,..., { 0,} = B =,...,

IP: kapsack problem The multi-dimesioal KP The realizatio of the proects require fudig over m periods (moths) a the fud eeded for proect i period i, =,...,, i=,...,m b i available budget for period i, i=,...,m ma = = c a b i i =,..., m { 0,} = B =,...,

IP: assigmet problem Defiitio Assig m activities to workers ( m) Each worker ca at most perform a sigle activity The cost for assigig to worker, =,...,, activity i, i=,...,m, is c The problem Determie the assigmet of all the activities to the workers such that the total cost is miimized

IP: assigmet problem Graph represetatio Activities (i) c Workers () The problem: Determie which liks to itroduce betwee activity ad worker odes such that each activity ode is eactly paired to a worker ode

IP: assigmet problem Variables: m biary assigmet variables (associated with liks) = 0 Activity i assiged to worker Activity i ot assiged to worker i =,..., m =,..., Obective: Miimize the assigmet cost mi m i= = c

IP: assigmet problem Costraits: Each activity must be assiged = = i =,..., m Each worker ca at most perform a sigle activity m i= =,..., Variables are biary to esure that a activity is etirely assiged to a sigle worker { 0,} = B i =,..., m =,...,

IP: assigmet problem The assigmet problem formulatio mi m i= = = m i= i c = i =,..., m =,..., { 0, } = B i =,..., m =,...,

Trasportatio problem with fied charge A modified versio of the trasportatio problem: Trasportatio of a good (e.g., gas or oil) betwee m suppliers ad customers Each supplier coected to each customer by a trasportatio chael (e.g., pipelie) A flow betwee a supplier i, i=,...,m, ad a customer =,...,, ca be established if: A fied charge f is paid for retig the chael betwee i ad A trasportatio cost c is paid for each uit of good trasported from i to The maimum availability of supplier i is s i, i=,...,m. The demad of customer is r, =,...,. The problem Determie which chaels must be reted ad the flow i them so that the customers demad is satisfied at the miimum total cost

Trasportatio problem with fied charge The formulatio eteds that of trasportatio problem m cotiuous variables for the flow betwee i ad R, i=,...,m=,..., Biary variables are itroduced associated with each chael (i,) y = 0 (i,) is used (i,) is ot used i =,..., m =,...,

Trasportatio problem with fied charge The cost for each chael has a discotiuity Total cost c f The obective fuctio is o liear but it ca be still liearly modelled

Trasportatio problem with fied charge Obective fuctio It icludes both margial ad fied cost Trasportatio problem costraits Supplier capacities mi Customer demads m i = = m i = = ( c + Variables ad y must be liked: trasportatio is allowed oly o active (reted) chaels s i i =,..., f y m = r =,..., ) My i, (fied charge costraits) M is a Big-M

Trasportatio problem with fied charge If a maimum chael capacity q is give for the chaels we ca use q istead of M q y i, Defiitios of variables R + y B i =,..., m =,...,

Trasportatio problem with fied charge The problem formulatio mi m i= = = m i= ( c = s r My R + i + y f y ) i =,..., m =,..., i, B i =,..., m =,...,

Sequecig problem A commo problem i detailed plaig of productio activities: Determie the optimal sequece for a set of operatios (obs or tasks) of a productive resource (machie): idepedet obs must be sequeced o a sigle machie The machie ca process a sigle ob at a time Job processig caot be suspeded ad restarted (o preemptio is allowed) The processig time of ob i, i=,...,, is p i The obective is a cost usually associated with ob completio time, e.g.: Miimize the average ob completio time Miimize the maimum ob completio time (makespa) Miimize the sum of delays w.r.t. obs due dates No assumptio o the cost: we focus o costraits oly

Sequecig problem Variables: Cotiuous variables for the start time of obs t i R, i=,..., t i 0 We must model the fact that two obs caot overlap: Give two obs i ad oe of the followig alterative costraits must hold p i. if i precedes t t i + p i ob i ob t t i t p 2. if precedes i t i t + p ob ob i t t t i

Sequecig problem Oly oe costrait ca hold: disuctive costraits Accordig to the sequece oly oe of the two disuctive costraits must be active (ad the other oe must be ot bidig) Disuctive costraits are modelled with biary (sequecig) variables y B i =,..., =,..., = 0 For each uordered pair of ob, i,, (i<) the disuctive costraits are y i precedes i ot precede t t i t + p M ( y ) t i i + p My where M >> i= p i Variables y give the sequecig order of obs

IP methods - itroductio Solvig a IP problem could seem easier tha a LP oe: IP polyhedra iclude a fiite umber of solutios However, let cosider a 2D eample... 2 LP 2 IP X X X = { R : A b} LP optimum is a verte X = { Z : A b} Ofte IP optimum is a iteral poit

IP methods - itroductio Very ofte Simple Alg. does ot geerate a feasible optimal solutio to IP problems From the 2D eample it could seem easy to fid the IP optimum from the LP oe: By approimatig the LP optimum Fidig the iteger poit closest to the LP optimum Both such strategies ca fail.

IP methods - itroductio Approimated solutios may be ot iteger feasible

IP methods - itroductio The closest iteger solutio may be ot optimal

IP methods - itroductio A serious difficulty: whe the problem dimesio (umber of variables) is ot small, eve if fiite, the umber of solutios ca be huge Biary problems (0- LP): the umber of possible solutios double for each added variable It grows as 2 where is the umber of variables eample =4 6 possible combiatios (solutios) =0 024 =30.07 0 9 000000 00000 5 2 4 3 Iteger problems: eve worse situatio Eample: 0 variables that ca assume 0 iteger values: the umber of combiatios is 0 0 0000 000 00 0 6 6 2 26 3 36 4