
Explanation of Solution
Using preemptive goal
Consider the case of building recreational facilities at Gotham city. Goal course, Swimming pool, Gymnasiums and Tennis Courts are the recreational facilities under consideration. The facilities can be built at any of the 6 locations.
Lets,
xij={1 If facility, i is built in location j2 otherwise
Since, Golf course can only be built at site 1 or 6, so
x11+x16=1
Since each facility can be built at only one site, add the following constraints.
x22+x23+x24=1x32+x33+x34=1x42+x43+x44=1x52+x53+x54=1
The land available at site 2,3,4,5 is 70,80,95, and 120 respectively. Land required, building annual maintenance cost is tabulated below,
Site | Construction cost | Maintenance cost | Land required |
Golf | 340 | 80 | Not relevant |
Swimming | 300 | 36 | 29 |
Gymnasium | 840 | 50 | 38 |
Tennis curt | 85 | 17 | 45 |
Site | 1 | 2 | 3 | 4 | 5 | 6 |
Golf | 31 | NA | NA | NA | NA | 27 |
Swimming | NA | 25 | 21 | 32 | 32 | NA |
Gymnasium | NA | 37 | 29 | 28 | 38 | NA |
Tennis court | NA | 20 | 23 | 22 | 20 | NA |
a.
Priority set are given below,
Priority 1: Limit land use at each site to the land available. Thus the following constraints are added.
29x22+38x32+45x42≤7029x23+38x33+45x43≤8029x24+38x34+45x44≤9529x25+38x35+45x45≤120
Priority 2: Construction costs should not exceed $1.2 million. Thus the following constraints are added.
340x11+340x16+300x22+300x23+300x24+300x25840x32+840x33+840x44+840x3585x42+85x43+85x44+85x45≤1200
Priority 3: User days should exceed 200,000. Thus the following constraints are added.
31x11+27x16+25x22+21x23+32x24+32x2537x32+29x33+28x44+38x3520x42+23x43+22x44+20x45≥200
Priority 4: Annual maintenance cost should not exceed $200,000. Thus the following constraints are added.
80x11+80x16+36x22+36x23+36x24+36x2550x32+50x33+50x3517x42+17x43+17x44+17x45≤200
From the above equations it is found that these set of constraints there is no feasible region. That is all constraints cannot be met. So assign a cost value incurred if any of the priorities or goal is not met.
So, introduce the following deviational variables.
Si−= Amount by which numerically under the ith goal
Si+= Amount by which numerically exceed the ith goal
Therefore, the constraints become,
29x22+38x32+45x42+S1+−S1−=7029x23+38x33+45x43+S2+−S2−=8029x24+38x34+45x44+S3+−S3−=9529x25+38x35+45x45+S4+−S4−=120
340x11+340x16+300x22+300x23+300x24+300x25840x32+840x33+840x44+840x3585x42+85x43+85x44+85x45+S5+−S5−=1200
31x11+27x16+25x22+21x23+32x24+32x2537x32+29x33+28x44+38x3520x42+23x43+22x44+20x45+S6+−S6−=200
80x11+80x16+36x22+36x23+36x24+36x2550x32+50x33+50x3517x42+17x43+17x44+17x45+S7+−S7−=200
Now, the goal is to minimize the deviation from each goal. Hence if the left side of constraint was less than right hand side than Si− is included in minimization equation. If left hand side is more than right hand side, then Si+ is included in minimizations equation.
Hence the minimization equation is,
Minimize, z=P1S1−+P1S2−+P1S3−+P1S4−+P2S5−+P3S6++P4S7−
For each Priority assign a value of P1=4,P2=3,P3=2,P1=1 for priority 1,2,3,4 respectively
Want to see the full answer?
Check out a sample textbook solution
Chapter 4 Solutions
Introduction to mathematical programming
- Using MATLAB symbolic toolbox, given these 3 equations, how would you solve for mu = function(theta), making sure that there are no mu's on the right hand side, making sure theta-dot-dot, theta-dot-squared- and N aren't in the final answer either.arrow_forwardAfter playing our giving implementation, your task is to implement Dinning Philosophers with semaphore in C, by including and Your implementation will require creating five philosophers, each identified by a number 0.4. Each philosopher will run as a separate thread. Create threads using Pthreads as discussed in the Lecture slides on Chapter 4 and Practice Lab on Threads. Your solution needs to accomplish the following: Implement in C (15 points) 1. dp1.c - You are to provide your solution to this assignment as a single C program named 'dp1.c using semaphore. Explain in you code (as comments) that the dead lock will happen or not. If there is a possible deadlock, you can simply solve the deadlock by pick the fork in order like the first solution in our slides. Solve Deadlock by Footman (15 points) 1. Here is a new solution to overcome the deadlock. The Dining Philosophers decide to hire a footman whose task to allow only four philosophers to sit on the table. When entering and…arrow_forward8.4 Self-Bias Configuration 20. Determine Zi. Zo. and A,, for the network of Fig. 8.73 if gf, = 3000 μS and gos = 50 μs. 21. Determine Z, Zo, and A, for the network of Fig. 8.73 if the 20-uF capacitor is removed and the parameters of the network are the same as in Problem 20. Compare results with those of Problem 20. +12 V 3.3 ΚΩ HE C₂ Vo Z Zo C₁ 10 ΜΩ Z₁ 1.1 ΚΩ Cs 20 µF FIG. 8.73 Problems 20, 21, 22, and 59.arrow_forward
- 21. Determine Zi, Zo, and A, for the network of Fig. 8.73 if the 20-μF capacitor is removed and the parameters of the network are the same as in Problem 20. Compare results with those of Problem 20. +12 V 3.3 ΚΩ +6 C₂ C₁ Z₁ 10 ΜΩ 1.1 ΚΩ Cs 20 μF FIG. 8.73 Zoarrow_forwardNinth Edition Determine Zi, Zo and Av 20 V Zi + 1 ΜΩ 2 ΚΩ HH Z IDSS= 6MA Vp=-6V Yos = 40μS 20 and 47arrow_forwardWhat is the worst case time complexity of the following algorithm for i = 1 to x do for j = 2^((i-1)x) to 2^(in) do print(i,j)arrow_forward
- Prove for each pair of expression f(n) and g(n) whether f(n) is big O, little o Ω,ω or Θ of g(n). For each case it is possible that more than one of these conditions is satisfied:1. f(n) =log(n2^n), g(n) = log(sqrt(n)2^(n^2))2. f(n) =nsqrt(n) +log(n^n), g(n) =n + sqrt(n)lognarrow_forwardI need to make a parallel version of this sequential codearrow_forwardI need to make a parallel version of this sequential code.arrow_forward
- Benefits of using arrays as instance variables: What are the advantages of incorporating arrays as instance variables within a class? Initializing and managing arrays: How do you initialize and manage arrays within class constructors and mutators (setters)? Example of using arrays as instance variables: Share an example where you have used arrays as instance variables and discuss its application in a real-world scenario. Common mistakes with arrays as instance variables: What are some common mistakes to avoid when working with arrays as instance variables? Information hiding violations: What is the potential violation of information hiding when using arrays as instance variables? How can this be resolved?arrow_forwardDo you think that computers should replace teachers? Give three references with your answer.arrow_forwardIs online learning or face to face learning better to teach students around the around the world? Give reasons for your answer and provide two references with your response. What are benefits of both online learning and face to face learning ? Give two references with your answer. How does online learning and face to face learning affects students around the world? Give two references with your answer.arrow_forward
- Operations Research : Applications and AlgorithmsComputer ScienceISBN:9780534380588Author:Wayne L. WinstonPublisher:Brooks ColeA Guide to SQLComputer ScienceISBN:9781111527273Author:Philip J. PrattPublisher:Course Technology PtrNp Ms Office 365/Excel 2016 I NtermedComputer ScienceISBN:9781337508841Author:CareyPublisher:Cengage
- C++ for Engineers and ScientistsComputer ScienceISBN:9781133187844Author:Bronson, Gary J.Publisher:Course Technology Ptr


