solve_ram.Rd
Solve a Resource Allocation Model with Mixed Constraints
solve_ram(model, direction = "max")
A 'ram_model' object as returned by create_ram_model()
.
"max" to maximize the objective, "min" to minimize (default: "max").
A list with:
Named vector of optimal activity levels
Optimal value of the objective function
Status code from lpSolve (0 = success)