ArticleslgStudy

biology

Column generation

Column generation is a biology topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Column generation rather than just read about it. In short: Column generation or delayed column generation is an efficient algorithm for solving large linear programs. The overarching idea is that many linear programs are too large to consider all the variables explicitly.

Key takeaways

  • Column generation belongs to biology; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Column generation to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Column generation from memory before moving on to harder problems.

Reference excerpt

Column generation or delayed column generation is an efficient algorithm for solving large linear programs. The overarching idea is that many linear programs are too large to consider all the variables explicitly. The idea is thus to start by solving the considered program with only a subset of its variables. Then iteratively, variables that have the potential to improve the objective function are added to the program. Once it is possible to demonstrate that adding new variables would no longer improve the value of the objective function, the procedure stops. The hope when applying a column generation algorithm is that only a very small fraction of the variables will be generated. This hope is supported by the fact that in the optimal solution, most variables will be non-basic and assume a value of zero, so the optimal solution can be found without them. In many cases, this method allows to solve large linear programs that would otherwise be intractable. The classical example of a problem where it is successfully used is the cutting stock problem. One particular technique in linear programming which uses this kind of approach is the Dantzig–Wolfe decomposition algorithm. Additionally, column generation has been applied to many problems such as crew scheduling, vehicle routing, and the capacitated p-median problem.

Algorithm The algorithm considers two problems: the master problem and the subproblem. The master problem is the original problem with only a subset of variables being considered. The subproblem is a new problem created to identify an improving variable (i.e. which can improve the objective function of the master problem). The algorithm then proceeds as follow:

Initialise the master problem and the subproblem Solve the master problem Search for an improving variable with the subproblem If an improving variable is found: add it to the master problem then go to step 2 Else: The solution of the master problem is optimal. Stop.

Finding an improving variable The most difficult part of this procedure is how to find a variable that can improve the objective function of the master problem. This can be done by finding the variable with the most negative reduced cost (assuming without loss of generality that the problem is a minimization problem). If no variable has a negative reduced cost, then the current solution of the master problem is optimal. When the number of variables is very large, it is not possible to find an improving variable by calculating all the reduced cost and choosing a variable with a negative reduced cost. Thus, the idea is to compute only the variable having the minimum reduced cost. This can be done using an optimization problem called the pricing subproblem which strongly depends on the structure of the original problem. The objective function of the subproblem is the reduced cost of the searched variable with respect to the current dual variables, and the constraints require that the variable obeys the naturally occurring constraints. The column generation method is particularly efficient when this structure makes it possible to solve the sub-problem with an efficient algorithm, typically a dedicated combinatorial algorithm. We now detail how and why to compute the reduced cost of the variables. Consider the following linear program in standard form:

minxcTxsubject toAx=bx∈ℝ+ which we will call the primal problem as well as its dual linear program:

maxuuTbsubject touTA≤cu∈ℝ Moreover, let x∗ and u∗ be optimal solutions for these two problems which can be provided by any linear solver. These solutions verify the constraints of their linear program and, by duality, have the same value of objective function (cTx∗=u∗Tb) which we will call z∗. This optimal value is a function of the different coefficients of the primal problem: z∗=z∗(c,A,b). Note that there exists a dual variable ui∗ for each constraint of the primal linear model. It is possible to show that an optimal dual variable ui∗ can be interpreted as the partial derivative of the optimal value z∗ of the objective function with respect to the coefficient bi of the right-hand side of the constraints:ui∗=∂z∗∂bi or otherwise u∗=∂z∗∂b. More simply put, ui∗ indicates by how much increases locally the optimal value of the objective function when the coefficient bi increases by one unit. Consider now that a variable y was not considered until then in the primal problem. Note that this is equivalent to saying that the variable y was present in the model but took a zero value. We will now observe the impact on the primal problem of changing the value of y from 0 to ŷ. If cy and Ay are respectively the coefficients associated with the variable y in the objective function and in the constraints then the linear program is modified as follows:

minxcTx+cyŷsubject toAx=b−Ayŷx∈ℝ+ In order to know if it is interesting to add the variable y to the problem (i.e to let it take a non-zero value), we want to know if the value zŷ∗ of the objective function of this new problem decreases as the value ŷ of the variable y increases. In other words, we want to know ∂zŷ∗∂ŷ. To do this, note that zŷ∗ can be expressed according to the value of the objective function of the initial primal problem: zŷ∗=cyŷ+z∗(c,A,b−Ayŷ). We can then compute the derivative that interests us:

∂zŷ∗∂ŷ = cy+∂z∗∂ŷ = cy+∂z∗∂cdcdŷ+∂z∗∂AdAdŷ+∂z∗∂bdbdŷ = cy+∂z∗∂bdbdŷ = cy+u∗(−Ay) = cy−u∗Ay In other words, the impact of changing the value ŷ on the value zŷ∗ translates into two terms. First, this change directly impacts the objective function and second, the right-hand side of the constraints is modified which has an impact on the optimal variables x∗ whose magnitude is measured using the dual variables u∗. The derivative ∂zŷ∗∂ŷ is generally called the reduced cost of the variable y and will be denoted by cry in the following.

References

Worked examples

Example 1 — a first encounter with Column generation

Start with the simplest possible case. Write down what Column generation claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In biology, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Column generation before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Column generation ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Column generation

In research
Column generation appears in biology research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Column generation in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Column generation is common in secondary-school and first-year university syllabi. It links to neighbouring topics Applied mathematics stubs, Optimization algorithms and methods, so understanding it makes those chapters shorter.
In everyday life
Look for Column generation outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Column generation” →

How to study Column generation in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Column generation means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Column generation out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Column generation in simple terms?

Column generation or delayed column generation is an efficient algorithm for solving large linear programs. The overarching idea is that many linear programs are too large to consider all the variables explicitly.

Why does Column generation matter?

Because it connects several biology ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Column generation?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Column generation.

Tags

  • Applied mathematics stubs
  • Optimization algorithms and methods

Keep exploring