How do i find the optimum variable values to maximise a Function?

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

답변 (1개)

Jan
Jan 2021년 4월 28일

0 개 추천

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

Yes, sorry about that. Yeah something like that. The sum or the product is limited. How do i proceed then?
Perhaps you have a linear programming problem. See linprog and the linear programming documentation.
Alan Weiss
MATLAB mathematical toolbox documentation

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

질문:

2021년 4월 28일

댓글:

2021년 4월 29일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by