%% Obtain Values for Lower and Upper Bounds for a Portfolio Object
% Given portfolio p with the default constraints set, obtain the values for LowerBound and UpperBound.

p = Portfolio;
p = setDefaultConstraints(p, 5);
[LowerBound, UpperBound] = getBounds(p)

% Copyright 2015 The MathWorks, Inc.