K_zero {ROI} | R Documentation |
Cone Constructors
Description
Constructor functions for the different cone types. Currently ROI supports eight different types of cones.
-
Zero cone
-
Nonnegative (linear) cone
-
Second-order cone
-
Positive semidefinite cone
-
Exponential cone
-
Dual exponential cone
-
Power cone
-
Dual power cone
Usage
K_zero(size)
K_lin(size)
K_soc(sizes)
K_psd(sizes)
K_expp(size)
K_expd(size)
K_powp(alpha)
K_powd(alpha)
Arguments
size |
a integer giving the size of the cone,
if the dimension of the cones is fixed
(i.e. |
sizes |
a integer giving the sizes of the cones,
if the dimension of the cones is not fixed
(i.e. |
alpha |
a numeric vector giving the |
Examples
K_zero(3) ## 3 equality constraints
K_lin(3) ## 3 constraints where the slack variable s lies in the linear cone
[Package ROI version 1.0-1 Index]