Use optimization tool to find function maximum

hello, i have this function :
F = 5*x + 4*y + 6*z
if
x+y+z<=100
3*x+ 2*y <= 150
3*x+2*y+4*z <= 210
and i want to find F's Maximum with optimization tool, please help me how can i do that? which Solver should i choose ?

 采纳的回答

This sounds like a job for linprog. See this link to find out about maximizing rather than minimizing.
Alan Weiss
MATLAB mathematical toolbox documentation

更多回答(0 个)

类别

产品

Community Treasure Hunt

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

Start Hunting!

Translated by