x = sdpvar(5,1); a = rand(5,1); b = rand(5,1);
b'*(abs(x - a).^(3/2))
Nonlinear scalar (real, homogeneous, 5 variables)
Coeffiecient range: 0.09754 to 0.96489
sol =
struct with fields:
solvertime: 0
info: 'Solver not applicable (mosek)'
problem: -4
yalmiptime: 8.418
tic
x = sdpvar(3000,1);
optimize(norm(x,2) <= 1,ones(1,3000)*cpower(abs(x-4),3/2))
toc
tic
cvx_begin
variable y(3000);
minimize( ones(1,3000)*pow_pos(abs(y-4),3/2) );
subject to
norm(y,2) <= 1;
cvx_end
toc
sum(x-b) == 0