#18805: Add didactical implementation of tableau cutting planes to
interactive_simplex_method
-------------------------------------+-------------------------------------
Reporter: mkoeppe | Owner:
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-6.8
Component: numerical | Resolution:
Keywords: | Merged in:
Authors: Peijun Xiao | Reviewers: Andrey Novoseltsev
Report Upstream: N/A | Work issues: doc format
Branch: | Commit:
u/pjxiao/add_didactical_implementation_of_tableau_cutting_planes_to_interactive_simplex_method|
54cc5d123338bed43b1c97930c15ed1b9407c218
Dependencies: #18742 | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by novoselt):
{{{
+ Examples for the sufficient conditions for integer slack
variables::
+
+ sage: P = InteractiveLPProblem(A, b, c)
+ sage: P.integer_variables()
+ set()
+ sage: P = InteractiveLPProblem(A, b, c,
integer_variables=True)
+ sage: P.integer_variables()
+ {x1, x2, x3, x4}
+ sage: b1 = (11/10, 5)
+ sage: P = InteractiveLPProblem(A, b1, c,
integer_variables=True)
+ sage: P.integer_variables()
+ {x1, x2, x4}
+ sage: A1 = ([1, 1], [3/10, 1])
+ sage: P = InteractiveLPProblem(A1, b1, c,
integer_variables=True)
+ sage: P.integer_variables()
+ {x1, x2}
+
+ Allow the user to choose integer slack variables which may
violate the sufficient conditions::
+
+ sage: P = InteractiveLPProblem(A, b, c,
integer_variables={'x1', 'x2', 'x3'})
+ sage: P.integer_variables()
+ {x1, x2, x3}
}}}
I do not understand the comments here. These examples should demonstrate
creation of problems and use of parameters, there was no talk about slack
variables, sufficient conditions, and their violation.
--
Ticket URL: <http://trac.sagemath.org/ticket/18805#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.