Professional Documents
Culture Documents
X1
8
X2
5
X3
2.5
Usage
Constraints
Operati Availab
on
le
Left
over
Wood
10
1000
<=
1000
Glass
1.5
600
<=
600
Demo
100
>=
100
Producti
on
X1=
100
X2=
X3=
Profit=
800
2) A stock broker has a client who wants to invest $1000000 in the stock market
only. The client wants a diversified stock portfolio. Currently, the brokerage
firm is suggesting that the broker should choose from the following list of
stock.:
Stock
Cost/Share
Manufacturing
Computer
Food
Utility
Electronics
Automobile
Textile
Housing
$50
$4.75
$18.5
$102
$7.8
$65.25
$24.3
$11.6
Risk (110)
3
9
7
1
8
2
6
7
Current Annual
Return (%)
7.7
5.2
12.5
10
7.3
13
4.2
8.1
The client wants diversity in the portfolio where no more than 15% of the
portfolio is invested in any one stock. Although the investor wants a high
return, he would like to control his level of risk. He wants no more than 30%
of his stock acquisitions to be at a risk level of 7 or greater. He also would like
to at least 10% of his portfolio to have a rating of 3 or less. The investor
would prefer that manufacturing, computer and electronic stocks make up
40% or less of the portfolio. He also would like to at least have a ten textile
shares in his portfolio. How many shares of each stock should be purchased
to maximize the total annual return on his portfolio?
Solution:
Let x1, x2, x3, x4, x5, x6, x7, x8 be the number of shares of
manufacturing, computer, food, utility, electronics, automobile,
textile and housing
Maximize:
z=3.85x1+0.247x2+2.3125x3+10.2x4+0.5694x5+8.4825x6+1.
0206x7+0.9396x8
Constraints:
50x1+4.75x2+18.50x3+102x4+7.80x5+65.75x6+24.30x7+11.
60x8 <= 10000000
4.75x2+18.50x3+7.80x5+11.60x8 <= 300000
Solution:
Shares of Stock
Cost
X1
X2
X3
X4
X5
X6
X7
X8
3.85
0.247
2.3125
10.2
0.5694
8.4825
1.0206
0.9396
Constraints
Usage
Constraints
Availabl
Inequality
e
100000
<=
0
Left
over
C1
50
4.75
18.5
102
7.8
65.25
24.3
11.6
900000
C2
50
150000
<=
150000
C3
4.75
<=
150000
150000
C4
18.5
150000
<=
150000
C5
102
150000
<=
150000
C6
7.8
<=
150000
150000
65.25
150000
<=
150000
24.3
150000
<=
150000
11.6
150000
<=
150000
4.75
18.5
7.8
11.6
300000
<=
300000
50
102
65.25
450000
>=
100000
-350000
50
4.75
7.8
<=
400000
150000
6172.8
4
>=
10
250000
6162.84
Solution
X1=
3000
X2=
0
8108.1081
08
1470.5882
35
X3=
X4=
100000
Media selection
X1
18550
0
Cost
Constraint
C1
C2
C3
C4
C5
C6
Solution
=
X1=
X2=
X3=
15
2.5
3.6363
64
X2
29050
0
X3
46000
0
1500
0
1
0
3000
0
0
1
5500
5500
0
0
Usage
50000
20000
15
2.5
0
1
0
0
1
0
3.6363
64
15
Constraints
Inequali Availab
ty
le
<=
50000
>=
20000
>=
1
>=
1
>=
<=
1
15
Leftove
r
0
0
-14
-1.5
2.6363
6
0
200
500
C2
27500
40000
Solution
X1=
3.6101
08
X2=
X3=
0
0.7942
24
X4=
X5=
PEOPLE=
0
59566
7.9
900
27125
0
350
12500
0
100
1000
<=
1000
Left
over
0
-20000
-1.5E11
>=
1.46E11
Type of Grain
% fat
% protein
% fiber
%
carbohydrate
Cost/lb
corn
6
35
18
41
wheat
2
28
30
40
sorghum
5
40
20
35
Alfalfa
3
30
54
13
1.25
1.15
1.2
.75
Product
Cost
Corn
1.25
Constraint
Fat
Protein
Fiber
Carbs
C5
0.06
0.35
0.18
0.41
1
Solution
Corn=
Wheat=
Sorghum=
Wheat
1.15
0.02
0.28
0.3
0.4
1
Sorgh
um
1.2
0.05
0.4
0.2
0.35
1
Alfalfa
0.75
0.03
0.3
0.54
0.13
1
Usage
60
600
1080
260
2000
Constraint
Inequali Availab
ty
le
<=
200
<=
600
>=
340
<=
400
<=
2000
Left
Over
140
0
-740
140
0