powered by
add.output.expr
clear.output.exprs(lsp)
ls.problem
model.text.lsp <- lsp.model.example('extdata/knapsack.txt') lsp <- ls.problem(model.text.lsp) lsp <- add.output.expr(lsp, "knapsackWeight") lsp <- clear.output.exprs(lsp)
Run the code above in your browser using DataLab