ranges {lintools}R Documentation

Derive variable ranges from linear restrictions

Description

Gaussian and/or Fourier-Motzkin elimination is used to derive upper and lower limits implied by a system of (in)equations.

Usage

ranges(A, b, neq = nrow(A), nleq = 0, eps = 1e-08)

Arguments

A

[numeric] Matrix

b

[numeric] vector

neq

[numeric] The first neq rows in A and b are treated as linear equalities.

nleq

[numeric] The nleq rows after neq are treated as inequations of the form a.x<=b. All remaining rows are treated as strict inequations of the form a.x<b.

eps

[numeric] Coefficients with absolute value <= eps are treated as zero. using Fourier-Motzkin elimination.


[Package lintools version 0.1.7 Index]