MATLAB: Use optimization tool to find function maximum

conditionequationMATLABsolve

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 ?

Best 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