Question: For questions 2-9:There are three projects, Binary variables x1,x2, and x3 are defined as follows:x=1 if project i is selected, andx=0 if project i is
For questions 2-9:There are three projects, Binary variables x1,x2, and x3 are defined as follows:x=1 if project i is selected, andx=0 if project i is not selected, for i=1,2,3.2. Write a constraint to represent: "At least one of the three projects mast be selected." x1x2x313. Write a constraint to represent: "Between project 1 and project 2, exactly one must be selected."x7=xz=1Write a constraint to represent: "At most two projects of the three can be selected." x1x2x3-2Write a constraint to represent: "Project 2 and pelfiect 3 must be selected or deselected together. That is, it is not allowed to select one while diselect the otber. ?-Write a constraint to represent: "The three projects cannot be all selected."x1x2x3<-2Write a constraint to represent: "If peoject 2 is selectod, then project 1 must be selected."(Bonus 2 points) Write constraine(s) to represent: "If project I is not selected, then project 2 and project 3 must be selected."
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
