#18734: Construct an interactive_simplex_method.LPDictionary from a
MixedIntegerLinearProgram
--------------------------------------------------+------------------------
       Reporter:  mkoeppe                         |        Owner:
           Type:  enhancement                     |       Status:  new
       Priority:  major                           |    Milestone:  sage-6.8
      Component:  numerical                       |   Resolution:
       Keywords:  lp                              |    Merged in:
        Authors:                                  |    Reviewers:
Report Upstream:  N/A                             |  Work issues:
         Branch:                                  |       Commit:
   Dependencies:  #18685, #18688, #18732, #18733  |     Stopgaps:
--------------------------------------------------+------------------------
Changes (by mkoeppe):

 * cc: novoselt, dimpase (added)


Old description:

> For teaching, presentation, and debugging purposes, it could be powerful
> to have a function that sets up a
> `sage.numerical.interactive_simplex_method.LPDictionary`
> corresponding to the current basis of a `MixedIntegerLinearProgram` (with
> all variables real).
>
> The plan is as follows:
>  - `MixedIntegerLinearProgram`.construct_interactive_lp() return an
> interactive LP (by querying the backend for problem data) and a list of
> basic variables (by querying the backend for col_stat, row_stat)
>  - from that information, can make an `LPDictionary` or
> `LPRevisedDictionary` by invoking the `dictionary` or
> `revised_dictionary` methods.
>
> #18685 added the prerequisite basis status information for the case of
> the GLPK backend.
> #18688 provides corresponding `MixedIntegerLinearProgram` methods.
>
> Next step:
>  - a new class, LPBackendDictionary (or something) would avoid
> InteractiveLP and rather be tied directly to the backend, using tableau
> data query functions such as getBInvArow etc.
>
> #18732 adds the missing functions for retrieving the data of the
> dictionary (for the GLPK backend).
> #18733 provides corresponding MixedIntegerLinearProgram methods.
>
> Doctests could then test that the LPBackendDictionary and the
> LPDictionary are the same.

New description:

 For teaching, presentation, and debugging purposes, it could be powerful
 to have a function that sets up a
 `sage.numerical.interactive_simplex_method.LPDictionary`
 corresponding to the current basis of a `MixedIntegerLinearProgram` (with
 all variables real).

 The plan is as follows:
  - `MixedIntegerLinearProgram`.construct_interactive_lp() return an
 interactive LP (by querying the backend for problem data) and a list of
 basic variables (by querying the backend for col_stat, row_stat)
  - from that information, can make an `LPDictionary` or
 `LPRevisedDictionary` by invoking the `dictionary` or `revised_dictionary`
 methods.

 #18685 added the prerequisite basis status information for the case of the
 GLPK backend. (#18763 does the same for the COIN backend.)
 #18688 provides a common interface and corresponding
 `MixedIntegerLinearProgram` methods.

 Follow-up: #18804 (LPBackendDictionary)

--

--
Ticket URL: <http://trac.sagemath.org/ticket/18734#comment:5>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to