A step of the miprgr_native implementation. Called by miprgr_branch_and_bound.
See the file header for the source the module follows.
Usage
miprgr_solve_relaxation(
A,
b,
c,
bounds = list(),
n = NULL,
maximise = TRUE,
solver = "simplex"
)Arguments
- A
A matrix; indexed by row and column.
- b
A vector; its length is taken and its elements indexed.
- c
A vector; its length is taken.
- bounds
A vector; its length is taken. Defaults to
list().- n
Optional; may be
NULL. Coerced to integer by the body, withas.integer.- maximise
A flag; the body branches on it. Defaults to
TRUE.- solver
Compared against
"simplex". Defaults to"simplex".
