#17867: Risk of confusion between LPProblem and MixedIntegerLinearProgram
-------------------------------------+-------------------------------------
       Reporter:  ncohen             |        Owner:
           Type:  defect             |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.6
      Component:  linear             |   Resolution:
  programming                        |    Merged in:
       Keywords:                     |    Reviewers:
        Authors:  Nathann Cohen      |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:  public/17867       |  9ab6ea2b4c79e0aa04ccd6a5d6ba2a7e34b78fcd
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------
Description changed by ncohen:

Old description:

> Ticket #14288 added a feature meant for educational purposes only which
> can *very easily* be confused with Sage's support of Linear Programming,
> as the two classes it creates are named LPProblem and
> LPProblemStandardForm *AND* imported in the global namespace.
>
> That's suicidal.
>
> With this branch, the two classes are renamed to something more
> meaningful, pointers are added toward MixedIntegerLinearProgram, and the
> old import are deprecated.
>
> {{{
> sage: P = LPProblem(A, b, c, ["C", "B"], variable_type=">=")
> /home/ncohen/.Sage/src/bin/sage-ipython:1: DeprecationWarning: This class
> meant for **educational purposes only** has been renamed to
> InteractiveLPProblem
> See http://trac.sagemath.org/17867 for details.
>   #!/usr/bin/env python
> }}}
>
> Nathann

New description:

 Ticket #14288 added a feature meant for educational purposes only which
 can *very easily* be confused with Sage's support of Linear Programming,
 as the two classes it creates are named LPProblem and
 LPProblemStandardForm *AND* imported in the global namespace.

 That's suicidal.

 With this branch, the two classes are renamed to something more
 meaningful, pointers are added toward `MixedIntegerLinearProgram`, and the
 old import are deprecated.

 {{{
 sage: P = LPProblem(A, b, c, ["C", "B"], variable_type=">=")
 /home/ncohen/.Sage/src/bin/sage-ipython:1: DeprecationWarning: This class
 meant for **educational purposes only** has been renamed to
 InteractiveLPProblem
 See http://trac.sagemath.org/17867 for details.
   #!/usr/bin/env python
 }}}

 Nathann

--

--
Ticket URL: <http://trac.sagemath.org/ticket/17867#comment:4>
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