View source: R/algorithms_1sided.R
rna_rec | R Documentation |
rna_rec(
total_cost,
A,
bounds = NULL,
unit_costs = rep(1, length(A)),
check_violations = .Primitive(">=")
)
total_cost |
( |
A |
( |
bounds |
(
|
unit_costs |
( |
check_violations |
( |
this coded was not extensively tested.
A <- c(3000, 4000, 5000, 2000)
M <- c(100, 90, 70, 80) # upper bounds.
rna_rec(total_cost = 190, A = A, bounds = M)
rna_rec(total_cost = 312, A = A, bounds = M)
rna_rec(total_cost = 339, A = A, bounds = M)
rna_rec(total_cost = 340, A = A, bounds = M)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.