constraint_ROI {PortfolioAnalytics} | R Documentation |
constructor for class constraint_ROI
Description
constructor for class constraint_ROI
Usage
constraint_ROI(
assets = NULL,
op.problem,
solver = c("glpk", "quadprog"),
weight_seq = NULL
)
Arguments
assets |
number of assets, or optionally a named vector of assets specifying seed weights |
op.problem |
an object of type "OP" (optimization problem, of |
solver |
string argument for what solver package to use, must have ROI plugin installed for that solver. Currently support is for |
weight_seq |
seed sequence of weights, see |
Author(s)
Hezky Varon
[Package PortfolioAnalytics version 2.0.0 Index]