| LpSparseMatrix {Microsoft.VisualBasic.Math.LinearAlgebra.LinearProgramming} | .NET clr documentation |
A sparse matrix in the compressed sparse row(CSR) format.
This matrix object is specially designed for the large scale linear programming problem, example as the FBA problem of the genome scale metabolic network: the stoichiometric matrix of a GEM model is a highly sparse matrix, so that a dense matrix storage in such a large scale problem will run out of the memory.
The column index in each row is always kept in ascending order, so that the element lookup in a row can be done via binary search.
# namespace Microsoft.VisualBasic.Math.LinearAlgebra.LinearProgramming
export class LpSparseMatrix {
# the number of the non-zero elements in this matrix
NonZeros: integer;
}