clear.output.exprs {localsolver}R Documentation

Remove all output expressions (see: add.output.expr).

Description

Remove all output expressions (see: add.output.expr).

Usage

clear.output.exprs(lsp)

Arguments

lsp

problem instance created with ls.problem.

Value

updated ls.problem instance.

Examples

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)

[Package localsolver version 2.3 Index]