Question: QUESTION 4 ( a ) Write a GNU Octave code to determine the maximum value of L , as well as the point ( x

QUESTION 4
(a) Write a GNU Octave code to determine the maximum value of L, as well as the point (x1;x2;x3;x4) at which the maximum occurs, of
L=7x1+6x2+5x3+4x4,
subject to the constraints
x1+x2+x3+x4,,450000,
x1,25000,
x2,10000,
x3,30000,
x2+x4,,70000,
x1+x2,,34000,
x1,x2,x3,x4,0.,
(b) Suppose that a portfolio fund manager has investment portfolio with a total of 200 Bonds, 120 CFDs, and 150 Commodities. He is required to structure two types of investment baskets. Investment basket A contains 20 Bonds, 10 CFDs and 10 Commodities. Investment basket B contains 10 Bonds, 20 CFDs and 30 Commodities. If the profit (return on investment) of basket A is $5000 and that of basket B is $12000, how many of each basket should he avail to investors in order to maximize the profit (returns)? To solve this maximization problem write a GNU Ocatve code that computes maximum number of per basket to be used in order to yield optimal returns.
[25]
QUESTION 4 ( a ) Write a GNU Octave code to

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!