bundles / scipy latest / scipy / optimize / _remove_redundancy / _remove_redundancy_id
function
scipy.optimize._remove_redundancy:_remove_redundancy_id
source: build-install/usr/lib/python3.14/site-packages/scipy/optimize/_remove_redundancy.py:454
Signature
def _remove_redundancy_id(A, rhs, rank = None, randomized = True)Summary
Eliminates redundant equations from a system of equations.
Extended Summary
Eliminates redundant equations from system of equations defined by Ax = b and identifies infeasibilities.
Parameters
A: 2-D arrayAn array representing the left-hand side of a system of equations
rhs: 1-D arrayAn array representing the right-hand side of a system of equations
rank: int, optionalThe rank of A
randomized: bool, optionalTrue for randomized interpolative decomposition
Returns
A: 2-D arrayAn array representing the left-hand side of a system of equations
rhs: 1-D arrayAn array representing the right-hand side of a system of equations
: status: intAn integer indicating the status of the system 0: No infeasibility identified 2: Trivially infeasible
message: strA string descriptor of the exit status of the optimization.
Aliases
scipy.optimize._linprog_util._remove_redundancy_id