remove_constraint: Remove Constraint from Constraints Object

Description Usage Arguments Value

View source: R/Constraints.R

Description

Remove constraint object from constraints list of contraints. Can reference constraint by either index or id

Usage

1
remove_constraint(cobj, index, id = NULL)

Arguments

cobj

constraints object

index

constraint numeric index to remove. reference to position in constraints list

id

constraint id number to remove. default is NULL. If id not null, will over-ride index argument

Value

updated constraints object


chrishaarstick/madstork.opt documentation built on Nov. 12, 2019, 9:39 p.m.