arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.19639cs.LO
收藏

Isabelle/HOL 中的线性规划

Linear Programming in Isabelle/HOL

Julian Parsert

AI总结:

本文在 Isabelle/HOL 中实现了一个线性规划求解器,基于单纯形算法形式化和弱对偶定理,可形式化证明其可靠性与终止性,并能生成外部求解器。

摘要:

线性规划描述的是在一组变量约束条件下优化线性目标函数的问题。本文提出了一个在证明助手 Isabelle/HOL 中实现的线性规划求解器。这使得我们可以形式化地证明其可靠性、终止性以及其他性质。我们将这些结果建立在此前对单纯形算法的形式化基础之上,而该形式化并未考虑优化问题。利用线性规划的弱对偶定理,我们得到了一个求解线性规划的算法。借助 Isabelle 的代码生成机制,我们可以生成一个外部的线性规划求解器。

英文摘要:

Linear programming describes the problem of optimising a linear objective function over a set of constraints on its variables. In this paper we present a solver for linear programs implemented in the proof assistant Isabelle/HOL. This allows formally proving its soundness, termination, and other properties. We base these results on a previous formalisation of the simplex algorithm which does not take optimisation problems into account. Using the weak duality theorem of linear programming we obtain an algorithm for solving linear programs. Using Isabelle's code generation mechanism we can generate an external solver for linear programs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑