Pass column name to lpSolve obj from drop down

31 Views Asked by At

Pass column name to lpSolve obj from drop down.

OptTotal total is a column name for optimisation, I would like a drop down box to select which column to optimise against but can not figure it out.

  obj <- rv$products$OptTotal

I would like something like the below

obj <- rv$products$get(Input$ColumnName) This does not work but explains what I would like.

0

There are 0 best solutions below