Ask Your Question

Revision history [back]

How to get all the integer solutions to a system of linear equations ?

Hello all,

I am a beginner at Sage and Python.

Is it possible to get all the integer solutions to a system of linear equations ?

I thought i would try to use MLIP for this. The tutorial thematic_tutorials on linear_programming has a call round(p.get_values(x), 2) which shows how to return one solution, but i would like to access all possible solutions.

Thank you in advance!