请问这个函数怎样用lingo或者matlab实现?
max 2a(h-btan50)+2b(h-btan50)+b(h-btan50)/cos50+b(h-btan50)tan50 st 3<=a<=15 3<=b<=15 ab<=74 h<=5.4 h-btan50>=2.8 end
补充:非线性规划问题
追问:偏不是不建模了你好无聊
max 2a(h-btan50)+2b(h-btan50)+b(h-btan50)/cos50+b(h-btan50)tan50 st 3<=a<=15 3<=b<=15 ab<=74 h<=5.4 h-btan50>=2.8 end
补充:非线性规划问题
追问:偏不是不建模了你好无聊
答案:model:
max=2*a*(h-b*@tan(50))+2*b*(h-b*@tan(50))+b*(h-b*@tan(50))/@cos(50)+b*(h-b*@tan(50))*@tan(50);
@bnd(3,a,15);
@bnd(3,b,15);
a*b<=74;
h<=5.4;
h-b*@tan(50)>=2.8;
end