Substitute a value in a system of linear (in)equations
subst_value(A, b, variables, values, remove_columns = FALSE, eps = 1e-08)
A list
with the following components:
A
: the A
corresponding to the simplified sytem.
b
: the constant vector corresponding to the new system
[numeric]
matrix
[numeric]
vector
[numeric|logical|character]
vector of column indices in A
[numeric]
vecor of values to substitute.
[logical]
Remove spurious columns when substituting?
[numeric]
scalar. Any value with absolute value below eps
will be
interpreted as zero.
A system of the form Ax <= b
can be simplified if one or more of the
x[i]
values is fixed.