thresh2constraints
translates lower and upper constraints
on coordinates into linear and offset constraints (A*Z <= B).
lower and upper can have -Inf or Inf coordinates.
1 | thresh2constraints(d, lower = rep(-Inf, d), upper = rep(Inf, d))
|
d |
dimension of vector |
lower |
1 or d-dim lower constraints |
upper |
1 or d-dim upper constraints |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.