slides-cg-students

pdf

School

University of Houston *

*We aren’t endorsed by this school

Course

586

Subject

Industrial Engineering

Date

Oct 30, 2023

Type

pdf

Pages

40

Report

Uploaded by BaronKnowledge37615

Column Generation Method Frédéric Giroire FG Simplex 1/38
Column Generation in Two Words A framework to solve large problems. Main idea: not considering explicitly the whole set of variables. decompose the problem into a master and a subproblem (or pricing problem), use the pricing problem to generate a "good" column = variable. allows to solve in practice hard problems with an exponential number of variables. FG Simplex 2/38
Column Generation - History Ford and Fulkerson (1958) : A first suggestion to deal implicitly with the variables of a multicommodity flow problem. Dantzig and Wolfe (1961) : Develop a strategy to extend a linear program columnwise Gilmore and Gomory (1961, 1963) : First implementation as part of an efficient heuristic algorithm for solving the cutting stock problem Desrosiers, Soumis and Desrochers (1984) : Embedding of column generation within a LP based B&B framework for solving a vehicle routing problem FG Simplex 3/38
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Column Generation (CG) A set of columns, a ∈ A ⊂ R m , c a R , b R m Large-scale primal and dual problems: (P) max X a A c a x a X a A a x a b x a 0 a A (D) min π b π a c a a A π 0 A too large : impossible (or impractical) to solve at once Column Generation : select A 0 ⊆ A , solve Restricted Master Problems (RMP) (P A 0 ) max X a A 0 c a x a X a A 0 a x a b x a 0 a A 0 (D A 0 ) min π b π a c a a A 0 π 0 FG Simplex 4/38
Column Generation (CG) A set of columns, a ∈ A ⊂ R m , c a R , b R m Large-scale primal and dual problems: (P) max X a A c a x a X a A a x a b x a 0 a A (D) min π b π a c a a A π 0 A too large : impossible (or impractical) to solve at once Column Generation : select A 0 ⊆ A , solve Restricted Master Problems (RMP) (P A 0 ) max X a A 0 c a x a X a A 0 a x a b x a 0 a A 0 (D A 0 ) min π b π a c a a A 0 π 0 FG Simplex 4/38
Column Generation (CG) A set of columns, a ∈ A ⊂ R m , c a R , b R m Large-scale primal and dual problems: (P) max X a A c a x a X a A a x a b x a 0 a A (D) min π b π a c a a A π 0 A too large : impossible (or impractical) to solve at once Column Generation : select A 0 ⊆ A , solve Restricted Master Problems (RMP) (P A 0 ) max X a A 0 c a x a X a A 0 a x a b x a 0 a A 0 (D A 0 ) min π b π a c a a A 0 π 0 primal feasible x ? and dual infeasible π ? FG Simplex 5/38
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Column Generation (2) Then solve pricing (or separation) problem ( P π ? ) max { c a - π ? a : a ∈ A} for some a ∈ A \ A 0 or optimality certificate π ? a c a a ∈ A FG Simplex 6/38
Column Generation (2) Then solve pricing (or separation) problem ( P π ? ) max { c a - π ? a : a ∈ A} for some a ∈ A \ A 0 or optimality certificate π ? a c a a ∈ A Very simple idea, very simple implementation (in principle) ... yet surprisingly effective in many applications ... provided that (P) can be efficiently solved FG Simplex 7/38
Column Generation Flowchart #1 (Minimization) FG Simplex 8/38
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Column Generation Flowchart #2 (Minimization) FG Simplex 9/38
How to Get an Integer Solution (Minimization) What we are looking for: z ? ILP CG ; z ? LP , a lower bound on z ? ILP Solve the last RMP as an ILP ; ˜ z ILP 6 = z ? ILP Lower bound Upper bound z ? LP z ? ILP ˜ z ILP | | | Optimal Optimal Heuristic LP ILP ILP solution solution solution FG Simplex 10/38
Branch-and-Price Methods Solve Restricted Master Problem (RMP) Solve Pricing Problem (PP) Solve Restricted Master Problem (RMP) Solve Pricing Problem (PP) Solve Restricted Master Problem (RMP) Solve Pricing Problem (PP) FG Simplex 11/38
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Branch-and-Price Methods (2) On the variables of the Master Problem Select x a , and create two branches: x a = 0 and x a = 1 Continue with the other variables... Can be improved by using cuts Different branching schemes... FG Simplex 12/38
Example 1: Cutting-Stock Problem FG Simplex 13/38
The cutting stock problem A paper company with a supply of large rolls of paper, of width W Customer demand is for smaller widths of paper b i rolls of width w i W , i = 1 , 2 , ...... m need to be produced. Smaller rolls are obtained by slicing large rolls Example: a large roll of width 70 can be cut into 3 rolls of width w 1 = 17 and 1 roll of width w 2 = 15 , with a waste of 4. minimize the waste ! Cutting stock problem FG Simplex 14/38
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
An Example An example The width of large rolls: 5600mm. The width and demand of customers: Width 1380 1520 1560 1710 1820 1880 1930 2000 2050 2100 2140 2150 2200 Demand 22 25 12 14 18 18 20 10 12 14 16 18 20 An optimal solution: 4 / 24 FG Simplex 15/38
Kantorovich Model Variables: y k = 1 if roll k is used, 0 otherwise x ik = # of times item i of width w i , is cut in roll k [ex: write LP] FG Simplex 16/38
Drawbacks of the Kantorovich Model However, the IP formulation ( P 1 ) is inefficient both from computational and theoretical point views. The main reason is that the linear program (LP) relaxation of ( P 1 ) is poor. Actually, the LP bound of ( P 1 ) is z ? LP = X k ∈K y k = X k ∈K m X i = 1 w i x k i W = m X i = 1 w i X k ∈K x k i W = m X i = 1 w i b i W (1) Question: Is there an alternative? FG Simplex 17/38
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Formulation of Gilmore and Gomory Let λ p = number of times pattern p is used a p i = number of times item i is cut in pattern p For example, the fixed width of large rolls is W = 100 and the demands are b i = 100 , 200 , 300 , w i = 25 , 35 , 45 ( i = 1 , 2 , 3 ) . The large roll can be cut into Pattern 1: 4 rolls each of width w 1 = 25 ; a 1 1 = 4 Pattern 2: 1 roll with width w 1 = 25 and 2 rolls each of width w 2 = 35 ; a 2 1 = 1 , a 2 2 = 2 Pattern 3: 2 rolls with width w 3 = 45 ; a 3 3 = 2 . FG Simplex 18/38
Gilmore - Gomory Model & Master Problem Cutting pattern p : described by the vector ( a p 1 , a p 2 , .... , a p m ) , where a p i represents the number of rolls of width w i obtained in cutting pattern p . Variables: λ p = # rolls to be cut according to cutting pattern p . [ex: write LP] FG Simplex 19/38
Gilmore - Gomory Model & Master Problem Cutting pattern p : described by the vector ( a p 1 , a p 2 , .... , a p m ) , where a p i represents the number of rolls of width w i obtained in cutting pattern p . Variables: λ p = # rolls to be cut according to cutting pattern p . [ex: write LP] Each column represents a cutting pattern. How many columns (cutting patterns) are there? It could be as many as m ! k !( m - k )! where k is the average number of items in each cutting patterns. Exponentially large!. FG Simplex 20/38
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Cutting Pattern & Pricing Problem p th pattern, can be represented by a column vector a p whose i th entry indicates how many rolls of width w i are produced by that pattern. Pattern discussed earlier can be represented by the vector: ( 3 , 1 , 0 , ..., 0 ) For a vector ( a p 1 ; a p 2 , ..., a p m ) to be a representation of a feasible pattern, its components must be nonnegative integers, and we must also have: m X i = 1 w i a p i W . FG Simplex 21/38
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Initial Solution First step, set up column generation iteration starting point. Actually, the initial basis matrix can be constructed in a trivial way. For example, let W = 10 and the customer demand: small roll widths w 1 = 3 and w 2 = 2 . The following two choices are both valid: Choice 1: a p 1 = 1 0 ; a p 2 = 0 1 Choice 2: a p 1 = 3 0 ; a p 2 = 0 5 FG Simplex 22/38
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Definition of the Restricted Master Problem P 0 P a small subset of cutting patterns min X p P 0 λ p s.t. X p P 0 a p i λ p 0 i = 1 , 2 , ... m λ p 0 p P 0 Note: m types of small roll customers requested | P 0 | number of patterns generated so far column generation ; tool for solving the linear programming relaxation. FG Simplex 23/38
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
How to Iterate? Suppose that we have a basis matrix B for the restricted master problem and an associated basic feasible solution, and that we wish to carry out the next iteration for the column generation. Because the coefficient of every variable λ p is 1, every component of the vector c B is equal to 1. Next, instead of computing the reduced cost c B = 1 - c B B - 1 a p associated with every column a p , we consider the problem of minimizing ( c B = 1 - c B B - 1 a p ) over all p . This is the same as maximizing c B B - 1 a p over all p . If the maximum is 1 , all reduced costs are nonnegative and we have an optimal solution. If the maximum is > 1 , column a p corresponding to a maximizing p has negative reduced cost and enters the basis. FG Simplex 24/38
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Pricing Problem Recall that u = c B B - 1 max m X i = 1 u i a i s.t. [ex: write constraint] a i 0 i = 1 , 2 , ..... , m a i Z + i = 1 , 2 , ..... , m . FG Simplex 25/38
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
An Example Suppose for the paper company, a big roll of paper is W = 218 cm . The customers of the company want: 44 small rolls of length 81cm 3 small rolls of length 70cm 48 rolls of length 68 cm That is, w = 81 70 68 , b = 44 3 48 FG Simplex 26/38
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Initialization Step 1, to generate the initial basis matrix: a 1 = 1 0 0 , a 2 = 0 1 0 , a 3 = 0 0 1 First restricted master problem: min λ 1 + λ 2 + λ 3 s.t. 1 0 0 0 1 0 0 0 1 λ 1 λ 2 λ 3 44 3 48 λ p 0 p = 1 , 2 , ..... , 5 . FG Simplex 27/38
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Solving the Restricted Master and Pricing Problems Solution of the restricted master problem ; u = c B B - 1 = ( 1 , 1 , 1 ) . Therefore, the first pricing problem is written max a 1 + a 2 + a 3 subject to: 81 a 1 + 70 a 2 + 68 a 3 218 a i 0 i = 1 , 2 , 3 a i Z + i = 1 , 2 , 3 The optimal solution is a 1 a 2 a 3 = 0 0 3 with optimal value 3 > 1 . FG Simplex 28/38
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
The Second Restricted Master Problem min λ 1 + λ 2 + λ 3 + λ 4 s.t. 1 0 0 0 0 1 0 0 0 0 1 3 λ 1 λ 2 λ 3 λ 4 44 3 48 λ p 0 p = 1 , 2 , ..... , 5 . After solving, we get u = ( 1 , 1 , 0 . 33 ) . FG Simplex 29/38
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Solving the Second Pricing Problem By solving the restricted master problem, we can get u = ( 1 , 1 , 0 . 33 ) . Therefore, the second pricing problem is max a 1 + a 2 + 0 . 33 a 3 s.t. 81 a 1 + 70 a 2 + 68 a 3 218 a i 0 i = 1 , 2 , 3 a i Z + i = 1 , 2 , 3 The optimal solution is a 1 a 2 a 3 = 0 3 0 with optimal value 3 > 1 . FG Simplex 30/38
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
The Third Restricted Master Problem min λ 1 + λ 2 + λ 3 + λ 4 + λ 5 s.t. 1 0 0 0 0 0 1 0 0 3 0 0 1 3 0 λ 1 λ 2 λ 3 λ 4 λ 5 44 3 48 λ p 0 p = 1 , 2 , ..... , 5 . After solving the above program, we get u = ( 1 , 0 . 33 , 0 . 33 ) . FG Simplex 31/38
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Solving the Third Pricing Problem By solving the restricted master problem, we can get u = ( 1 , 0 . 33 , 0 . 33 ) . Therefore, the second pricing problem is max a 1 + 0 . 33 a 2 + 0 . 33 a 3 s.t. 81 a 1 + 70 a 2 + 68 a 3 218 a i 0 i = 1 , 2 , 3 a i Z + i = 1 , 2 , 3 The optimal solution is a 1 a 2 a 3 = 2 0 0 with optimal value 2 > 1 . FG Simplex 32/38
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Restricted Master Problem # 4 min λ 1 + λ 2 + λ 3 + λ 4 + λ 5 + λ 6 subject to: 1 0 0 0 0 2 0 1 0 0 3 0 0 0 1 3 0 0 λ 1 λ 2 λ 3 λ 4 λ 5 λ 6 44 3 48 λ p 0 p = 1 , 2 , ..... , 6 After solving the above program, we get u = ( 0 . 5 , 0 . 33 , 0 . 33 ) . FG Simplex 33/38
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Pricing Problem # 4 By solving the restricted master problem, we can get u = ( 0 . 5 , 0 . 33 , 0 . 33 ) . Therefore, the second pricing problem is max 0 . 5 a 1 + 0 . 33 a 2 + 0 . 33 a 3 s.t. 81 a 1 + 70 a 2 + 68 a 3 218 a i 0 i = 1 , 2 , 3 a i Z + i = 1 , 2 , 3 The optimal solution is a 1 a 2 a 3 = 1 0 2 with optimal value 1 . 16 > 1 . FG Simplex 34/38
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Restricted Master Problem # 5 min λ 1 + λ 2 + λ 3 + λ 4 + λ 5 + λ 6 + λ 7 s.t. 1 0 0 0 0 2 1 0 1 0 0 3 0 0 0 0 1 3 0 0 2 λ 1 λ 2 λ 3 λ 4 λ 5 λ 6 λ 7 44 3 48 λ p 0 p = 1 , 2 , ..... , 7 . After solving the above program, we get u = ( 5 , 0 . 33 , 0 . 25 ) . FG Simplex 35/38
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Pricing Problem # 5 Restricted master problem # 5 ; u = ( 0 . 5 , 0 . 33 , 0 . 25 ) . Therefore, pricing problem # 5 is max 0 . 5 a 1 + 0 . 33 a 2 + 0 . 25 a 3 s.t. 81 a 1 + 70 a 2 + 68 a 3 218 a i 0 i = 1 , 2 , 3 a i Z + i = 1 , 2 , 3 The optimal solution is a 1 a 2 a 3 = 2 0 0 with optimal value 1 ; optimality condition is satisfied. FG Simplex 36/38
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Optimal Solution The optimal solution of the cutting stock problem is: 1 0 3 0 + 10 2 0 0 + 24 1 0 2 with optimal value 35. Question: if the initial matrix basis is : a 1 = 0 3 0 ; a 2 = 2 0 0 ; a 3 = 0 0 3 How many iterations you need to take before reaching an LP optimal solution? FG Simplex 37/38
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Column Generation - Take aways When to use Column Generation? Compact formulation of a ILP cannot solved efficiently , e.g. due to weak LP relaxation . Can be tightened by column generation formulation. Symmetric structure , poor performance of B&B . Column generation formulation allows us to get ride of symmetries. Existence of a "natural decomposition". FG Simplex 38/38
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
Column Generation - Why it works Master Problem , Very often, a general ILP problem Pricing Problem , An ILP problem with a special structure Knapsack problem (e.g., the pricing problem of the cutting stock problem). Shortest path problem. Maximum flow problem. Any combinatorial problem. The success of applying column generation often relies on efficient algorithms to solve the pricing problem. Moreover, column generation , decomposition: Natural interpretation often allows us to take care easily of additional constraints. FG Simplex 39/38
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help

Browse Popular Homework Q&A

Q: In connection with the application of the kiddie tax,
Q: On April 5, 2020, Kinsey places in service a new automobile that cost $60,000. He does not elect §…
Q: The figure shows a spacetime diagram for two people moving with respect to each other and five…
Q: he equation: x - 4y = 5 epresents a line. What is the slope of the line? Round your answer to 3…
Q: 10.) Barbara is organizing her shirts in her closet. She will hang up 8 sweaters, 4 blouses, and 11…
Q: During the process of learning a new programming language, what are two of the subjects/activities…
Q: Marcus Mosiah Garvey?  What was his contribution to the human rights struggle?
Q: Discuss the impact of the influx of European immigrants and the 'Great Migration' of southern blacks…
Q: Using Raptor program Scientists measure an object’s mass in kilograms and its weight in newtons. If…
Q: A ball is thrown with velocity, Vi at an angle 25 degrees to the ground. When it reaches the highest…
Q: For the two events E, F, let P(F) = 0.240, P(E I F') = 0.303, and P(E I F) = 0.375. Find: (i) P(E ∩…
Q: We represent the equation of the ray by: p(t) = (2, 3) + t (4, 5), for t in [0, 1]. What is the…
Q: did not use raptor program
Q: Roll a pair of four-sided dice. If the sum is 2 or 8, win $10. If the sum is 3 or 7, win $5.…
Q: 8. Identify the subshell in which electrons with the following quantum numbers are found: (a) n =…
Q: Find the indefinite integral (for x > 0) on the domain of positive real numbers. Remember to include…
Q: Below is the Lewis structure of the carbon dioxide (CO₂) molecule. OCH Count the number of bonding…
Q: Experiments show that a colony of bacteria with sufficient food and no predators and with zero death…
Q: Beam Parameters. The light emitted from a Nd:YAG laser at a wavelength of 1.06 um is a Gaussian beam…
Q: Use the given graph off to find a number & such that if |x-1| < & then f(x) - 1 < 0.2. y 1.2 1 0.8 f…
Q: QUESTION 10 What is the process by which we change our behavior in response to prior experience? O…
Q: A sample of gas (1.9 mol) is in a flask at 21oC and 697mm Hg. The flask is opened and more gas…