portcons
Portfolio constraints
Description
generates a matrix of constraints, using linear inequalities, for a portfolio of
asset investments. The inequalities are of the type ConSet
= portcons(ConstType
,consttype_values)A*Wts' <=
b
, where Wts
is the matrix of weights. The
matrix ConSet
is defined as ConSet = [A
b]
.
Note
An alternative for portfolio optimization is to use the Portfolio
object for
mean-variance portfolio optimization. This object supports gross or net
portfolio returns as the return proxy, the variance of portfolio returns
as the risk proxy, and a portfolio set that is any combination of the
specified constraints to form a portfolio set. For information on the
workflow when using Portfolio
objects, see Portfolio Object Workflow.
Examples
Input Arguments
Output Arguments
Version History
Introduced before R2006a