EECS 127-227A: Optimization Models in Engineering (Fall 2024) Homework 1


Hello, if you have any need, please feel free to consult us, this is my wechat: wx91due

EECS 127-227A: Optimization Models in Engineering (Fall 2024)


Optimization Models in Engineering—Homework 1 

1. The Fruit Computer company produces two types of computers: Pear computers and Apricot computers. The following table shows the number of hours and the number of chips needed to make a computer as well as the equipment cost and selling price:

Computer
Labor
Chips
Equipment cost ($)
Selling price ($)
Pear
1 hour
2
50
400
Apricot
hours
5
100
900
A total of 3000 chips and 1200 hours of labor are available. The company needs to decide how many computers from each type should be made in order to maximize the profit. Formulate this problem as an optimization problem. 

2. The Paradise City Police Department employs 28 police officers. Each officer works 5 days per week. The crime rate fluctuates with the day of the week, so the minimum number of police officers required each day depends on which day of the week it is: Saturday, 24; Sunday, 13; Monday, 15; Tuesday, 25; Wednesday, 26; Thursday, 18; Friday, 22. The police department wants to schedule police officers to minimize the number of officers whose days off are not consecutive. Formulate this problem as an optimization problem (hint: define the variable xij , where i, j ∈ {1, 2, ..., 7} and i 6= j, to be the number of officers who are scheduled to not work on days i and j). 

3. A taxi company has n taxies available and n customers to be picked up as soon as possible. For every i, j ∈ {1, ..., n}, if taxi i decides to pick up customer j, the amount of time (delay) to pick up the customer is dij . Each taxi is allowed to pick up only one customer. The goal is to assign each customer to a taxi so that the total delay (i.e., sum of the delays for all customers) is minimized. Formulate this assignment problem as an optimization problem. 

4. Consider the set S defined as 

S = {x ∈ R 3 |x1 + 2x2 + 3x3 = 0, 3x1 + 2x2 + x3 = 0} (1) 

Show that S is a subspace. Determine its dimension and find a basis for it. 

5. Consider the set P defined as 

P = {x ∈ R 3 |x1 + 2x2 + 3x3 = 1} (2) 

Show that P is an affine set of dimension 2. To this end, express it as x (0) + span(x (1), x(2)), where x (0) ∈ P and x (1), x(2) are linearly independent vectors.

发表评论

电子邮件地址不会被公开。 必填项已用*标注