最小化的目标函数为:
opt_fun(x)=50*c*(x(1)+2x(2)+3x(3)+4x(4))+max(h*(143-50x(2)-50x(3)-50x(4)),22h+p*(50x(2)+50x(3)+50x(4)-121)+max(h*(103.5-50x(3)-50x(4),24.5h+p*(50x(3)+50x(4)-79)+max(h*(64-50x(4)),24h+p(50x(4)-40),其中syms c h p positive ,且x>=0,没有其他约束。应该怎么处理呢?