八优化模型资料.pptVIP

  • 1
  • 0
  • 约6.25千字
  • 约 34页
  • 2016-04-15 发布于湖北
  • 举报
function [c,ceq,GC,GCeq] = mycon(x) c = ... % Nonlinear inequalities at x ceq = ... % Nonlinear equalities at x if nargout 2 % nonlcon called with 4 outputs GC = ... % Gradients of the inequalities GCeq = ... % Gradients of the equalities end * * 第8章 优化模型 8.1 无约束最优化问题 8.2 线性规划问题 8.3 二次规划问题 8.4 非线性规划问题 8.5 0-1规划问题 8.6 圆形工件检验优化模型 8.7 钢管的订购与运输 8.1 无约束最优化问题 数学描述 优化变量 目标函数 matlab解 一元函数极小 X=fminbnd(‘f’,x1,x2) 无约束极小 X=fminunc(‘f’,x0) (牛顿法) X=fminsearch(‘f’,x1,x2) 注: 得到的只是局部最优解,并非全局最优解 解: f=2*exp(-x).*sin(x); fplot(f,[0

文档评论(0)

1亿VIP精品文档

相关文档