Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add bindings, MixedIntegerLinearProgram backend to qsopt_ex, a state-of-the-art exact simplex solver #18766

Open
mkoeppe opened this issue Jun 22, 2015 · 8 comments

Comments

@mkoeppe
Copy link
Contributor

mkoeppe commented Jun 22, 2015

Qsopt_ex is a state-of-the-art exact simplex solver by David Applegate, William Cook, Sanjeeb Dash, and Daniel Espinoza.
Paper: http://www.dii.uchile.cl/~daespino/files/exact_simplex.pdf

There are several versions around:

See also:

CC: @yuan-zhou @dimpase @nathanncohen bico@jhu.edu

Component: numerical

Issue created by migration from https://trac.sagemath.org/ticket/18766

@mkoeppe mkoeppe added this to the sage-6.8 milestone Jun 22, 2015
@dimpase
Copy link
Member

dimpase commented Jun 23, 2015

comment:1

Perhaps asking the fork author why he went with this version might make sense. The fork does not look like it is much older than the git repo, and 2.6 was already available for years...

The Python module is actually a Cython module, which is good (but it does not have the
full interface, only reading/writing files).

@dimpase
Copy link
Member

dimpase commented Jun 23, 2015

comment:2

Actually, QSoptExact.tar.bz2 with "full development version" expands into a directory
QSopt_ex-2.5.10/, with many files dated as late as 2012, and so this looks like 2.6 doesn't really exist.

There is also a mentioning in README of an SVN server where all that stuff is: https://conexo.dii.uchile.cl/SVN/ESolver

There is a 2.5 branch, and a 3.0 branch (and probably old 1.0 branch). But no 2.6.

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Jun 24, 2015

comment:3

Replying to @dimpase:

Perhaps asking the fork author why he went with this version might make sense. The fork does not look like it is much older than the git repo, and 2.6 was already available for years...

The Python module is actually a Cython module, which is good (but it does not have the
full interface, only reading/writing files).

I asked the author of the fork, Jon Lund Steffensen, and he replied as follows; I'm posting it here with his permission.

It is based on 2.5.10 available here as the "full development code": http://www.math.uwaterloo.ca/~bico/qsopt/ex/ . To my knowledge this is the most recent release that includes all code. Here's the NEWS file with a quick overview of the changes I made: https://github.com/jonls/qsopt-ex/blob/master/NEWS.md . It seemed to me that the original project was no longer maintained so I created the fork.

When I started using QSopt_ex as a library I realized that it was not very usable as a library. The header files were a huge mess of internal and public interfaces mixed together. The build system was based on custom Makefiles that didn't quite work on the platforms I wanted to build the library on. I changed the build system to be based on autoconf/automake/libtool for better portability. The library had an external dependency on EGlib, another libsary that appears to be unmaintained. Since only a tiny subset of EGlib was used by QSopt_ex, I decided to simply copy the code into QSopt_ex.

The build system used a custom templating system for generating the code for different numeric types. This was extremely slow because any change to a source file would cause a regeneration of all of the templated files. I changed that to a simpler system which also removed the build dependencies on GNU sed and Exuberant ctags.

I added a Cython-based Python module to access the library, though it has moved to a separate repository on Github. Lastly, I changed the logging output to stdout/stderr from the library to go through a logging function. In an application that was using the library I was writing an output file to stdout. Since QSopt_ex would simply dump all logging output to stdout as well it would mess up my output files. I added a function to the library that allows the user to redirect the logging output to any destination.''

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Jun 24, 2015

comment:4

The 3.0 branch on that svn server mentions a license change from GPL to LGPL:

https://conexo.dii.uchile.cl/SVN/ESolver/branches/QSopt_ex-3.0/README

@mkoeppe

This comment has been minimized.

@mkoeppe

This comment has been minimized.

@mkoeppe mkoeppe modified the milestones: sage-6.8, sage-9.1 Feb 4, 2020
@mkoeppe

This comment has been minimized.

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Feb 4, 2020

comment:8

Replying to @mkoeppe:

The 3.0 branch on that svn server mentions a license change from GPL to LGPL:

https://conexo.dii.uchile.cl/SVN/ESolver/branches/QSopt_ex-3.0/README

2020 update: this SVN is no longer accessible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants