Write an optimization problem to find the best location

Assignment Help Operation Research
Reference no: EM132729396

Question 1. Write an optimization problem to find the best location (px, py) to place a tv station broadcast antenna so that the average A1-distance to all the houses in the area is minimized. The location of the N houses are given by (h1,x, h1,y), (h2,x, h2,y), (h3,x, h3,y), . . . (hN,x, hN,y). Note however, that due to zoning restrictions, the antenna must be located within an industrial area of radius 5 miles, centered at (cx, cy).

20_figure.jpg


(a) Write the optimization program. Clearly define all cost and constraint equations, deci- sion variables, etc.

(b) Implement and solve in CPLEX; explain necessary changes to the formulation required for implementation.
Use (cx, cy) = (-4, 5) and the locations, hi,x, hi,y, for three houses are given by
{(10, 10), (-4, -10), (0, -5)}. Where should the antenna be located?

(c) Instead of using the average A1-distance in the cost equation, minimize the average of the squared euclidean distance (e.g. 1/N · ΣN dist(antenna, home)2). Implement in CPLEX as a quadratic program. Where should the antenna be located?

(d) Discuss why there are differences in the solutions between the different cost functions. For example, discuss which cost function penalizes large distances more.

(e) [Extra Credit] Instead of using the average l1-distance in the cost equation, minimize the maximum l1-distance between the antenna and the houses

Question 2. Consider the following optimization problem

min   3x2 - 5x
x

subject to x ≤ 13
               x ≥ -5
               x ∈ R
(a) Formulate and solve in CPLEX as a quadratic program.
(b) Find the linear approximation of the cost function about the points x˜ ∈ {0, 1, 2}. Using the linear approximation, rewrite the optimization problem in matrix form:

min  cTz
z

subject to Az ≤ b
                z ∈ R?

State cT , A, and b. Also, clearly define the decision variable z. Make sure to include ALL constraints from the original problem.

(c) Implement the linearized optimization problem from part (b) in CPLEX as a linear program. Compare the solution with your response from part (a). Using a graph as evidence, explain why the answers are different or the same.

(d) Find the linear approximation of the cost function about the points x˜ ∈ {-5, -2, 0, 1, 2, 5, 10}. Using the linear approximation, implement the linearized optimization problem in CPLEX as a linear program. Compare the solution with your responses from parts (a) and (c). Explain why the answers are different or the same.

(e) Find the linear approximation of the cost function about the points x˜ ∈ {.8, .9}. Using the linear approximation, implement the linearized optimization problem in CPLEX as a linear program. Compare the solution with your responses from parts (a), (c), and (d). Provide some insights regarding the number of tangents lines and their location with the accuracy of the linear approximation.

(f) [Extra Credit] Using knowledge derived from (a)-(e) propose an algorithm to solve sim- ilar convex optimization problems by sequentially solving linear approximations of the original problem.

Question 3. Here we will consider the problem of the hotdog / newspaper stand discussed in lecture. Let's suppose the owner of the hotdog stand purchases hotdogs at a bulk price of $.50 per hotdog, and sells them at $1.50. Assuming the demand for hotdogs follows a probability distribution given by pi, where i ∈ {1, 2, ...N} is the number of customers (see excel file). Program a stochastic optimization program in CPLEX Optimization Studio to determine the number of hotdogs the owner should buy in bulk each day to maximize their expected profit. (Per the original discussion in lecture, assume any remaining hotdogs must be thrown out at the end of each day. Also, N is the maximum possible customer demand)
Download the excel file with the probability distribution of the customer demand.
• Load data directly from excel - do not hardcode in values. Note, in the excel file the "array" of probabilities are labeled 'p'. Also, the maximum number of customers N is labeled 'N' in the excel file.
• For this problem you are not required to submit a write up or explanation, only submit your CPLEX files.
• Submit your '.mod' file with the name 'p3.mod'. It is okay if webcourses automatically adds a ‘suffix' to the file name.
• Submit your '.dat' file with the name 'p3.dat'. It is okay if webcourses automatically adds a ‘suffix' to the file name.

Attachment:- p3 data.rar

Reference no: EM132729396

Questions Cloud

Why would zimbabwe abandon its own currency : a) Why would Zimbabwe abandon its own currency to begin using U.S. dollars?
Decontamination and victim chain of survival : you are required to read the article entitled "HazMat Emergencies: Decontamination and Victim Chain of Survival,"
What is the incremental profit : The firm has tax loss carryforwards that render its tax rate zero, its cost of equity is 16%, and it uses no debt. What is the incremental profit
How many dollars of revenue must the company generate : Winny's Office Furniture, If fixed costs are $183,300, how many dollars of revenue must the company generate in order to reach the break-even point?
Write an optimization problem to find the best location : Write an optimization problem to find the best location (px, py) to place a tv station broadcast antenna so that the average
How many shares does it have after the recap : After the recap, Dye's stock price is $7.50. If Dye had 60 million shares of stock before the recap, how many shares does it have after the recap
Create vision and business model for this new division : Create a vision and a business model for this new division that clearly demonstrates your decision on what you want your business to become in the future.
Compute what margin of safety in terms of sales revenue is : Compute What margin of safety in terms of sales revenue is? The unit sales price is $100, unit variable cost is $35, and the fixed costs per month are $5,000.
What does moody mean by credit risk : A). In each of the following parts, an expression that shows the relationship among the listed terms:

Reviews

len2729396

12/14/2020 12:09:44 AM

Submit each file using the following format p1.pdf p2.pdf p3.mod, p3.dat Problems p1 and p2, must must each be submitted as a single PDF. In total you should only submit 4 files! DO NOT SUBMIT WORD FILES. IF YOU DONT KNOW HOW TO MERGE PDFS, GOOGLE IS YOUR FRIEND. (THERE ARE FREE TOOLS FOR EVERY OPERATING SYSTEM. EVEN ONLINE TOOLS) IF YOU DONT KNOW HOW TO PRINT TO A PDF FILE (EVERY OPERATING SYSTEM CAN DO THIS), GOOGLE IS YOUR FRIEND In problem 1, changed variables names describing location of houses from l to h in order to prevent confusion with the l_1 norm. Also, l_1 norm is now written in cursive font. You will have to use the file (p3_data.xlsx) for problem 3

Write a Review

Operation Research Questions & Answers

  Bioimetic vascular network design

What kind of material is needed for bioimetic vascular network design?

  Write a report on im operations governance

Write a report on IM operations governance

  Analyse the role of different stakeholders in tourism

Critically analyse the role of different stakeholders in tourism planning and policy

  Evaluate business value

How can internet technologies be involved in improving a process in one of the functions of business? Choose one example and evaluate its business value.

  Case study:the british airways story

Case study:The British Airways story

  Prepare a research proposal

Prepare a Research Proposal based on a business issue.

  Create the feasible solution space

Solve the following problem graphically and create the feasible solution space.

  Calculate annual rate of return

No additional fixed costs would be incurred if this proposal is accepted

  Compute the company''s predetermined overhead rate

Corporation bases its predetermined overhead rate on the estimated labor hours for the upcoming year

  Determine the probability distribution

Determine the probability distribution for demand using the given data.

  Give both a high-level algorithm and an implementation

Give both a high-level algorithm and an implementation (\bubble diagram") of a Turing machine for the language

  Red brand canners

Red Brand Canners Gordon asked Myers about the demand for tomato products for the coming year. Myers replied that they could sell all of the whole canned tomatoes they could produce.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd