The raml
package provides an elementary algebraic modeling language (AML) in the R ecosystem.
You can install raml from github with:
# install.packages("devtools")
devtools::install_github("jlepird/raml")
This example shows you how to solve the basic linear optimization problem:
max x + 2y
Subject to:
x + y <= 5
x, y Nonnegative and Real.