Main Content

Set up linear equality constraints for portfolio weights

sets up linear equality constraints for portfolio weights for
`obj`

= setEquality(`obj`

,`AEquality`

,`bEquality`

)`Portfolio`

, `PortfolioCVaR`

, or
`PortfolioMAD`

objects. For details on the respective
workflows when using these different objects, see Portfolio Object Workflow, PortfolioCVaR Object Workflow,
and PortfolioMAD Object Workflow.

Given linear equality constraint matrix `AEquality`

and
vector `bEquality`

, every weight in a portfolio
`Port`

must satisfy the
following:

AEquality * Port = bEquality

You can also use dot notation to set up linear equality constraints for portfolio weights.

obj = obj.setEquality(AEquality, bEquality);

Linear equality constraints can be removed from a portfolio object by entering

`[]`

for each property you want to remove.

- Working with Linear Equality Constraints Using Portfolio Object
- Working with Linear Equality Constraints Using PortfolioCVaR Object
- Working with Linear Equality Constraints Using PortfolioMAD Object
- Portfolio Optimization Examples
- Portfolio Set for Optimization Using Portfolio Object
- Portfolio Set for Optimization Using PortfolioCVaR Object
- Portfolio Set for Optimization Using PortfolioMAD Object