Suppress the following console output
2 views (last 30 days)
Show older comments
My friend and I are making an SVM on our own (not using ML toolbox), and getting the following console output from a function we're using
"Minimum found that satisfies the constraints.
Optimization completed because the objective function is non-decreasing in
feasible directions, to within the default value of the optimality tolerance,
and constraints are satisfied to within the default value of the constraint tolerance.
<stopping criteria details>."
How can we suppress this message? I looked at other answers and they don't seem to help us. Thanks!
0 Comments
Answers (1)
Walter Roberson
on 26 Feb 2018
>> fminunc(@(x) x.^2-1, 55)
Local minimum found.
Optimization completed because the size of the gradient is less than
the default value of the optimality tolerance.
<stopping criteria details>
ans =
-6.16516743434659e-07
>> fminunc(@(x) x.^2-1, 55, optimoptions('fminunc','Display','none'))
ans =
-6.16516743434659e-07
0 Comments
See Also
Categories
Find more on Problem-Based Optimization Setup in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!