Hi,
I'm trying to solve an optimization constrained problem with an initial point x0 using linprog. My matlab version is 2016b and I'm writting the code as follows, which is stated when using the MATLAB help function.
options = optimoptions('linprog','Algorithm','active-set');
[xmin,fval,exitflag,output,lambda] = linprog(f,A,b,Aeq,beq,lb,ub,x0,options);
The previous code gives me the following error.
Error using optimoptions (line 118) Invalid value for OPTIONS parameter Algorithm: must be 'interior-point-legacy', 'dual-simplex', or 'interior-point'.
I tried the same code in Matlab 2016a and it works perfectly, does anybody has an idea on how to make 'linprog' work with an initial point in matlab 2016b?
Thank you in advance!
Best Answer