YALMIP icon indicating copy to clipboard operation
YALMIP copied to clipboard

setdependence slow

Open johanlofberg opened this issue 12 years ago • 0 comments

yalmip('clear') N = 5000; w = sdpvar(N, 1); previousPos = rand(N, 1); constraint = [0.0001 <= abs(w) <= 0.04, sum(abs(w)) == 1, abs(sum(w)) <= 0.04, sum(abs(w - previousPos)) <= 0.1];

johanlofberg avatar Aug 15 '12 10:08 johanlofberg