{ } Raw JSON

bundles / scipy latest / scipy / optimize / _remove_redundancy / _remove_redundancy_pivot_sparse

function

scipy.optimize._remove_redundancy:_remove_redundancy_pivot_sparse

source: /scipy/optimize/_remove_redundancy.py :235

Signature

def   _remove_redundancy_pivot_sparse ( A rhs )

Summary

Eliminates redundant equations from system of equations defined by Ax = b and identifies infeasibilities.

Parameters

A : 2-D sparse array

An matrix representing the left-hand side of a system of equations

rhs : 1-D array

An array representing the right-hand side of a system of equations

Returns

A : 2-D sparse array

A matrix representing the left-hand side of a system of equations

rhs : 1-D array

An array representing the right-hand side of a system of equations

: status: int

An integer indicating the status of the system 0: No infeasibility identified 2: Trivially infeasible

message : str

A string descriptor of the exit status of the optimization.

Aliases

  • scipy.optimize._linprog_util._remove_redundancy_pivot_sparse