Question

There are three projects.  Binary variablesX1, X2, and X3are defined as follows: Xi=     1 if project i is...

There are three projects.  Binary variablesX1, X2, and X3are defined as follows:

Xi=     1 if project i is selected, and

Xi=     0 if project i is not selected,           for i = 1, 2, 3.

5. Write a constraint to represent: “Project 2 and project 3 must go together.  That is, it is not allowed to select one while deselect the other”.

6. Write a constraint to represent: “The three projects can not be all selected.  There must be at least one that is not selected”.

7. Write a constraint to represent: “If project 2 is selected, then project 1 must be selected; but if project 2 is not selected, then there is no restriction on project 1”.

8. (Bonus question) Write a constraint to represent: “If project 1 is not selected, then project 2 must not be selected; but if project 1 is selected, then there is no restriction on project 2”.

Homework Answers

Answer #1

5) A contraint to represent that projects 2 and 3 both need to be selected if any one of them is selected by :

(X2 - X3) = 0 i.e X2= X3

6) This also can be represented by a lot of constraints, we'll see two such contraints:

X1*X2*X3= 0 , hence with constraint we have rules out the possibility of X1=X2=X3=1 (i.e the case where all the projects are selected)

OR

X1+X2+X3 <3

7) X2 * (1 - X1) = 0 , Hence with this constraint we have successfully ruled out the case X2=1 but X1 = 0 (i.e project 2 was selected but project 1 wasn't)

8) (1 - X1) * X2 = 0 , Hence when X1 is 0 then X2 has to be equal to zero but if X1 =1 then X2 can take any value.

Thank You. Do leave a thumbs up if this helped. You can comment for further queries

Know the answer?
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
Similar Questions
Consider a capital budgeting problem with seven projects represented by binary (0 or 1) variables X1,...
Consider a capital budgeting problem with seven projects represented by binary (0 or 1) variables X1, X2, X3, X4, X5, X6, X7. Write a constraint modeling the situation in which only 2 of the projects from 1, 2, 3, and 4 must be selected. Write a constraint modeling the situation in which at least 2 of the project from 1, 3, 4, and 7 must be selected. Write a constraint modeling the situation project 3 or 6 must be selected,...
Let x1, x2, x3 be real numbers. The mean, x of these three numbers is defined...
Let x1, x2, x3 be real numbers. The mean, x of these three numbers is defined to be x = (x1 + x2 + x3)/3 . Prove that there exists xi with 1 ≤ i ≤ 3 such that xi ≤ x.
SHOW ALL WORK! Consider a capital budgeting example with five projects from which to select. Let...
SHOW ALL WORK! Consider a capital budgeting example with five projects from which to select. Let xi = 1 if project i is selected, 0 if not, for i = 1,...,5. Write the appropriate constraint(s) for each condition. Conditions are independent. a. Choose no fewer than four projects. b. If project 2 is chosen, project 3 must be chosen. c. If project 5 is chosen, project 4 must not be chosen. d. Projects cost 130, 220, 150, 75, and 300...
Suppose, I = {set of locations for establishing a hospital} = {1, 2, 3, 4, 5,...
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 following are a list of constraints. I'd like to know how to formulate them in terms of x. Constraint 1: If locations 6 and 7 are selected, then location 3 is also selected Constraint 2: If 6 or 7 are...
A computer consulting firm presently has bids out on three projects. Let Ai = {awarded project...
A computer consulting firm presently has bids out on three projects. Let Ai = {awarded project i}, for i = 1, 2, 3, and suppose that P(A1) = 0.22, P(A2) = 0.25, P(A3) = 0.28, P(A1 ∩ A2) = 0.14, P(A1 ∩ A3) = 0.04, P(A2 ∩ A3) = 0.06, P(A1 ∩ A2 ∩ A3) = 0.01. Express in words each of the following events, and compute the probability of each event. (a) A1 ∪ A2 Express in words the...
A computer consulting firm presently has bids out on three projects. Let Ai = {awarded project...
A computer consulting firm presently has bids out on three projects. Let Ai = {awarded project i}, for i = 1, 2, 3, and suppose that P(A1) = 0.22, P(A2) = 0.25, P(A3) = 0.28, P(A1 ∩ A2) = 0.13, P(A1 ∩ A3) = 0.03, P(A2 ∩ A3) = 0.07, P(A1 ∩ A2 ∩ A3) = 0.01. Express in words each of the following events, and compute the probability of each event. a) A1 ∪ A2 Express in words the...
Let the dynamics Xi , i = 1, 2, . . . , d be independently...
Let the dynamics Xi , i = 1, 2, . . . , d be independently and identically distributed as Z ∼ N(0, 1). One approach for modeling the short-term interest rate rt at any time t is given by defining rt ∆= X2 1 + X2 2 + . . . + X2 d . (a) Describe the distribution of the continuous random variable rt. (b) Find the probability that rt ∈ (0, 0.02] if d = 3. (c)...
Brooks Development Corporation (BDC) faces the following capital budgeting decision. Six real estate projects are available...
Brooks Development Corporation (BDC) faces the following capital budgeting decision. Six real estate projects are available for investment. The net present value and expenditures required for each project (in millions of dollars) are as follows: Project    1    2    3    4 5    6 Net Present value ($Millions) $15 $5    $13 $14    $20    $9 Expedature required ($Millions) $90 $34    $81 $70    $114    $50 There are conditions that limit the investment alternatives:...
A portfolio consists of three stocks, S1, S2, and S3. X1, X2, and X3 represent the...
A portfolio consists of three stocks, S1, S2, and S3. X1, X2, and X3 represent the amount of money invested in each of the three stocks. The amount invested in stock 1 must not exceed 110% of the amount invested in stock 2 and 3 combined. Which constraint expresses this requirement? X1 – (X2 +X3) <= 110 1.1*X1 <= X2 + X3 X1 >= 1.1(X2 + X3) None of the above The annual rates of return of the three stocks...
Let X=2N={x=(x1,x2,…):xi∈{0,1}} and define d(x,y)=2∑(i≥1)(3^−i)*|xi−yi|. Define f:X→[0,1] by f(x)=d(0,x), where 0=(0,0,0,…). Prove that maps X onto...
Let X=2N={x=(x1,x2,…):xi∈{0,1}} and define d(x,y)=2∑(i≥1)(3^−i)*|xi−yi|. Define f:X→[0,1] by f(x)=d(0,x), where 0=(0,0,0,…). Prove that maps X onto the Cantor set and satisfies (1/3)*d(x,y)≤|f(x)−f(y)|≤d(x,y) for x,y∈2N.
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT