Given two column vectors v1, v2 of size n=20, I am trying to solve the following
% Define decision variable
x = sdpvar(n,1);
a = sdpvar(2,1);
% Define an objective (minimize)
w_comb = rand(n,2)*a; % <--- the rand(n,2) matrix would be a matrix of the two col. vectors (v1,v2)
Objective = w'*x - lambda*norm(x - x_old, 2)^2;
% Define constraints
Constraints = [-x_r<= x <= x_r, ...
sum(a) == 1, ...
a >= 0];
% Set some options for YALMIP and solver
options = sdpsettings('solver','mosek','verbose',0);
% Solve the problem
sol = optimize(Constraints,-Objective,options);
Can I use an ADMM type approach to solve this problem? Any other alternatives would be much appreciated. Ty.