Docsity

Duality and Discrete Optimization: Lagrangian Relaxation and Integer Programming, Lecture notes of Mathematics

Partial preview of the text

Download Duality and Discrete Optimization: Lagrangian Relaxation and Integer Programming and more Lecture notes Mathematics in PDF only on Docsity!

Duality and Discrete

Optimization

Lecturer: Pradeep Ravikumar

Co-instructor: Aarti Singh

Convex Optimization 10-725/36-

Discrete Optimization

• Lagrangian Relaxation

• Consider

minimize f (x)

subject to x ∈ X, gj (x) ≤ 0 , j = 1,... , r,

where X is a finite set.

• Example: 0-1 Integer programming:

X =

(x 1 ,... , xn) | xi = 0 or 1 , i = 1,... , n

.

Example: Network Flow

{j|(i,j)∈A} {j|(j,i)∈A}

bij ≤ xij ≤ cij , ∀ (i, j) ∈ A, xij : integer, where aij , bij , cij , and si are given scalars.

  • Think of: − Nodes i with si > 0 and si < 0 as production and consumption points, respectively. − si supply or demand of node i. − Arcs (i, j) as transportation links with flow ca- pacity cij and cost per unit flow aij − Problem is to accomplish a minimum cost transfer from the supply to the demand points.
  • Important special cases: Shortest path, max- flow, transportation, assignment problems.

Example: Network Flow

EXAMPLES OF DISCRETE PROBLEMS

  • Given a directed graph with set of nodes N and

set of arcs (i, j) ∈ A, the (integer constrained) min-

imum cost network flow problem is

minimize

(i,j)∈A aij xij

subject to the constraints

{j|(i,j)∈A} xij −

{j|(j,i)∈A} xji = si, ∀ i ∈ N ,

bij ≤ xij ≤ cij , ∀ (i, j) ∈ A, xij : integer,

where aij , bij , cij , and si are given scalars.

  • Think of:

Unimodularity

optimal solutions of the integer-constrained prob- lem also solve the relaxed problem, obtained when the integer constraints are neglected.

  • Great practical significance, since the relaxed problem can be solved using efficient linear (not integer) programming algorithms.
  • This is special case of unimodularity: − A square matrix A with integer components is unimodular if its determinant is 0, 1, or -1. − If A is invertible and unimodular, by Kramer’s rule, the inverse matrix A − 1 has integer com- ponents. Hence, the solution x of the system Ax = b is integer for every integer vector b. − A rectangular matrix with integer components is called totally unimodular if each of its square submatrices is unimodular.
  • A polyhedron {x | Ex = d, b ≤ x ≤ c} has integer extreme points if E is totally unimodular and b, c, and d have integer components.
  • The matrix E corresponding to the minimum cost flow problem is totally unimodular.

Unimodularity

optimal solutions of the integer-constrained prob- lem also solve the relaxed problem, obtained when the integer constraints are neglected.

  • Great practical significance, since the relaxed problem can be solved using efficient linear (not integer) programming algorithms.
  • This is special case of unimodularity: − A square matrix A with integer components is unimodular if its determinant is 0, 1, or -1. − If A is invertible and unimodular, by Kramer’s rule, the inverse matrix A − 1 has integer com- ponents. Hence, the solution x of the system Ax = b is integer for every integer vector b. − A rectangular matrix with integer components is called totally unimodular if each of its square submatrices is unimodular.
  • A polyhedron {x | Ex = d, b ≤ x ≤ c} has integer extreme points if E is totally unimodular and b, c, and d have integer components.
  • The matrix E corresponding to the minimum cost flow problem is totally unimodular.

Unimodularity

optimal solutions of the integer-constrained prob- lem also solve the relaxed problem, obtained when the integer constraints are neglected.

  • Great practical significance, since the relaxed problem can be solved using efficient linear (not integer) programming algorithms.
  • This is special case of unimodularity: − A square matrix A with integer components is unimodular if its determinant is 0, 1, or -1. − If A is invertible and unimodular, by Kramer’s rule, the inverse matrix A − 1 has integer com- ponents. Hence, the solution x of the system Ax = b is integer for every integer vector b. − A rectangular matrix with integer components is called totally unimodular if each of its square submatrices is unimodular.
  • A polyhedron {x | Ex = d, b ≤ x ≤ c} has integer extreme points if E is totally unimodular and b, c, and d have integer components.
  • The matrix E corresponding to the minimum cost flow problem is totally unimodular.

Non-unimodular Problems EXAMPLES OF NONUNIMODULAR PROBLEMS

  • Unimodularity is an exceptional property.
  • Nonunimodular example (Traveling salesman problem): A salesman wants to find a minimum cost tour that visits each of N given cities exactly once and returns to the starting city.
  • Let aij : cost of going from city i to city j, and let xij be a variable that takes the value 1 if the salesman visits city j immediately following city i, and the value 0 otherwise. The problem is minimize

N

∑

i=

∑ j=1,...,N j ̸=i aij xij ̸ ̸

Example of Non-Unimodular Problem: Traveling Salesman Problem

  • Unimodularity is an exceptional property.
  • Nonunimodular example (Traveling salesman problem): A salesman wants to find a minimum cost tour that visits each of N given cities exactly once and returns to the starting city.
  • Let aij : cost of going from city i to city j, and let xij be a variable that takes the value 1 if the salesman visits city j immediately following city i, and the value 0 otherwise. The problem is minimize N ∑ i= ∑ j=1,...,N j ̸=i aij xij subject to ∑ j=1,...,N j ̸=i xij = 1, i = 1,... , N, ∑ i=1,...,N i̸=j xij = 1, j = 1,... , N, plus the constraints xij = 0 or 1 , and that the set of arcs {(i, j) | xij = 1} forms a connected tour, i.e., ∑ i∈S, j /∈S (xij +xji) ≥ 2 , ∀ proper subsets S of cities.

Example of Non-Unimodular Problem: Traveling Salesman Problem

  • Unimodularity is an exceptional property.
  • Nonunimodular example (Traveling salesman problem): A salesman wants to find a minimum cost tour that visits each of N given cities exactly once and returns to the starting city.
  • Let aij : cost of going from city i to city j, and let xij be a variable that takes the value 1 if the salesman visits city j immediately following city i, and the value 0 otherwise. The problem is minimize N ∑ i= ∑ j=1,...,N j ̸=i aij xij subject to ∑ j=1,...,N j ̸=i xij = 1, i = 1,... , N, ∑ i=1,...,N i̸=j xij = 1, j = 1,... , N, plus the constraints xij = 0 or 1 , and that the set of arcs {(i, j) | xij = 1} forms a connected tour, i.e., ∑ i∈S, j /∈S (xij +xji) ≥ 2 , ∀ proper subsets S of cities.

Approaches to Integer APPROACHES TO INTEGER PROGRAMMING Programming

  • Enumeration of the finite set of all feasible (in- teger) solutions, and comparison to obtain an op- timal solution (this is rarely practical).
  • Constraint relaxation and heuristic rounding. − Neglect the integer constraints − Solve the problem using linear/nonlinear pro- gramming methods − If a noninteger solution is obtained, round it to integer using a heuristic − Sometimes, with favorable structure, clever problem formulation, and good heuristics, this works remarkably well
  • Implicit enumeration (or branch-and-bound):

Approaches to Integer APPROACHES TO INTEGER PROGRAMMING Programming

  • Enumeration of the finite set of all feasible (in- teger) solutions, and comparison to obtain an op- timal solution (this is rarely practical).
  • Constraint relaxation and heuristic rounding. − Neglect the integer constraints − Solve the problem using linear/nonlinear pro- gramming methods − If a noninteger solution is obtained, round it to integer using a heuristic − Sometimes, with favorable structure, clever problem formulation, and good heuristics, this works remarkably well
  • Implicit enumeration (or branch-and-bound):

Principle of Branch & Bound PRINCIPLE OF BRANCH-AND-BOUND

  • Bounding Principle: Consider minimizing f (x) over a finite set x ∈ X. Let Y 1 and Y 2 be two subsets of X, and suppose that we have bounds f 1 ≤ min x∈Y 1 f (x), f 2 ≥ min x∈Y 2 f (x). Then, if f 2 ≤ f 1 , the solutions in Y 1 may be disre- garded since their cost cannot be smaller than the cost of the best solution in Y 2.
  • The branch-and-bound method uses suitable upper and lower bounds, and the bounding prin- ciple to eliminate substantial portions of X.

Branch & Bound

f

1

≤ min

x∈Y 1

f (x), f

2

≥ min

x∈Y 2

f (x).

Then, if f 2

≤ f

1 , the solutions in Y 1 may be disre- garded since their cost cannot be smaller than the cost of the best solution in Y 2.

  • The branch-and-bound method uses suitable upper and lower bounds, and the bounding prin- ciple to eliminate substantial portions of X.
  • It uses a tree, with nodes that correspond to subsets of X, usually obtained by binary partition. X = {1,2,3,4,5} {4} Y = {1,2,3} {4,5} {4} {5} {1} Y 1 = {1,2} Y 2 = {3} Lower Bound f_ (^) Y _ Feasible Solution x ∈ Y {2}