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

3 visualizaciones (últimos 30 días)
Lokesh Sathyanarayana
Lokesh Sathyanarayana el 28 de Abr. de 2021
Comentada: Alan Weiss el 29 de Abr. de 2021
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

Respuestas (1)

Jan
Jan el 28 de Abr. de 2021
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 comentarios
Lokesh Sathyanarayana
Lokesh Sathyanarayana el 28 de Abr. de 2021
Yes, sorry about that. Yeah something like that. The sum or the product is limited. How do i proceed then?
Alan Weiss
Alan Weiss el 29 de Abr. de 2021
Perhaps you have a linear programming problem. See linprog and the linear programming documentation.
Alan Weiss
MATLAB mathematical toolbox documentation

Iniciar sesión para comentar.

Categorías

Más información sobre Solver Outputs and Iterative Display en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by