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

Commit

Permalink
MixedIntegerLinearProgram._backend_variable_value: Add docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Jul 15, 2021
1 parent cf16293 commit 5a74113
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/sage/numerical/mip.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1373,7 +1373,13 @@ cdef class MixedIntegerLinearProgram(SageObject):

def _backend_variable_value(self, v, tolerance):
"""
tolerance is ignored
Return the value of a variable component in the backend.
INPUT:
- ``v`` -- a variable component
- ``tolerance`` -- ignored
"""
return self._backend.get_variable_value(self._variables[v])

Expand Down

0 comments on commit 5a74113

Please sign in to comment.