Question

The following is a Linear Programming problem: Suppose, I = {set of locations for establishing a...

The following is a Linear Programming problem:

Suppose, I = {set of locations for establishing a hospital} = {1, 2, 3, 4, 5, 6, 7}

xi is a decision variable which equals 1 if a hospital is set up at location i; otherwise, xi = 0.

The constraint given is that location 3 can not be selected unless both locations 6 and 7 are selected.

According to the course tutor, the proper formulation of this constraint is - 2x3 < = x6 + x7

Is it also correct if I formulate the constraint as x3 < = x6 + x7 ?  If both x6 and x7 are 1, then according to the constraint, x3 = 1 and 1<=2 holds true. If x6 = x7 = 1 but x3 = 0 (since we're not obligated to choose location 3), then 0 < = 2 still holds true. This is why I am wondering if both the formulations are correct.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

The constraint given is that location 3 can not be selected unless both locations 6 and 7 are selected. These kind of constraints are dependent decisions
No the formulation x3 <= x6+x7 is not correct as for below case :

if only x6 is selected and x7 is not then it gives option for x3 to be selected as 1<=1+0 so, 1 <= 1. So it will create a wrong selection for project 3

2x3 <= x6 + x7 is correct as it will not set x3 = 1 unless x6=x7=1 so that location 3 can not be selected unless both locations 6 and 7 are selected

Add a comment
Know the answer?
Add Answer to:
The following is a Linear Programming problem: Suppose, I = {set of locations for establishing a...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Now suppose that if the Porter is produced, a fixed production cost of K0 is incurred. To include this requirement, we introduce a binary variable z0, which is set equal to 0 if we do not produce an...

    Now suppose that if the Porter is produced, a fixed production cost of K0 is incurred. To include this requirement, we introduce a binary variable z0, which is set equal to 0 if we do not produce any of the porter, and is set equal to 1 if we do produce the porter. Which changes to the objective function and the constraints need to be made? (In all equations, M represents a very very very big number, and it is...

  • == Programming Assignment == For this assignment you will write a program that controls a set...

    == Programming Assignment == For this assignment you will write a program that controls a set of rovers and sends them commands to navigate on the Martian surface where they take samples. Each rover performs several missions and each mission follows the same sequence: deploy, perform one or more moves and scans, then return to base and report the results. While on a mission each rover needs to remember the scan results, in the same order as they were taken,...

  • Hello, please solve this problem for object oriented programming in C++ program language. I have final...

    Hello, please solve this problem for object oriented programming in C++ program language. I have final tomorrow so it will be very helpful. thank you. PROBLEM 1: application that simulates the highway Create an In order to solve above mentioned requirements, it is necessary to implement several classes: 1. Class Vehicle contains information about the vehicles that drive on the highway. Each vehicle has information about its a Type (can be one of these: Motorcycle, Car, Truck) b. License number...

  • I have to use java programs using netbeans. this course is introduction to java programming so...

    I have to use java programs using netbeans. this course is introduction to java programming so i have to write it in a simple way using till chapter 6 (arrays) you can use (loops , methods , arrays) You will implement a menu-based system for Hangman Game. Hangman is a popular game that allows one player to choose a word and another player to guess it one letter at a time. Implement your system to perform the following tasks: Design...

  • X Part I. Derive Bivariate Regression by hand. Again, we are using the same data set that we used in the in-cl...

    X Part I. Derive Bivariate Regression by hand. Again, we are using the same data set that we used in the in-class assessment. Case Dietary Fat Body Fat 22 9.8 22 11.7 14 8.0 21 9.7 32 10.9 26 7.8 30 21 17 1. Step 1: Find the mean of dietary fat x = 2. Step 2: Find the mean of body fat y = 3. Step 3: Find the sum of (x1 - x)y- y) = 3316 4. Step...

  • Major Homework #2 Implement a C program major_hw2.c to solve the 15-puzzle problem using the A*...

    Major Homework #2 Implement a C program major_hw2.c to solve the 15-puzzle problem using the A* search algorithm. 1. Objectives • To gain more experience on using pointers and linked lists in C programs. • To learn how to solve problems using state space search and A* search algorithm. 2. Background A* search and 15-puzzle problem have been introduced in the class. For more information, please read the wiki page of 15-puzzle problem at https://en.wikipedia.org/wiki/15_puzzle, and the wiki page of...

  • Major Homework #2 Implement a C program major_hw2.c to solve the 15-puzzle problem using the A* s...

    Major Homework #2 Implement a C program major_hw2.c to solve the 15-puzzle problem using the A* search algorithm. Please include pictures that the code runs and shows the different states as it reaches goal state please. 1. Objectives • To gain more experience on using pointers and linked lists in C programs. • To learn how to solve problems using state space search and A* search algorithm. 2. Background A* search and 15-puzzle problem have been introduced in the class....

  • In Problem Set 7 you designed and implemented a Message class. This time, let's design and...

    In Problem Set 7 you designed and implemented a Message class. This time, let's design and implement a Mailbox class in a file named Mailbox java. Do the following with this class • You may use the Message class from PS 7. You will have to add new features to the Message class from PS 7 as you work through this problem. You are welcome to start with my sample solution if you wish • Suppose there are multiple mail...

  • I.(20p) Fill the following spaces with or circle the appropriate answers (can be more than one!)....

    I.(20p) Fill the following spaces with or circle the appropriate answers (can be more than one!). I.1. In Tom's frame of reference, two events A and B take place at different locations along the x axis but are observed by Tom to be simultaneous. Which of the following statements is true? (1) No observers moving relative to Tom will find A and B to be simultaneous, but some may see A before B and others B before A. (2) No...

  • could you please help me with this problem, also I need a little text so I...

    could you please help me with this problem, also I need a little text so I can understand how you solved the problem? import java.io.File; import java.util.Scanner; /** * This program lists the files in a directory specified by * the user. The user is asked to type in a directory name. * If the name entered by the user is not a directory, a * message is printed and the program ends. */ public class DirectoryList { public static...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT