MATLAB,fmincon解题原理是什么?
请问高手,MATLAB中fmincon函数的解题原理是什么?他是根据具体什么算法实现的?比如是内点法?还是其他什么算法?谢谢...
请问高手,MATLAB中fmincon函数的解题原理是什么?他是根据具体什么算法实现的?比如是内点法?还是其他什么算法?谢谢
展开
3个回答
展开全部
fmincon attempts to solve problems of the form:
min F(X) subject to: A*X <= B, Aeq*X = Beq (linear constraints)
X C(X) <= 0, Ceq(X) = 0 (nonlinear constraints)
LB <= X <= UB (bounds)
fmincon implements four different algorithms: interior point, SQP, active
set, and trust region reflective. Choose one via the option Algorithm:
for instance, to choose SQP, set OPTIONS = optimset('Algorithm','sqp'),
and then pass OPTIONS to fmincon.
可以看出它有四种算法。使用help fmincon看看就知道了!
min F(X) subject to: A*X <= B, Aeq*X = Beq (linear constraints)
X C(X) <= 0, Ceq(X) = 0 (nonlinear constraints)
LB <= X <= UB (bounds)
fmincon implements four different algorithms: interior point, SQP, active
set, and trust region reflective. Choose one via the option Algorithm:
for instance, to choose SQP, set OPTIONS = optimset('Algorithm','sqp'),
and then pass OPTIONS to fmincon.
可以看出它有四种算法。使用help fmincon看看就知道了!
展开全部
在其options中有算法说明,分别为:
'interior-point', 'active-set', or the default, 'trust-region-reflective'.
可以按照要求进行处理
'interior-point', 'active-set', or the default, 'trust-region-reflective'.
可以按照要求进行处理
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
你的代码中调用fmincon函数中@total1不应该是@myfun目标函数吗,后面的那个[c,ceq] = mycon(x) c(1)=350-163*x^(-2.86)*x(3)^0.86; c,
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询