I Open source software for integer programming

AI Thread Summary
The discussion centers on the search for open-source software capable of solving integer programming problems with arbitrary precision. The user currently employs GLPK but seeks alternatives that can handle big integers without extensive modification. Sage is suggested as a potential solution for arbitrary precision integer arithmetic. Ultimately, the user resolves the issue independently without relying on third-party software. The conversation highlights the importance of finding efficient tools for mathematical projects in both mathematics and physics.
Aufbauwerk 2045
I don't usually need help in locating software, but I'm having a heck of a time tracking down a good open-source bit of software which solves integer programming problems using arbitrary precision! If I don't find one soon, I'll need to write it myself. Which I don't mind, but it's silly to reinvent the wheel. Besides, the sooner I finish my current math project, the sooner I can get back to physics projects.

I'm using GLPK right now, and it's brilliant up to a point. I could hack on it to make it do what I want regarding big integers, but I prefer not to need to spend the time. So if someone knows about a quick solution, I would appreciate the help.

BTW I have implemented a pure binary solver, but that's not exactly what I need. Not every variable is binary. I think I see a way to overcome this, but once again, I hate spending time on software if it's already available. But it must be free and open source.

Thank you.
 
Mathematics news on Phys.org
Have you tried Sage? It can do arbitrary precision integer arithmetic.
 
  • Like
Likes StoneTemplePython and Aufbauwerk 2045
phyzguy said:
Have you tried Sage? It can do arbitrary precision integer arithmetic.

Thanks, I will check it out! I look forward to other suggestions as well.

p.s. Here's one example of the use of linear programming in physics. It's a fascinating mathematical technique with a huge variety of applications.

https://www.sciencedirect.com/science/article/pii/0196885887900224

I did come across this reference from Sandia, but it's a bit dated now. Things change fast.

This link opens a PDF.

https://www.google.com/url?sa=t&rct...3/138847.pdf&usg=AOvVaw0gW8RQLcRX_zipJKcnksdX
 
Last edited by a moderator:
Never mind. I have solved this problem without using any 3rd party software.
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Thread 'Imaginary Pythagorus'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...
Back
Top