Skip to content

KIT WS2018/19 – Solver of systems of linear diophantine equations in Java.

Notifications You must be signed in to change notification settings

aurelienpepin/KIT_LDE_Solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Solver of systems of linear diophantine equations

This repository features a solver of systems of linear diophantine equations, i.e. equations with integer coefficients and integer unknown variables. It is based on a variant of the Gauss elimination.

The implementation was developed as part of the course Decision procedures with applications for software verification at Karlsruhe Institute of Technology (see here). The underlying algorithm is explained here (slides in German).

Inputs

Systems of equations are represented as follows. If n is the number of equations and m is the number of variables, then each system consists of n + 1 lines. The first line contains n and m. Each of the following n lines is an equation. An equation is made of several pairs of integers (c i). Each pair of integers represents the term c · x_i. The last pair has the form (d 0) where d is the value of the right-hand side of the equation.

See here for an example.

Built with

  • Java 8

Authors

See also

About

KIT WS2018/19 – Solver of systems of linear diophantine equations in Java.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages