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

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

% Copyright 2015 The MathWorks, Inc.