Skip to content

Commit

Permalink
Remove truncated from feature_adaptive
Browse files Browse the repository at this point in the history
  • Loading branch information
Lht97 committed Dec 6, 2024
1 parent 4488ac1 commit 5e55e58
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/profile_optiprofiler.m
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ function profile_optiprofiler(options)
if ~isfield(options, 'labels')
error('Please provide the labels for the solvers');
end
feature_adaptive = {'noisy', 'truncated', 'custom'};
% Why we remove the truncated form feature adaptive? Fminunc do not know the noise level
% such that it can not decide the step size.
feature_adaptive = {'noisy', 'custom'};
if ismember('fminunc', options.labels) && ismember(options.feature_name, feature_adaptive)
switch options.noise_level
case 1e-1
Expand Down

0 comments on commit 5e55e58

Please sign in to comment.