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 ?

 Accepted Answer

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

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!