mssm.getUpperBound: Computes the upper bound of a matrix

Description Usage Arguments Value Maintainer See Also

View source: R/mssm.R

Description

Computes the upper bound of a matrix. The upper bound is computed here as the sum of all positive values. This can be usefull to determines if the found solution match the upper bound computed here as this means that the solution is an optimal solution.

Usage

1

Arguments

x

a matrix or a Java two-dimensionnal array of double (mssm.asJavaMatrix()).

Value

A numeric value corresponding to the sum of all positive values in the matrix.

Maintainer

Vincent Branders <vincent.branders@uclouvain.be>.

See Also

mssm.asJavaMatrix() and mssm.search.cpgc() for the transformation of a matrix to a Java Matrix and the search of a submatrix of maximal sum. See also package mssm.


vbranders/mssm documentation built on Aug. 1, 2020, 11:45 a.m.