Starting from:

$30

CS524 Homework 2- Minimax and Network Flows Solved

1.   [3 points] Doodle scheduling. Doodle Inc. is interviewing a candidate for a software engineer position at their company. It works like this: the interview (10 AM to 3 PM) is divided into a number of 20-minute time slots that may be used for 1-on-1 meetings with the candidate. The first 20-minute slot at 10 am should include two employees, one of which needs to be either Mirjam or Matt. There is also a one-hour time slot in the middle of the day where 3 employees take the candidate out for lunch.

The goal is that all the senior employees to meet with the candidate at some point during the day, and that the candidate has someone to meet in every time slot (but never meets anyone more than once). However, everybody has a busy schedule so it’s not clear whether this will be possible. A doodle poll (obviously) was sent to the senior employees to figure out their availability. Here is the data:

 
10:00
10:20
10:40
11:00
11:20
11:40
Lunch
1:00
1:20
1:40
2:00
2:20
2:40
Mirjam
1
1
0
0
0
0
0
0
0
0
1
1
1
Matt
1
1
1
0
0
0
0
0
0
1
1
0
0
Manuel
0
0
1
1
0
0
0
1
1
0
0
0
0
Luca
0
1
1
0
0
0
0
0
1
1
0
0
0
Jule
0
0
0
1
1
0
1
1
0
1
1
1
1
Michael
0
0
0
1
1
1
1
1
1
1
1
1
0
Malte
0
0
0
0
0
0
1
1
1
0
0
0
0
Chris
0
1
1
0
0
0
0
0
1
1
0
0
0
Spyros
0
0
0
1
1
1
1
0
0
0
0
0
0
Florian
0
0
0
0
0
0
0
1
1
0
0
0
0
Josep
0
0
0
0
0
0
1
1
1
0
0
0
0
Joel
1
1
0
0
0
1
1
1
1
0
0
1
1
Tom
1
1
1
0
1
1
0
0
0
0
0
1
1
Daniel
0
1
1
1
0
0
0
0
0
0
0
0
0
Christian
0
1
1
0
0
0
0
1
1
1
0
0
0
Anne
1
1
0
0
1
1
0
0
0
0
0
0
0
In the table, a 1 means that the employee is available at the indicated time, while a 0 means that they are unavailable.

As Doodle Inc’s hiring manager, it is your task to determine whether a feasible interview schedule exists. If so, print out a calendar for the candidate that lists who they will be meeting at each time slot. See hw3data.ipynb for the data.

Some questions to help you get started:

•   What are the decision variables of this problem?

•   How many meetings can each person have?

•   How many people should be there for each time slot?

•   Is there an objective function in this problem?

•   ...

Make sure to write down the mathematical model of the optimization problem and comment your code well.

1 of 3

CS/ECE/ISyE 524                                                        Introduction to Optimization                                            L. Roald,      Spring 2020

2.   [3 points] Building a stadium. A town council wishes to construct a small stadium in order to improve the services provided to the people living in the district. After the invitation to tender, a local construction company is awarded the contract and wishes to complete the task within the shortest possible time. All the major tasks are listed in the following table. Some tasks can only start after the completion of certain other tasks, as indicated by the “Predecessors” column. See hw3data.ipynb for the data.

Task
Description
Duration (in weeks)
Predecessors
Maximum reduction

(in weeks)
Cost of reduction ($1k/wk)
1
Installing the construction site
2
none
0

2
Terracing
16
1
3
30
3
Constructing the foundations
9
2
1
26
4
Access roads and other networks
8
2
2
12
5
Erecting the basement
10
3
2
17
6
Main floor
6
4,5
1
15
7
Dividing up the changing rooms
2
4
1
8
8
Electrifying the terraces
2
6
0

9
Constructing the roof
9
4,6
2
42
10
Lighting of the stadium
5
4
1
21
11
Installing the terraces
3
6
1
18
12
Sealing the roof
2
9
0

13
Finishing the changing rooms
1
7
0

14
Constructing the ticket office
7
2
2
22
15
Secondary access roads
4
4,14
2
12
16
Means of signalling
3
8,11,14
1
6
17
Lawn and sport accessories
9
12
3
16
18
Handing over the building
1
17
0

a)   What is the earliest possible date of completion for the construction? Note that the last two columns of the table are not relevant for this part of the problem.

b)   The town council wants the builder to expedite the project. As an incentive, the council will pay a bonus of $30k/week for each week the work finishes early. To accomplish this, the builder may employ additional workers and rent more equipment to cut down on the total time. The last two columns of the table show the maximum number of weeks that can be saved per task and the associated additional cost per week incurred by the extra work. When will the project be completed if the builder is acting in a way that maximizes his profit?

3.   [3 points] Museum site planning. A site is being investigated as a potential location for a new museum. An aerial plan of the site is shown in the figure below (in units of feet). The museum will have a circular footprint and law mandates that there be at least 50 feet of clearance between the building and any edge of the site. If we want the largest possible museum, where should it be located? What is its optimal radius? Re-plot the figure below along with the optimally designed museum.

More products