I am very new to matlab and trying to solve portfolio optimization problem (minimizing the variance) using quadprog:
minW = quadprog(t_covar, v0, [], [], e, ub, lb, [], []);
where t_covar is the covariance matrix, v0 is a zero vector, e is the identity vector, ub = 1 and lb is a zero vector.
It seems to work fine but I get this warning:
Warning: Trust-region-reflective algorithm does not solve this type of problem, using active-set algorithm. You could also try the interior-point-convex algorithm: set the Algorithm option to interior-point-convex and rerun.
Am I doing something wrong ? Should I worry about this warning ?
Hope I was clear thanks