arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2109.09523cs.DS
收藏

用浮点运算解二元不等式组

Solving systems of inequalities in two variables with floating point arithmetic

Walter F. Mascarenhas

摘要:

从理论的角度来看,找到一个只有两个变量的不等式组的解集是很容易的。然而,如果我们想在所有可能的情况下用浮点运算得到这个集合的严格界限,那么由于舍入误差,事情就不那么简单了。在这篇文章中,我们详细描述了一个有效的数据结构来表示这个解决方案集和一个有效的和强大的算法来建立它使用浮点运算。数据结构和算法被开发为相关实际问题的严格解决方案的构建块。它们在\texttt{C++}中实现,代码经过仔细测试。此代码可作为本文arxiv版本的补充材料,并在Mozilla公共许可证2.0下分发。

英文摘要:

From a theoretical point of view, finding the solution set of a system of inequalities in only two variables is easy. However, if we want to get rigorous bounds on this set with floating point arithmetic, in all possible cases, then things are not so simple due to rounding errors. In this article we describe in detail an efficient data structure to represent this solution set and an efficient and robust algorithm to build it using floating point arithmetic. The data structure and the algorithm were developed as a building block for the rigorous solution of relevant practical problems. They were implemented in \texttt{C++} and the code was carefully tested. This code is available as supplementary material to the arxiv version of this article, and it is distributed under the Mozilla Public License 2.0.

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

↑