From 03c90c0e40963dd721e5ad5a3ea7d7b64035ecb8 Mon Sep 17 00:00:00 2001 From: zaikunzhang Date: Wed, 3 Apr 2024 12:43:42 +0800 Subject: [PATCH] 240403.124342.HKT exclude 1D problems from the profiling --- matlab/tests/private/testcu.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/matlab/tests/private/testcu.m b/matlab/tests/private/testcu.m index 24eb50d1fe..2d68232ea6 100644 --- a/matlab/tests/private/testcu.m +++ b/matlab/tests/private/testcu.m @@ -34,7 +34,8 @@ ctol_multiple = 1; % The real ctol to use is ctol*ctol_multiple. cpenalty = 1e10; % The penalty to use when the constraint violation is greater than ctol. type = 'ubln'; % The default types of problems to test -mindim = 1; % The default minimal dimension of problems to test +mindim = 2; % The default minimal dimension of problems to test +% We do not test 1D problems, because they are not interesting, and because the classical uobyqa cannot handle them. if any(startsWith(solvers, 'cobyla')) maxdim = 20; % The default maximal dimension of problems to test else