Is there any way to define constraint for lpSolve as a set of discrete values. E.g., I can define constraint with '<=','=','>=':
fn.obj <- c(3.62, 5.19, 7.29, 7.76, 3.82, 4.86, 4.03, 8.81, 9.14)
require(lpSolveAPI)
...
add.constraint(model, c(70,70,-30,70,-30,-30,-30,-30,70), ">=", 0)
...
What if I just want my x[1],x[2],...,x[9] each to be in a discrete set of values like:
x[1] in c(20000,25000,30000,35000,40000,45000,50000)
...