test_feas_vec {DiceOptim} | R Documentation |

## Test constraints violation (vectorized)

### Description

Test whether a set of constraints are violated or not, depending on their nature (equality or inequality) and tolerance parameters

### Usage

```
test_feas_vec(cst, equality = FALSE, tolConstraints = NULL)
```

### Arguments

`cst` |
matrix of constraints (one column for each constraint function) |

`equality` |
either FALSE or a Boolean vector defining which constraints are treated as equalities |

`tolConstraints` |
tolerance (vector) for all constraints. If not provided, set to zero for inequalities and 0.05 for equalities |

### Value

A Boolean vector, TRUE if the point if feasible, FALSE if at least one constraint is violated

### Author(s)

Mickael Binois

Victor Picheny

[Package

*DiceOptim*version 2.1.1 Index]