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!
Do you have equations or inequations? If you want equations using MILP makes no sense since you can just do elementary linear algebra over ZZ. Could you also provide a detailed example of what you want and what you tried?
Yes you are quite right : upon checking, MLIP is not the best tool for what I need to do, and indeed, I can use linear algebra over ZZ. Thank you for your help.