是通过fmincon函数的option参数传入的,写个简单的例子
option = optimset('Algorithm','interior-point'); % 使用内点算法x = fmincon(@obj,x0,Ac,b,[],[],lb,ub,@con,option);