Products & Services Solutions Academia Support User Community Company

Learn more about Financial Toolbox   

active2abs - Convert constraints from active to absolute format

Syntax

AbsConSet = active2abs(ActiveConSet, Index)

Arguments

ActiveConSet

Portfolio linear inequality constraint matrix expressed in active weight format. ActiveConSet is formatted as [A b] such that A*w <= b, where A is a number of constraints (NCONSTRAINTS) by number of assets (NASSETS) weight coefficient matrix, and b and w are column vectors of length NASSETS. The value w represents a vector of active asset weights (relative to the index portfolio) whose elements sum to 0.


See the output ConSet from portcons for additional details about constraint matrices.

Index

NASSETS-by-1 vector of index portfolio weights. The sum of the index weights must equal the total portfolio value (for example, a standard portfolio optimization imposes a sum-to-one budget constraint).

Description

AbsConSet = active2abs(ActiveConSet, Index) transforms a constraint matrix to an equivalent matrix expressed in absolute weight format. The transformation equation is

Therefore

The initial constraint matrix consists of NCONSTRAINTS portfolio linear inequality constraints expressed in active weight format (relative to the index portfolio). The index portfolio vector contains NASSETS assets.

AbsConSet is the transformed portfolio linear inequality constraint matrix expressed in absolute weight format, also of the form [A b] such that A*w <= b. The value w represents a vector of active asset weights (relative to the index portfolio) whose elements sum to the total portfolio value.

See Also

abs2active, pcalims, pcgcomp, pcglims, pcpval, portcons

  


Free Interactive Computational Finance CD

View demos and recorded presentations led by industry experts.

Now On Demand
Network with industry peers and learn the latest applications of the leading software product for computational finance.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS