1.2 Guidelines for strong formulations

Slides:



Advertisements
Similar presentations
Branch-and-Bound Technique for Solving Integer Programs
Advertisements

Branch-and-Bound In this handout,  Summary of branch-and-bound for integer programs Updating the lower and upper bounds for OPT(IP) Summary of fathoming.
How should we define corner points? Under any reasonable definition, point x should be considered a corner point x What is a corner point?
Instructor Neelima Gupta Table of Contents Lp –rounding Dual Fitting LP-Duality.
Approximation Algorithms
Integer Programming Difference from linear programming –Variables x i must take on integral values, not real values Lots of interesting problems can be.
Daniel Kroening and Ofer Strichman Decision Procedures An Algorithmic Point of View Deciding ILPs with Branch & Bound ILP References: ‘Integer Programming’
Decision Procedures An Algorithmic Point of View
Approximating Minimum Bounded Degree Spanning Tree (MBDST) Mohit Singh and Lap Chi Lau “Approximating Minimum Bounded DegreeApproximating Minimum Bounded.
Linear Programming System of Linear Inequalities  The solution set of LP is described by Ax  b. Gauss showed how to solve a system of linear.
Approximation Algorithms Department of Mathematics and Computer Science Drexel University.
MILP algorithms: branch-and-bound and branch-and-cut
Chapter 1. Formulations 1. Integer Programming  Mixed Integer Optimization Problem (or (Linear) Mixed Integer Program, MIP) min c’x + d’y Ax +
Chap 10. Integer Prog. Formulations
I.4 Polyhedral Theory 1. Integer Programming  Objective of Study: want to know how to describe the convex hull of the solution set to the IP problem.
OR Chapter 8. General LP Problems Converting other forms to general LP problem : min c’x  - max (-c)’x   = by adding a nonnegative slack variable.
CPSC 536N Sparse Approximations Winter 2013 Lecture 1 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AAAAAAAAAA.
1/74 Lagrangian Relaxation and Network Optimization Cheng-Ta Lee Department of Information Management National Taiwan University September 29, 2005.
1.2 Guidelines for strong formulations  Running time for LP usually depends on m and n ( number of iterations O(m), O(log n)). Not critically depend on.
Chapter 2. Optimal Trees and Paths Combinatorial Optimization
Lecture.6. Table of Contents Lp –rounding Dual Fitting LP-Duality.
Proving that a Valid Inequality is Facet-defining  Ref: W, p  X  Z + n. For simplicity, assume conv(X) bounded and full-dimensional. Consider.
Linear Programming Chap 2. The Geometry of LP  In the text, polyhedron is defined as P = { x  R n : Ax  b }. So some of our earlier results should.
Approximation Algorithms Duality My T. UF.
OR Chapter 4. How fast is the simplex method  Efficiency of an algorithm : measured by running time (number of unit operations) with respect to.
Linear Programming Piyush Kumar Welcome to CIS5930.
Water Resources Development and Management Optimization (Integer and Mixed Integer Programming) CVEN 5393 Mar 28, 2011.
Lap Chi Lau we will only use slides 4 to 19
Chap 10. Sensitivity Analysis
Chapter 1. Introduction Ex : Diet Problem
Topics in Algorithms Lap Chi Lau.
5.3 Mixed-Integer Nonlinear Programming (MINLP) Models
6.5 Stochastic Prog. and Benders’ decomposition
Proving that a Valid Inequality is Facet-defining
Chapter 5. Optimal Matchings
MILP algorithms: branch-and-bound and branch-and-cut
1.3 Modeling with exponentially many constr.
Chap 9. General LP problems: Duality and Infeasibility
Polyhedron Here, we derive a representation of polyhedron and see the properties of the generators. We also see how to identify the generators. The results.
Chapter 6. Large Scale Optimization
Chapter 5. Sensitivity Analysis
Chap 3. The simplex method
Integer Programming (정수계획법)
Polyhedron Here, we derive a representation of polyhedron and see the properties of the generators. We also see how to identify the generators. The results.
I.5. Computational Complexity
Chapter 6. Large Scale Optimization
2. Generating All Valid Inequalities
Chapter 1. Formulations (BW)
Chapter 8. General LP Problems
2.2 Shortest Paths Def: directed graph or digraph
1.3 Modeling with exponentially many constr.
Chapter 5. The Duality Theorem
Integer Programming (정수계획법)
I.4 Polyhedral Theory (NW)
Flow Feasibility Problems
I.4 Polyhedral Theory.
Proving that a Valid Inequality is Facet-defining
Chapter 8. General LP Problems
Part II General Integer Programming
6.5 Stochastic Prog. and Benders’ decomposition
Chapter 2. Simplex method
Dr. Arslan Ornek DETERMINISTIC OPTIMIZATION MODELS
Chapter 8. General LP Problems
Chapter 1. Formulations.
Branch-and-Bound Algorithm for Integer Program
Chapter 6. Large Scale Optimization
Branch-and-Bound Technique for Solving Integer Programs
Chapter 2. Simplex method
1.2 Guidelines for strong formulations
Presentation transcript:

1.2 Guidelines for strong formulations Running time for LP usually depends on 𝑚 and 𝑛 ( number of iterations are O(𝑚), O(log 𝑛)). Not critically depend on formulation (usually). For IP, the running time is very erratic on different classes of problems and also depends on the choice of formulation significantly. Reason: most algorithms for IP are basically divide-and-conquer type. If the enumeration tree grows big, running time becomes prohibitive.  recent research efforts mostly focus on preventing the growth of the enumeration tree. Also, there are strong theoretical indication that divide-and-conquer may be the best we can do to solve general IP problems (no efficient algorithms exist). However, recent advances in theory and software make it possible to solve many practically sized problems (very fast in some cases). Integer Programming 2015

(ii) 𝑐 ′ 𝑥≤ 𝑧 𝑅 (𝑥) for all 𝑥∈𝑆. Definition 1.1: The linear relaxation of MIP is obtained by dropping the integrality requirements on integer variables (resulting problem is LP) Def (NW, p298, in max form) A problem (RP) 𝑧 𝑅 = max { 𝑧 𝑅 𝑥 :𝑥∈ 𝑆 𝑅 } is a relaxation of (IP) 𝑧 𝐼𝑃 = max { 𝑐 ′ 𝑥:𝑥∈𝑆} if : (i) 𝑆⊆ 𝑆 𝑅 , and (ii) 𝑐 ′ 𝑥≤ 𝑧 𝑅 (𝑥) for all 𝑥∈𝑆. Prop 1.1) If RP is infeasible, so is IP. If IP is feasible, then 𝑧 𝐼𝑃 ≤ 𝑧 𝑅 . pf) From (i), first statement is true. Now suppose 𝑧 𝐼𝑃 is finite and let 𝑥 0 be an optimal solution to IP. Then 𝑧 𝐼𝑃 =𝑐′ 𝑥 0 ≤ 𝑧 𝑅 𝑥 0 ≤ 𝑧 𝑅 . Finally, if 𝑧 𝐼𝑃 =∞, (i) and (ii) imply that 𝑧 𝑅 =∞.  Hence optimal solution to a relaxation provides an upper bound on optimal value (for maximization problem). (Lower bound for minimization problem.) Integer Programming 2015

(Back to minimization problem) Typical methods to obtain lower bound Relaxation Dual problem LP relaxation widely used, but there are other types of relaxations: Lagrangian relaxation, combinatorial relaxation, semidefinite relaxation, … Purpose is to obtain lower bound Upper bound usually obtained by finding a feasible solution. If lower bound = upper bound, it is optimal value (we may need to find the solution additionally) We usually use divide-and- conquer. If 𝑧 𝐿𝑃 is the lower bound for a subproblem, and 𝑧′ is the current best objective value we know (upper bound) and 𝑧 𝐿𝑃 ≥𝑧′, then we can discard the subproblem since the subproblem does not have a better solution. So it is important to have a good (tight) lower bound to increase the possibility of pruning the subproblem early in the divide-and-conquer (branch-and-bound method). Integer Programming 2015

Suppose we have two formulations A and B for the same problem, and let 𝑃 𝐴 and 𝑃 𝐵 be the polyhedra defined by the LP relaxation of the formulations, respectively. Then, if 𝑃 𝐴 ⊆ 𝑃 𝐵 , we have 𝑧 ∗ ≥ 𝑧 𝐴 ≥ 𝑧 𝐵 . So 𝑃 𝐴 gives tighter lower bound, hence better formulation. If an optimal solution to the relaxation is feasible to the MIP, then it is also an optimal solution to MIP. Integer Programming 2015

Ex: Facility location problem Alternative formulation: min 𝑗∈𝑁 𝑐 𝑗 𝑦 𝑗 + 𝑖∈𝑀 𝑗∈𝑁 𝑑 𝑖𝑗 𝑥 𝑖𝑗 𝑗∈𝑁 𝑥 𝑖𝑗 =1, for 𝑖∈𝑀 𝑖∈𝑀 𝑥 𝑖𝑗 ≤𝑚 𝑦 𝑗 , for 𝑗∈𝑁 0≤ 𝑥 𝑖𝑗 ≤1 for 𝑖∈𝑀, 𝑗∈𝑁, 𝑦 𝑗 ∈ 0, 1 for 𝑗∈𝑁 Let 𝑃 𝐹𝐿 ={ 𝑥,𝑦 ′ : 𝑗∈𝑁 𝑥 𝑖𝑗 =1, ∀ 𝑖, 𝑥 𝑖𝑗 ≤ 𝑦 𝑗 , ∀ 𝑖,𝑗 0≤ 𝑥 𝑖𝑗 ≤1, 0≤ 𝑦 𝑗 ≤1} 𝑃 𝐴𝐹𝐿 ={ 𝑥,𝑦 ′ : 𝑗∈𝑁 𝑥 𝑖𝑗 =1, ∀ 𝑖, 𝑖∈𝑀 𝑥 𝑖𝑗 ≤𝑚 𝑦 𝑗 , ∀𝑗 𝑃 𝐹𝐿 ⊂ 𝑃 𝐴𝐹𝐿 , and the inclusion can be strict. Hence 𝑧 𝐹𝐿 ≥ 𝑧 𝐴𝐹𝐿 . Integer Programming 2015

Consider the LP optimal solutions for the two LP relaxations Consider the LP optimal solutions for the two LP relaxations. An extreme point optimal solution exists for a linear programming problem (if opt solution exists). Recall that an extreme point can be characterized by setting 𝑛 of the linearly independent inequalities (in 𝑅 𝑛 ) at equalities, which provides a unique solution, and the obtained point is in the polyhedron (satisfies other inequalities). In 𝑃 𝐹𝐿 , if the constraint 𝑥 𝑖𝑗 ≤ 𝑦 𝑗 is active (hold at equality) at an extreme point optimal solution, the value of 𝑦 𝑗 is likely to be large (close to 1). Hence the optimal objective value for the LP relaxation can be large. However, for 𝑃 𝐴𝐹𝐿 , if the constraint 𝑖∈𝑀 𝑥 𝑖𝑗 ≤𝑚 𝑦 𝑗 is active at an extreme point optimal solution, the value of 𝑦 𝑗 can be small because of 𝑚. Hence the optimal objective value can be small, which results in small lower bound. For the same reason, the use of big−𝑀 in the formulation can be bad for the algorithm performance. (Recall the formulations for disjunctive constraints.) Integer Programming 2015

PAFL PFL conv(F) Integer Programming 2015

Ideal Formulation (also in Chap 3, BW) Def: Given a set 𝑋⊆ 𝑅 𝑛 , the convex hull of 𝑋, denoted conv(𝑋), is defined as: conv(𝑋)={𝑥:𝑥= 𝑖=1 𝑡 𝜆 𝑖 𝑥 𝑖 , 𝑖=1 𝑡 𝜆 𝑖 =1, 𝜆 𝑖 ≥0 for 𝑖=1,…,𝑡 over all finite subsets 𝑥 1 ,…, 𝑥 𝑡 of 𝑋} Assume 𝑋 finite, then Prop 1.1: conv(𝑋) is a polyhedron. (polytope) Prop 1.2: The extreme points of conv(𝑋) all lie in 𝑋. Props also hold for unbounded integer sets. (NW, p104) Rationale: to solve IP : max 𝑐 ′ 𝑥:𝑥∈𝑋 , Solve max 𝑐 ′ 𝑥:𝑥∈𝑐𝑜𝑛𝑣(𝑋) . The problem is LP and LP has an extreme point optimal solution (simplex method can find it). Integer Programming 2015

But conv(𝑋) may need lots of inequalities (not a big problem) to describe and/or we may have limited knowledge about the characteristics of the inequalities ( trouble). Good approximation to conv(𝑋) is helpful ( 𝑋⊆𝑐𝑜𝑛𝑣(𝑋)⊆𝑃), we may have stronger bound. Integer Programming 2015

Ex : The pigeon hole principle Place 𝑛+1 pigeons into 𝑛 holes in such a way that no two pigeons share the same hole. (impossible) Formulations: ( 𝑥 𝑖𝑗 =1: pigeon 𝑖 occupies hole 𝑗) (1.3) 𝑗=1 𝑛 𝑥 𝑖𝑗 =1, 𝑖=1,…,𝑛+1, 𝑥 𝑖𝑗 + 𝑥 𝑘𝑗 ≤1, 𝑗=1,…,𝑛, 𝑖≠𝑘, 𝑖,𝑘=1,…,𝑛+1, 𝑥 𝑖𝑗 ∈ 0,1 , 𝑖=1,…,𝑛+1, 𝑗=1,…,𝑛 (1.4) 𝑗=1 𝑛 𝑥 𝑖𝑗 =1, 𝑖=1,…,𝑛+1, 𝑖=1 𝑛+1 𝑥 𝑖𝑗 ≤1, 𝑗=1,…,𝑛, 𝑥 𝑖𝑗 =1/𝑛 for all 𝑖,𝑗 satisfies LP relaxation of (1.3), but LP relaxation of (1.4) infeasible. Integer Programming 2015