How do i find the optimum variable values to maximise a Function?
3 次查看(过去 30 天)
显示 更早的评论
Say, I have a fucntion y given by
y = au+bv+zw where u,v and w are variables.
How do i find the values of variables such that maximum value of y is obtained? I have a range of values for the variables. I wanna know which variable should be given more importance.
Thank you
0 个评论
回答(1 个)
Jan
2021-4-28
y = au+bv+zw is maximal, if all u,v,w are maximal, if a,b,z are positive. For negative parameters, use the minimal allowed value.
Something is missing. Maybe the sum u+v+w is limited?
2 个评论
Alan Weiss
2021-4-29
Perhaps you have a linear programming problem. See linprog and the linear programming documentation.
Alan Weiss
MATLAB mathematical toolbox documentation
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!