#18742: interactive_simplex_method: Support several styles corresponding to 
major
textbooks
-------------------------------------+-------------------------------------
       Reporter:  mkoeppe            |        Owner:
           Type:  task               |       Status:  needs_work
       Priority:  minor              |    Milestone:  sage-6.8
      Component:  numerical          |   Resolution:
       Keywords:  beginner, lp,      |    Merged in:
  teaching                           |    Reviewers:  Andrey Novoseltsev
        Authors:  Peijun Xiao,       |  Work issues:
  Matthias Koeppe                    |       Commit:
Report Upstream:  N/A                |  1a2845ffc2768bde19a9e7a29e3d9131aa79e278
         Branch:                     |     Stopgaps:
  
u/mkoeppe/interactive_simplex_method__support_several_styles_corresponding_to_major_textbooks|
   Dependencies:                     |
-------------------------------------+-------------------------------------
Changes (by novoselt):

 * status:  needs_review => needs_work
 * reviewer:   => Andrey Novoseltsev


Comment:

 Hmmm, that's not quite what I thought was going to happen.

 1. Are there use cases when it is convenient to work a lot with multiple
 style problems? It seems to me that you probably like one or the other and
 don't care about other styles at all. Then it would make sense to have a
 single global style variable (in the module, of course, not in the global
 user namespace) which the user can set once in the beginning of each
 session and not worry about it again.
 2. The naming "None" and "vanderbei" could be improved. How about using
 proper capitalization string for authors, i.e. "Vanderbei" and something
 more descriptive for the current style, say "UAlberta" since I am not bold
 enough to claim it under my own name ;-) It may be convenient to also
 support "default" which will equate to one of the named styles.
 3. The way how style differences are documented makes it a bit hard to
 follow and most definitely will be hard to expand in the future. How
 about: have a single function (rather than exposed variable) that changes
 the style or returns current one, whose docstring lists all possible
 styles and instead of comparing them to each other has a list of
 conventions for each (i.e. dictionaries are displayed like ..., default
 objective variable is ..., default dual variables are ..., etc.) Then
 adding another style means adding another block to this function without
 altering others. Functions whose default behaviour depends on the style
 can just point to that function for details instead of duplicating
 descriptions.

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