%% Set 'TrustRegionCP' as the Solver Type with Default Options for a PortfolioCVaR Object
% Use 'TrustRegionCP' as the solverType with default options.

p = PortfolioCVaR;
p = setSolver(p,'TrustRegionCP');
display(p.solverType);
display(p.solverOptions);

% Copyright 2015 The MathWorks, Inc.