Skip to content

Add Cython wrappers for GLPK's interface glpssx.h (exact rational simplex) #18765

@mkoeppe

Description

@mkoeppe

Compare with #18764 / #18735.

In this ticket, we would be using GLPK's header file glpssx.h.
We would get direct access to rational simplex data.
So, in contrast to #18764 + #18735, there would be no need to reconstruct the solution using possibly slow rational matrix computations on the Sage side.
The downside is that glpssx.h is not installed and not advertised as a public API; see ​http://lists.gnu.org/archive/html/help-glpk/2007-10/msg00031.htmlhttp://lists.gnu.org/archive/html/help-glpk/2008-06/msg00006.htmlhttp://lists.gnu.org/archive/html/help-glpk/2013-11/msg00019.html

One could make a new MixedIntegerLinearProgram backend that maintains both a standard glp problem (double floats) and a glpssx problem (GMP rationals). First solve the double-float problem using standard glp_ functions; then copy the basis to glpssx and continue there with the exact solver.

CC: @yuan-zhou @nathanncohen @dimpase

Component: numerical

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions