Solver Exercises
Solver Exercises
Warehouse Inventory
Starting Inventory: 400 350
No. Remaining: 400 350
Shipping Costs: $ - $ -
0 0 0
Linearized Rating ≥ ≥ ≥
0 0 0
Total Number 0 0
>= >=
Number Needed 17 13
Objective 0
y
500
500
$ - $ -
Exercise 03 Maximize Profit of Products: Profit per unit is given for 17 products. Your tas
find the maximum profit using the solver.
The combined production capacity is 300 units per day.
The company needs 50 units of Product A to fill an existing order.
The company needs 40 units of Product B to fill an expected order.
The market for Product C is relatively limited. So the company is not interested in produc
more than 40 units of this product per day. Additionally, the Product D to Q should be mo
equal to 15.
Exercise 04 Marketing Budget Allocation: Here, the current stats on the left, and the por
where you are going to use the solver is on the right. Your task is to maximize the convers
(value of cell J83). The budget should be higher or equal to sixty thousands and the total
budget and the total cost should be equal.
Solver
Conversion Rate Conversions Solver Budget Clicks Conversions
2.46% 148 0 0 0.000
2.17% 195 0 0 0.000
2.13% 85 0 0 0.000
2.10% 105 0 0 0.000
2.57% 103 0 0 0.000
2.33% 163 0 0 0.000
1.99% 70 0 0 0.000
2.17% 37 0 0 0.000
2.20% 42 0 0 0.000
2.10% 44 0 0 0.000
2.01% 91 0 0 0.000
1.98% 14 0 0 0.000
1096 0 0 0.000
0 0 0 0 0
>= >= >= >= >=
16 17 9 9 12
Year 2
$ 3,000,000.00
$ 7,000,000.00
$ 6,000,000.00
$ 2,000,000.00
$ 35,000,000.00
$ 6,000,000.00
$ 4,000,000.00
$ 3,000,000.00
$ 3,000,000.00
40.00%
Qualification Satisfaction
3 4 1 2 3
6 8 9 2 7
5 6 9 6 7
10 5 7 7 7
5 2 9 1 0
4 5 9 8 8
7 2 9 1 0
1 5 9 8 8
9 3 2 8 1
6 2 7 8 2
1 2 8 3 1
6 3 4 3 4
1 8 4 1 5
6 6 9 0 9
1 2 5 2 3
5 4 7 0 7
2 7 1 1 2
8 4 8 8 6
3 5 5 7 8
3 0 5 7 2
3 2 9 7 1
8 3 9 4 9
4 6 8 5 7
6 3 2 1 4
7 5 8 9 2
9 0 5 7 6
3 4 2 7 0
3 0 8 4 7
1 1 9 8 8
1 10 5 3 8
9 0 8 3 10
6 2 6 6 1
7 6 8 6 5
0 1 1 1 9
2 6 9 8 6
3 1 5 7 4
4 2 5 7 5
6 9 10 4 9
3 10 4 5 4
4 5 8 0 7
8 0 7 1 4
ost: A company has warehouses in St. Louis, Los
utlets are situated all over the United States. These
stomers. The company then ships products from one
y aims to supply all six retail locations with the
that is currently on hand in the warehouses. While
company wants to keep shipping charges as low as
g costs from one port to another. Then, the second
ment for each port. After that, there is a table that
he warehouse inventory. Your task is to find the values
ze the shipping costs from the warehouses to the
n Cost: Mix different raw materials to produce
egular, exclusive, and super quality steel. There is data
these raw materials, as well as their quality rating.
ed amount of production, the price per ton of
eir minimum rating. The conditions are given in the
en for 17 products. Your task is to
der.
rder.
is not interested in producing
roduct D to Q should be more or
ats on the left, and the portion
k is to maximize the conversions
ty thousands and the total solver
Exercise 05 Schedule Optimization: The number of workers
needed for a bank is provided. For example, 17 workers are
needed on Monday, 13 workers are needed on Tuesday, 15
workers are needed on Wednesday, and so on. All bank
employees work five consecutive days. What is the
minimum number of employees that this bank can have to
meet its labor requirement?
The condition is, Total Number of Employee >= Number
Needed is given in row 96 and 98.
Exercise 06 Project Selection: Use an excel solver to
determine which projects should be undertaken in excel.
Firstly, find the maximum value of NPV.
Secondly, the year 1 value should be <=50,000,000 and year
2 value should be <=20,000,000.
Thirdly, selecting a project means 1 and discarding means 0.
So use this.
ptimization Based on Total Yield: The credit union is
sectors. Find how this amount will be allocated using
nion will invest in new-car loans must be at least three
nion will invest in used-car loans. The reason is: that
nts.
at least 15% of the portfolio.
ke up no more than 25% of the portfolio.
hould be in bank CDs.
ed is $5,000,000.
ositive or zero.
ed to assign 40 employees to four Departments. The
each employee’s competence on a 0 to 10 scale (10
loyee has rated his satisfaction with each job
e). Data is recorded in the Problem worksheet. You are
ople to each department. The problem is how you can
maximize total satisfaction and ensure that each
f employees.
4 Qualification Satisfaction
7 #N/A #N/A Department Assigned
4 #N/A #N/A 1 0 1
3 #N/A #N/A 2 0 1
3 #N/A #N/A 3 0 1
3 #N/A #N/A 4 0 1
3 #N/A #N/A
3 #N/A #N/A Total Satisfaction #N/A
5 #N/A #N/A
2 #N/A #N/A
6 #N/A #N/A
1 #N/A #N/A
4 #N/A #N/A
3 #N/A #N/A
1 #N/A #N/A
8 #N/A #N/A
10 #N/A #N/A
8 #N/A #N/A
8 #N/A #N/A
4 #N/A #N/A
1 #N/A #N/A
8 #N/A #N/A
5 #N/A #N/A
9 #N/A #N/A
5 #N/A #N/A
5 #N/A #N/A
2 #N/A #N/A
8 #N/A #N/A
4 #N/A #N/A
5 #N/A #N/A
9 #N/A #N/A
1 #N/A #N/A
9 #N/A #N/A
5 #N/A #N/A
1 #N/A #N/A
5 #N/A #N/A
10 #N/A #N/A
8 #N/A #N/A
8 #N/A #N/A
8 #N/A #N/A
8 #N/A #N/A
Load These Settings to Solver
Exercise 01
0
0
1
1
32767
0
Exercise 02
0
0
1
1
1
32767
0
Exercise 03
0
0
FALSE
FALSE
TRUE
0
FALSE
32767
0
Exercise 04
0
0
0
TRUE
32767
0
Exercise 05
0
0
1
1
32767
0
Exercise 06
0
0
1
1
32767
0
Exercise 07
0
0
TRUE
TRUE
TRUE
FALSE
FALSE
32767
0
Exercise 08
0
0
1
1
0
1
32767
0
Excel Solver Exercises
Warehouse Inventory
Starting Inventory: 400 350
No. Remaining: 130 0
Total Number 17 16
>= >=
Number Needed 17 13
Objective 20
500
125
$ 24,375 $55,515
Solver
Conversion Rate Conversions Solver Budget Clicks Conversions
2.46% 148 60000 3903.7085231 96.031
2.17% 195 60000 3750 81.375
2.13% 85 60000 3773.58490566 80.377
2.10% 105 60000 5000 105.000
2.57% 103 60000 3529.41176471 90.706
2.33% 163 60000 3797.46835443 88.481
1.99% 70 60000 4195.8041958 83.497
2.17% 37 60000 3947.36842105 85.658
2.20% 42 60000 5714.28571429 125.714
2.10% 44 60000 5084.74576271 106.780
2.01% 91 60000 4800 96.480
1.98% 14 60565.0000007275 8652.14285725 171.312
1096 720565.000000728 56148.520499 1211.411
15.00%
Qualification Satisfaction
3 4 1 2 3 4
6 8 9 2 7 7
5 6 9 6 7 4
10 5 7 7 7 3
5 2 9 1 0 3
4 5 9 8 8 3
7 2 9 1 0 3
1 5 9 8 8 3
9 3 2 8 1 5
6 2 7 8 2 2
1 2 8 3 1 6
6 3 4 3 4 1
1 8 4 1 5 4
6 6 9 0 9 3
1 2 5 2 3 1
5 4 7 0 7 8
2 7 1 1 2 10
8 4 8 8 6 8
3 5 5 7 8 8
3 0 5 7 2 4
3 2 9 7 1 1
8 3 9 4 9 8
4 6 8 5 7 5
6 3 2 1 4 9
7 5 8 9 2 5
9 0 5 7 6 5
3 4 2 7 0 2
3 0 8 4 7 8
1 1 9 8 8 4
1 10 5 3 8 5
9 0 8 3 10 9
6 2 6 6 1 1
7 6 8 6 5 9
0 1 1 1 9 5
2 6 9 8 6 1
3 1 5 7 4 5
4 2 5 7 5 10
6 9 10 4 9 8
3 10 4 5 4 8
4 5 8 0 7 8
8 0 7 1 4 8
t: A company has warehouses in St. Louis, Los Angeles, and Boston. Six retail outlets are
These retail outlets take orders from customers. The company then ships products from
ny aims to supply all six retail locations with the products they require from stock that is
es. While shipping products to outlets, the company wants to keep shipping charges as
osts from one port to another. Then, the second table shows the product requirement for
e that contains the information about the warehouse inventory. Your task is to find the
nimize the shipping costs from the warehouses to the outlets.
follows
0
=G15:G20, D25:F25>=0
P
ost: Mix different raw materials to produce different types of steel, such as regular,
here is data about the availability and cost of these raw materials, as well as their quality
quired amount of production, the price per ton of different classes of steels, and their
e given in the dataset.
follows
4
>=C37:E37, C37:E37>=C43:E43,F32:F34<=H32:H34
P
Profit of Products: Profit per unit is given for 17 products. Your task is to find the maximum profit
on capacity is 300 units per day.
units of Product A to fill an existing order.
units of Product B to fill an expected order.
C is relatively limited. So the company is not interested in producing more than 40 units of this
onally, the Product D to Q should be more or equal to 15.
eters are as follows
ells: C48:C64
nts: C48<=50, C49>=40, C50<=40, C51:C64>=15,C65=400
d: Simplex LP
Budget Allocation: Here, the current stats on the left, and the portion where you are going to use
ht. Your task is to maximize the conversions (value of cell J83). The budget should be higher or equal
the total solver budget and the total cost should be equal.
eters are as follows
ells: H71:H82
nts: H71:H82>=60000, H83=E83
d: GRG Nonlinear
Exercise 05 Schedule Optimization: The number of workers needed for a bank is provided. For example, 17 wo
needed on Monday, 13 workers are needed on Tuesday, 15 workers are needed on Wednesday, and so on. All
employees work five consecutive days. What is the minimum number of employees that this bank can have to
labor requirement?
The condition is, Total Number of Employee >= Number Needed is given in row 96 and 98.
Solution: Solver Parameters are as follows
Set Objective: C100
To: Min
By Changing Variable Cells: B88:B94
Subject to the Constraints: B88:B94=integer, D96:J96>=D98:J98
Select a Solving Method: Simplex LP
Exercise 06 Project Selection: Use an excel solver to determine which projects should be undertaken in excel.
Firstly, find the maximum value of NPV.
Secondly, the year 1 value should be <=50,000,000 and year 2 value should be <=20,000,000.
Thirdly, selecting a project means 1 and discarding means 0. So use this.
Solution: Solver Parameters are as follows
Set Objective: C104
To: Max
By Changing Variable Cells: B107:B115
Subject to the Constraints: B107:B115=binary, C117:D117<=C118:D118
Select a Solving Method: Simplex LP
ent Portfolio Optimization Based on Total Yield: The credit union is going to invest $5 million in various sectors. Find how this a
ollowing conditions.
hat the credit union will invest in new-car loans must be at least three times the amount that the credit union will invest in used
car loans are riskier investments.
should make up at least 15% of the portfolio.
oans should make up no more than 25% of the portfolio.
f the portfolio should be in bank CDs.
amount invested is $5,000,000.
nts should be positive or zero.
ameters are as follows
e Cells: D125:D129
raints: D125>=D126*3, D130=C122, F128<=0.25, F129>=0.1, F132>=0.15
hod: GRG Nonlinear
Department: Need to assign 40 employees to four Departments. The head of each department has rated each employee’s comp
most competent). Each employee has rated his satisfaction with each job department (again on a 0 to 10 scale). Data is recorded
going to assign between 8 to 12 people to each department. The problem is how you can assign employees to workgroups to m
ure that each division has the required number of employees.
ameters are as follows
e Cells: C140:C179
raints: C140:C179<=4, C140:C179=integer, C140:C179>=1, Q141:Q144=0
hod: Evolutionary
Qualification Satisfaction
9 9 Department Assigned
10 9 1 12 0
8 7 2 10 0
4 9 3 9 0
9 9 4 9 0
5 9
8 9 Total Satisfaction 324
7 8
0 8
7 8
6 4
1 5
6 9
9 5
4 8
7 10
4 8
3 8
9 7
3 9
8 9
8 8
3 9
7 9
4 7
7 7
8 8
2 8
1 8
9 10
0 6
6 9
0 9
6 9
7 7
2 10
6 9
10 8
5 8
0 8
provided. For example, 17 workers are
n Wednesday, and so on. All bank
es that this bank can have to meet its
6 and 98.