Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
InteractiveLPBackend: Add class docstring
Browse files Browse the repository at this point in the history
In the hope to appease the coverage patchbot
  • Loading branch information
Matthias Koeppe committed Mar 31, 2016
1 parent 9cf5a75 commit 806e6b6
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/sage/numerical/backends/interactivelp_backend.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,21 @@ from sage.numerical.interactive_simplex_method import InteractiveLPProblem, defa
from sage.modules.all import vector

cdef class InteractiveLPBackend:
"""
MIP Backend that works with :class:`InteractiveLPProblem`.
This backend should be used only for linear programs over general fields,
or for educational purposes. For fast computations with floating point
arithmetic, use one of the numerical backends. For exact computations
with rational numbers, use backend 'PPL'.
There is no support for integer variables.
EXAMPLE::
sage: from sage.numerical.backends.generic_backend import get_solver
sage: p = get_solver(solver = "InteractiveLP")
"""

def __cinit__(self, maximization = True, base_ring = None):
"""
Expand Down

0 comments on commit 806e6b6

Please sign in to comment.