ArticleslgStudy

science

Lagrangian relaxation

Lagrangian relaxation is a science 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 Lagrangian relaxation rather than just read about it. In short: In the field of mathematical optimization, Lagrangian relaxation is a relaxation method which approximates a difficult problem of constrained optimization by a simpler problem. A solution to the relaxed problem is an approximate solution to the original problem, and provides useful information.

Key takeaways

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

Reference excerpt

In the field of mathematical optimization, Lagrangian relaxation is a relaxation method which approximates a difficult problem of constrained optimization by a simpler problem. A solution to the relaxed problem is an approximate solution to the original problem, and provides useful information. The method penalizes violations of inequality constraints using a Lagrange multiplier, which imposes a cost on violations. These added costs are used instead of the strict inequality constraints in the optimization. In practice, this relaxed problem can often be solved more easily than the original problem. The problem of maximizing the Lagrangian function of the dual variables (the Lagrangian multipliers) is the Lagrangian dual problem.

Mathematical description Suppose we are given a linear programming problem, with x ∈ R n {\displaystyle x\in \mathbb {R} ^{n}} and A ∈ R m , n {\displaystyle A\in \mathbb {R} ^{m,n}} , of the following form:

If we split the constraints in A {\displaystyle A} such that A 1 ∈ R m 1 , n {\displaystyle A_{1}\in \mathbb {R} ^{m_{1},n}} ,

A 2 ∈ R m 2 , n {\displaystyle A_{2}\in \mathbb {R} ^{m_{2},n}} and m 1 + m 2 = m {\displaystyle m_{1}+m_{2}=m} we may write the system:

We may introduce the constraint (2) into the objective:

If we let λ = ( λ 1 , … , λ m 2 ) {\displaystyle \lambda =(\lambda _{1},\ldots ,\lambda _{m_{2}})} be nonnegative weights, we get penalized if we violate the constraint (2), and we are also rewarded if we satisfy the constraint strictly. The above system is called the Lagrangian relaxation of our original problem.

The LR solution as a bound Of particular use is the property that for any fixed set of λ ~ ⪰ 0 {\displaystyle {\tilde {\lambda }}\succeq 0} values, the optimal result to the Lagrangian relaxation problem will be no smaller than the optimal result to the original problem. To see this, let x ^ {\displaystyle {\hat {x}}} be the optimal solution to the original problem, and let x ¯ {\displaystyle {\bar {x}}} be the optimal solution to the Lagrangian relaxation. We can then see that

The first inequality is true because x ^ {\displaystyle {\hat {x}}} is feasible in the original problem and the second inequality is true because x ¯ {\displaystyle {\bar {x}}} is the optimal solution to the Lagrangian relaxation.

Iterating towards a solution of the original problem The above inequality tells us that if we minimize the maximum value we obtain from the relaxed problem, we obtain a tighter limit on the objective value of our original problem. Thus we can address the original problem by instead exploring the partially dualized problem

where we define P ( λ ) {\displaystyle P(\lambda )} as

A Lagrangian relaxation algorithm thus proceeds to explore the range of feasible λ {\displaystyle \lambda } values while seeking to minimize the result returned by the inner P {\displaystyle P} problem. Each value returned by P {\displaystyle P} is a candidate upper bound to the problem, the smallest of which is kept as the best upper bound. If we additionally employ a heuristic, probably seeded by the x ¯ {\displaystyle {\bar {x}}} values returned by P {\displaystyle P} , to find feasible solutions to the original problem, then we can iterate until the best upper bound and the cost of the best feasible solution converge to a desired tolerance.

Related methods The augmented Lagrangian method is quite similar in spirit to the Lagrangian relaxation method, but adds an extra term, and updates the dual parameters λ {\displaystyle \lambda } in a more principled manner. It was introduced in the 1970s and has been used extensively. The penalty method does not use dual variables but rather removes the constraints and instead penalizes deviations from the constraint. The method is conceptually simple but usually augmented Lagrangian methods are preferred in practice since the penalty method suffers from ill-conditioning issues.

References

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Lagrangian relaxation

Start with the simplest possible case. Write down what Lagrangian relaxation claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, 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 Lagrangian relaxation 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 Lagrangian relaxation 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 Lagrangian relaxation

In research
Lagrangian relaxation appears in science 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 Lagrangian relaxation 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
Lagrangian relaxation is common in secondary-school and first-year university syllabi. It links to neighbouring topics Convex optimization, Relaxation (approximation), so understanding it makes those chapters shorter.
In everyday life
Look for Lagrangian relaxation 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 “Lagrangian relaxation” →

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Lagrangian relaxation in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Lagrangian relaxation 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 Lagrangian relaxation out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Lagrangian relaxation in simple terms?

In the field of mathematical optimization, Lagrangian relaxation is a relaxation method which approximates a difficult problem of constrained optimization by a simpler problem. A solution to the relaxed problem is an approximate solution to the original problem, and provides useful information.

Why does Lagrangian relaxation matter?

Because it connects several science 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 Lagrangian relaxation?

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 Lagrangian relaxation.

Tags

  • Convex optimization
  • Relaxation (approximation)

Keep exploring