运筹优化学习06:拉格朗日松弛算法(一)

简介: 运筹优化学习06:拉格朗日松弛算法(一)

Guignard M. Lagrangean relaxation[J]. TOP, 2003, 11(2):151-200.

 

摘要


This paper reviews some of the most intriguing results and questions related to Lagrangean relaxation. It recalls essential properties of the Lagrangean relaxation and of the Lagrangean function, describes several algorithms to solve the Lagrangean dual problem, and considers Lagrangean heuristics, ad-hoc or generic, because these are an integral part of any Lagrangean approximation scheme. It discusses schemes that can potentially improve the Lagrangean relaxation bound, and describes several applications of Lagrangean relaxation, which demonstrate the flexibility of the approach, and permit either the computation of strong bounds on the optimal value of the MIP problem, or the use of a Lagrangean heuristic, possibly followed by an iterative improvement heuristic. The paper also analyzes several interesting questions, such as why it is sometimes possible to get a strong bound by solving simple problems, and why an a-priori weaker relaxation can sometimes be “just as good” as an a-priori stronger one.


本论文回顾了一些与拉格朗日松弛相关十分有趣的结论和问题。它回顾了朗格朗日函数和拉格朗日松弛的最本质的特征,描述了拉格朗日对偶问题,并考虑了拉格朗日启发式,不失特殊性和一般性,因为他们是任何拉格朗日近似方案的组成部分。讨论了方案对拉格朗日松弛边界的潜在改善能力,描述了朗格朗日松弛的一些应用来说明这一算法的灵活性,允许计算一些混合整数规划问题的强边界,或者使用拉格朗日启发式算法进行迭代改进。论文也讨论了许多有趣的问题,诸如为什么可以通过求解一个简单的问题得到一个强边界,为什么一个先验的弱约束有时与先验强约束的效果差不多。


引言


Why use Lagrangean relaxation for integer programming problems? How does one construct a Lagrangean relaxation? What tools are there to analyze the strength of a Lagrangean relaxation? Are there more powerful extensions than standard Lagrangean relaxation, and when should they be used? Why is it that one can sometimes solve a strong Lagrangean relaxation by solving trivial subproblems? How does one compute the Lagrangean relaxation bound? Can one take advantage of Lagrangean problem decomposition? Does the “strength” of the model used make a difference in terms of bounds? Can one strengthen Lagrangean relaxation bounds by cuts, either kept or dualized? How can one design a Lagrangean heuristic? Can one achieve better results by remodeling the problem prior to doing Lagrangean relaxation? These are some of the questions that this paper attempts to answer.


本文将回答以下问题:


在整数规划问题中为什么要使用拉格朗日松弛呢?

如何构建一个拉格朗日松弛?

有什么工具可以分析拉格朗日松弛的强度?

标准拉格朗日松弛算法有哪些比较有效的拓展,什么时候应用他们呢?

为什么有时可用通过求解一个不起眼的子问题就可以解决一个强拉格朗日松弛问题?

如何计算拉格朗日松弛边界?

拉格朗日分解有哪些优势呢?

一个强拉格朗日松弛能够以保持或对偶的方式被切割?

如何设计一个拉格朗日启发式算法?

在做拉格朗日松弛之前重构问题模型可以得到一个好的结果吗?

The papers starts with a description of relaxations, in particular Lagrangean relaxation (LR for short). It continues with the geometric interpretation of LR, and shows how this geometric interpretation is the best tool for analyzing the effectiveness of a particular LR scheme. Extensions of LR are also reviewed: Lagrangean decomposition and more generally substitution. The Integer Linearization Property is described in detail, as its detection may considerably reduce the computational burden.


文章从松弛的描述,特别是拉格朗日松弛(LR)开始,给出了拉格朗日松弛的几何解释,并认为这种几何解释是分析特定拉格朗日松弛方案有效性的最好工具。也回顾了拉格朗日松弛的拓展问题:拉格朗日分解和更通用的子课题。详细描述了可以大大降低计算成本的整数线性属性(Interger Linearization Property)。


The next section concentrates on solution methods for the dual problem, starting with subgradient optimization, and following with methods based on Lagrangean properties: cutting planes (or constraint generation), Dantzig-and-Wolfe (or column generation), the volume algorithm, bundle and augmented Lagrangean methods, as well as some hybrid approaches.


接着,聚焦对偶问题的解决方法,从次梯度优化到具有拉格朗日特性的割平面法(或约束生成)、Dantzig-and-Wolfe算法(列生成方法)、 the volume algorithm(体算法)、 bundle and augmented Lagrangean methods(束与增广拉格朗日方法)、以及一些混合方法。也回顾了对设计高效优化方法至关重要的拉格朗日函数的一些特征。


This follows the review of some characteristics of the Lagrangean function,important for the design of efficient optimization methods. Cuts that are violated by Lagrangean solutions appear to contain additional information, not captured by the Lagrangean model, and imbedding them in the Lagrangean process may a priori appear to be a good idea. They can either be dualized in Relax-and-Cut schemes, preserving the structure of the Lagrangean subproblems, or appended to the other kept constraints, but at the cost of possibly making the Lagrangean subproblems harder to solve. The next section reviews the conditions for bound improvement under both circumstances.


违背拉格朗日解决方案的切割包含着一些不为拉格朗日模型所囊括的额外信息,将其嵌入到拉格朗日过程中也许可以提前得到一些好点子。如保留朗格朗日子问题结构的对偶松弛和切割方案,或者是增加其他的约束;但潜在的成本是朗格朗日子问题的求解变的更难。接着又综述两种方式对边界的改善情况。


The following section is devoted to Lagrangean heuristics, which complement Lagrangean bounding by making an attempt at transforming infeasible Lagrangean solutions into good feasible solutions.


后续的章节分析了朗格朗日启发,通过尝试变换不可行的朗格朗日子方案为可行的解决方案,以获取朗格朗日边界。


Several applications are reviewed throughout the paper, with emphasis on the steps followed either to re-model the problem or to relax it in an efficient manner.


一些应用也贯穿论文的始终,要么是强调问题模型的重构、要么是以有效的方式放松约束。


The literature on Lagrangean relaxation, its extensions and applications is enormous. As a consequence no attempt has been made here to quote every possible paper dealing with Lagrangean relaxation. Instead, we only list papers that we mention in the text because they directly relate to the material covered here, as they introduced novel ideas or presented new results, new modeling and decomposition approaches, or new algorithms. Finally, we refer the reader to a few pioneer and/or survey papers on Lagrangean relaxation, as they may help get a clearer picture of the whole field.


朗格朗日松弛、拓展问题及其应用的文献不胜枚举,我们从不尝试引证每一篇相关的文献成果。反之,我只列举与材料覆盖直接相关论文,因为它们提出了新的理念或展示了新的成果、模型和分解方法或算法。最后,我们引用了一些拉格朗日松弛的综述论文,帮助你清晰的一览拉格朗日松弛的全貌。主要文献如下:


Everett (1963),

Held and Karp (1970),

Held and Karp (1971),

Geoffrion (1974),

Shapiro (1974),

Shapiro (1979),

Fisher (1981),

Fisher (1985),

Beasley (1993), and Lemar´ echal (2001)


符号及描述

如果P是一个优化问题,则可定义如下记号:


image.png

松弛优化问题

2019091019165123.png

20190910191711659.png

image.png

对问题进行松弛具有两个好处:第一,它提供了困难优化问题的边界;第二,对于解决方案而言,如果原始问题不可解,它作为特定启发式算法的起点。


20190910192142813.png

这里我们研究整数线性规划问题,其约束集合V是一个有理多面体约束,构成x的子集最少有一个整数约束;我们不区分纯整数规划和混合整数规划问题。




整数规划中最常用的松弛方法是对问题的连续性松弛,此时问题P的整数约束被忽略


拉格朗日松弛


下面介绍Held and Karp在1970和1971年提出的拉格朗日松弛(LR),不是一般性,假设如下问题:


gif.gif


20190910193205493.png


引入一个非负的权重向量,即拉格朗日乘数,得到如下问题:


20190910193352329.png


将问题的难约束放松并附加拉格朗日乘子作为目标函数的一部分,构成松弛问题。可知:松弛问题包含原始问题,任何d都都小于或等于。也就是说,对于所有的,的最优解是问题P最优解的下界。


综上,问题还可以转化为求问题P最紧的拉格朗日下界的对偶问题:


20190910194741594.png


至此,在我们讨论拉格朗日松弛边界或简称朗格朗日边界时,我们通常指的是而非。


假设我们考虑的复杂约束是等式而非不等式,则有如下问题:


20190910195055739.png


将一个等式约束,通过两个朗格朗日乘子松驰为新的朗格朗日松弛问题,之后合并为并不要求为非负数的松弛问题


可行的拉格朗日方案




相关文章
|
6天前
|
算法 JavaScript 前端开发
第一个算法项目 | JS实现并查集迷宫算法Demo学习
本文是关于使用JavaScript实现并查集迷宫算法的中国象棋demo的学习记录,包括项目运行方法、知识点梳理、代码赏析以及相关CSS样式表文件的介绍。
第一个算法项目 | JS实现并查集迷宫算法Demo学习
|
7天前
|
机器学习/深度学习 人工智能 自然语言处理
深度学习中的优化算法及其应用
本文旨在探讨深度学习中常用的优化算法,包括梯度下降、动量方法、AdaGrad、RMSProp和Adam等。通过分析每种算法的原理、优缺点及适用场景,揭示它们在训练深度神经网络过程中的关键作用。同时,结合具体实例展示这些优化算法在实际应用中的效果,为读者提供选择合适优化算法的参考依据。
|
8天前
|
大数据 UED 开发者
实战演练:利用Python的Trie树优化搜索算法,性能飙升不是梦!
在数据密集型应用中,高效搜索算法至关重要。Trie树(前缀树/字典树)通过优化字符串处理和搜索效率成为理想选择。本文通过Python实战演示Trie树构建与应用,显著提升搜索性能。Trie树利用公共前缀减少查询时间,支持快速插入、删除和搜索。以下为简单示例代码,展示如何构建及使用Trie树进行搜索与前缀匹配,适用于自动补全、拼写检查等场景,助力提升应用性能与用户体验。
26 2
|
10天前
|
机器学习/深度学习 算法 物联网
探究操作系统的心脏:调度算法的演变与优化
本文旨在深入探讨操作系统中核心组件——调度算法的发展脉络与优化策略。通过分析从单任务到多任务、实时系统的演进过程,揭示调度算法如何作为系统性能瓶颈的解决关键,以及在云计算和物联网新兴领域中的应用前景。不同于传统摘要,本文将注重于概念阐释与实例分析相结合,为读者提供直观且全面的理解视角。
|
10天前
|
XML JavaScript 前端开发
学习react基础(1)_虚拟dom、diff算法、函数和class创建组件
本文介绍了React的核心概念,包括虚拟DOM、Diff算法以及如何通过函数和类创建React组件。
15 2
|
12天前
|
算法 搜索推荐 开发者
别再让复杂度拖你后腿!Python 算法设计与分析实战,教你如何精准评估与优化!
在 Python 编程中,算法的性能至关重要。本文将带您深入了解算法复杂度的概念,包括时间复杂度和空间复杂度。通过具体的例子,如冒泡排序算法 (`O(n^2)` 时间复杂度,`O(1)` 空间复杂度),我们将展示如何评估算法的性能。同时,我们还会介绍如何优化算法,例如使用 Python 的内置函数 `max` 来提高查找最大值的效率,或利用哈希表将查找时间从 `O(n)` 降至 `O(1)`。此外,还将介绍使用 `timeit` 模块等工具来评估算法性能的方法。通过不断实践,您将能更高效地优化 Python 程序。
30 4
|
22天前
|
机器学习/深度学习 算法
深度学习中的优化算法:从梯度下降到Adam
本文深入探讨了深度学习中的核心——优化算法,重点分析了梯度下降及其多种变体。通过比较梯度下降、动量方法、AdaGrad、RMSProp以及Adam等算法,揭示了它们如何更高效地找到损失函数的最小值。此外,文章还讨论了不同优化算法在实际模型训练中的表现和选择依据,为深度学习实践提供了宝贵的指导。
52 7
|
14天前
|
算法
基于ACO蚁群优化的UAV最优巡检路线规划算法matlab仿真
该程序基于蚁群优化算法(ACO)为无人机(UAV)规划最优巡检路线,将无人机视作“蚂蚁”,巡检点作为“食物源”,目标是最小化总距离、能耗或时间。使用MATLAB 2022a版本实现,通过迭代更新信息素浓度来优化路径。算法包括初始化信息素矩阵、蚂蚁移动与信息素更新,并在满足终止条件前不断迭代,最终输出最短路径及其长度。
|
17天前
|
机器学习/深度学习 算法 数据安全/隐私保护
基于PSO粒子群优化的GroupCNN分组卷积网络时间序列预测算法matlab仿真
本项目展示了一种结合粒子群优化(PSO)与分组卷积神经网络(GroupCNN)的时间序列预测算法。该算法通过PSO寻找最优网络结构和超参数,提高预测准确性与效率。软件基于MATLAB 2022a,提供完整代码及详细中文注释,并附带操作步骤视频。分组卷积有效降低了计算成本,而PSO则智能调整网络参数。此方法特别适用于金融市场预测和天气预报等场景。
|
18天前
|
机器学习/深度学习 人工智能 自然语言处理
深度学习中的优化算法
本文将探讨深度学习中的几种常见优化算法,包括梯度下降、动量方法、AdaGrad、RMSProp和Adam。这些算法在训练神经网络时发挥着重要作用,通过调整学习率和更新策略,能够显著提高模型的训练效率和性能。了解这些优化算法有助于更好地应用深度学习技术解决实际问题。
下一篇
无影云桌面