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.
翻译:从理论上的观点来看,仅仅在两个变量中找到一套不平等制度的解决办法是很容易的。然而,如果我们想要在这套制度上用浮动点算术来严格限定所有可能的情况,那么由于四舍五入的错误,事情就不那么简单了。在本篇文章中,我们详细描述了一个高效的数据结构来代表这个解决办法,并用浮动点算术来构建一个高效和健全的算法。数据结构和算法是作为严格解决相关实际问题的一个基石而开发的。它们是在\ texttt{C{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{>中实施的,代码是经过仔细测试的。该代码作为本文章的arxiv版本的补充材料提供,并在Mozilla Publical 2.0号下分发。