Construct an initial simplex tableau of the linear program for given A, b, c, sense (max = 1, min = -1), relation ("<=", "=", "=>").

construct_tableau(
  A,
  b,
  c,
  sense = 1,
  relation = rep("<=", length(b)),
  bigM = 1000
)

Arguments

A

matrix, coefficient matrix of the LP

b

vector, RHS

c

vector, coefficients of the objective function

sense

scalar, max = 1, min = -1 (default = 1)

relation

vector, "<=", "=", "=>" (default = "<=")

bigM

scalar, M used in bigM-method (default = 1000)

Value

matrix, initial (primal feasible) simplex tableau