is_feasible: Checks if a vector V is feasible in the decision space...

Description Usage Arguments Value Examples

View source: R/is_feasible.R

Description

Checks if a vector V is feasible in the decision space bounded by box constraints

Usage

1
is_feasible(V, L, U)

Arguments

V

- a decision vector

L

- lower bound, a vector

U

- upper bound, a vector

Value

True, if vector V is feasible, FALSE, otherwise

Examples

1
2
is_feasible(c(3,5), c(2,1), c(5,4))
is_feasible(c(3,5), c(2,1), c(5,6))

ingridas/EPICR documentation built on May 18, 2019, 4:54 a.m.