hellerTompkins: Determine if a matrix is totally unimodular using Heller and...

View source: R/unimodularity.R

hellerTompkinsR Documentation

Determine if a matrix is totally unimodular using Heller and Tompkins criterium.

Description

This function is deducorrect internal

Usage

hellerTompkins(A)

Arguments

A

An object of class matrix in \{-1,0,1\}^{m\times n}. Each column must have exactly 2 nonzero elements. (This is tested by is_totally_unimodular).

Value

TRUE if matrix is unimodular, otherwise FALSE

See Also

is_totally_unimodular


lintools documentation built on Jan. 17, 2023, 1:06 a.m.