Open source software for integer programming

Click For Summary

Discussion Overview

The discussion centers on the search for open-source software capable of solving integer programming problems with arbitrary precision. Participants explore various software options and share insights on their experiences and needs related to integer programming in mathematical and physics contexts.

Discussion Character

  • Exploratory, Technical explanation, Debate/contested, Homework-related

Main Points Raised

  • One participant expresses difficulty in finding suitable open-source software for integer programming that supports arbitrary precision, mentioning their current use of GLPK and the limitations they face.
  • Another participant suggests Sage as a potential solution, noting its capability for arbitrary precision integer arithmetic.
  • A later reply acknowledges the suggestion of Sage and expresses interest in further recommendations while also sharing a reference related to linear programming in physics.
  • One participant mentions they have resolved their issue independently without relying on third-party software.

Areas of Agreement / Disagreement

Participants do not reach a consensus on a specific software solution, as there are multiple suggestions and one participant claims to have solved the problem independently.

Contextual Notes

The discussion reflects varying levels of familiarity with available software and the specific requirements for integer programming, including the need for arbitrary precision. Some references provided may be outdated.

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.
 
Physics news on Phys.org
Have you tried Sage? It can do arbitrary precision integer arithmetic.
 
  • Like
Likes   Reactions: 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.
 

Similar threads

  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 6 ·
Replies
6
Views
8K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 55 ·
2
Replies
55
Views
8K
  • · Replies 4 ·
Replies
4
Views
2K