Skip to content

interactive_simplex_method: Support several styles corresponding to major textbooks #18742

@mkoeppe

Description

@mkoeppe

I propose to extend the interactive_simplex_method classes so that they take an optional keyword argument "style", which controls several aspects of how the problems and their dictionaries are presented. The style can also be set globally.

For example, if style='Vanderbei' (which we are working on in this ticket), it would follow Robert Vanderbei's popular text. Compared to the current code (which textbook does it follow?), there are differences in the naming of slack variables, of the objective functions, and some subtle formatting differences.

Supporting the styles of some popular textbooks may help making Sage the tool of choice for teaching the simplex method.

CC: @novoselt @nathanncohen @yuan-zhou @pgxiao

Component: numerical

Keywords: teaching

Author: Peijun Xiao, Matthias Koeppe, Andrey Novoseltsev

Branch/Commit: 8ce0dee

Reviewer: Andrey Novoseltsev, Matthias Koeppe

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions