Elsevier

Theoretical Computer Science

Volume 173, Issue 1, 20 February 1997, Pages 183-208
Theoretical Computer Science

Contribution
Avoiding slack variables in the solving of linear diophantine equations and inequations

https://doi.org/10.1016/S0304-3975(96)00195-8Get rights and content
Under an Elsevier user license
open archive

Abstract

In this paper, we present an algorithm for solving directly linear Diophantine systems of both equations and inequations. Here directly means without adding slack variables for encoding inequalities as equalities. This algorithm is an extension of the algorithm due to Contejean and Devie (1994) for solving linear Diophantine systems of equations, which is itself a generalization of the algorithm of Fortenbacher (Clausen and Fortenbacher, 1989) for solving a single linear Diophantine equation. All the nice properties of the algorithm of Contejean and Devie are still satisfied by the new algorithm: it is complete, i.e. provides a (finite) description of the set of solutions, it can be implemented with a bounded stack, and it admits an incremental version. All of these characteristics enable its easy integration in the CLP paradigm.

Cited by (0)

This work was partly supported by the European Contract SOL HCM No CHRX CT92 0053.