I'm trying to solve this PL with R Studio:
a<-c(3,4)
A<-matrix(c(2,3,2,1,1,3),nrow = 3, byrow = TRUE)
b<-c(180, 120, 150)
result<-simplex(a, A1=A, b1=b, maxi=TRUE)
I got this after running the last line
Error in simplex(a, A1 = A, b1 = b, maxi = TRUE) :
could not find function "simplex"
how can i solve it ?