示例#1
0
    def basis_status(self) -> "operations_research::MPSolver::BasisStatus":
        r"""
        Advanced usage: returns the basis status of the constraint.

        It is only available for continuous problems).

        Note that if a constraint "linear_expression in [lb, ub]" is transformed
        into "linear_expression + slack = 0" with slack in [-ub, -lb], then this
        status is the same as the status of the slack variable with AT_UPPER_BOUND
        and AT_LOWER_BOUND swapped.

        See also: MPSolver::BasisStatus.
        """
        return _pywraplp.Constraint_basis_status(self)
 def basis_status(self) -> "operations_research::MPSolver::BasisStatus":
     return _pywraplp.Constraint_basis_status(self)
示例#3
0
 def basis_status(self):
     return _pywraplp.Constraint_basis_status(self)