# Lab 3

Numerical Methods for EngineersLab # 3Optimization using MatlabThe Matlab function LINPROG can be used to solve a linear programming problem with thefollowing syntax (help LINPROG):X=LINPROG(f, A, b) solves the linear programming problem:min f’*xsubject to: A*x <= bX=LINPROG(f, A, b, Aeq, beq) solves the problem above while additionally satisfying theequality constraints Aeq*x = beq.X=LINPROG(f, A, b, Aeq, beq, LB, UB) defines a set of lower and upper bounds on thedesign variables, X, so that the solution is in the range LB <= X <= UB. Use empty matricesfor LB and UB if no bounds exist. Set LB(i) = -Inf if X(i) is unbounded below; set UB(i) =Inf if X(i) is unbounded above. LINPROG minimizes an objective function.Example # 1:Minimize z =  150x1  175x2Note: Maximizing (150x1 + 175x2) is equivalent to minimizing ( 150x1  175x2)Subject to7x1 + 11x2  7710 ... Purchase document to see full attachment

Don't use plagiarized sources. Get Your Custom Essay on
Lab 3
Just from \$8/Page
Pages (550 words)
Approximate price: -
Paper format
• 275 words per page
• 12 pt Arial/Times New Roman
• Double line spacing
• Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Try it now!

## Calculate the price of your order

Total price:
\$0.00

How it works? Fill in the order form and provide all details of your assignment. Proceed with the payment

Choose the payment system that suits you most. 