%% Obtain Values for Lower and Upper Budgets for a PortfolioCVaR Object
% Given a PortfolioCVaR object p with the default constraints set, obtain the values for LowerBudget and UpperBudget.

p = PortfolioCVaR;
p = setDefaultConstraints(p, 5);
[LowerBudget, UpperBudget] = getBudget(p)

% Copyright 2015 The MathWorks, Inc.