We wish to restrict a variable X in a model to just two values, X = 25 or X = 35. Which of the following is the correct linear constraint to enforce this? O (X-25) (X-35) = 0 ○ Introduce a binary integer variable Y = {0, 1} in the model. Add the constraint: X 25Y+35 (1-Y) Introduce a binary integer variable Y = {0, 1} in the model. Add the constraint: (X-25) (X-35) = Y Use the OR function of the spreadsheet: X = OR(25,35)

Linear Algebra: A Modern Introduction
4th Edition
ISBN:9781285463247
Author:David Poole
Publisher:David Poole
Chapter2: Systems Of Linear Equations
Section2.4: Applications
Problem 16EQ
icon
Related questions
Question

Please answer the question in the attached image.

We wish to restrict a variable X in a model to just two values, X = 25 or X = 35. Which of
the following is the correct linear constraint to enforce this?
O (X-25) (X-35) = 0
○ Introduce a binary integer variable Y = {0, 1} in the model. Add the constraint:
X 25Y+35 (1-Y)
Introduce a binary integer variable Y = {0, 1} in the model. Add the constraint:
(X-25) (X-35) = Y
Use the OR function of the spreadsheet:
X = OR(25,35)
Transcribed Image Text:We wish to restrict a variable X in a model to just two values, X = 25 or X = 35. Which of the following is the correct linear constraint to enforce this? O (X-25) (X-35) = 0 ○ Introduce a binary integer variable Y = {0, 1} in the model. Add the constraint: X 25Y+35 (1-Y) Introduce a binary integer variable Y = {0, 1} in the model. Add the constraint: (X-25) (X-35) = Y Use the OR function of the spreadsheet: X = OR(25,35)
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Linear Algebra: A Modern Introduction
Linear Algebra: A Modern Introduction
Algebra
ISBN:
9781285463247
Author:
David Poole
Publisher:
Cengage Learning
Algebra & Trigonometry with Analytic Geometry
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:
9781133382119
Author:
Swokowski
Publisher:
Cengage
Elementary Linear Algebra (MindTap Course List)
Elementary Linear Algebra (MindTap Course List)
Algebra
ISBN:
9781305658004
Author:
Ron Larson
Publisher:
Cengage Learning
Glencoe Algebra 1, Student Edition, 9780079039897…
Glencoe Algebra 1, Student Edition, 9780079039897…
Algebra
ISBN:
9780079039897
Author:
Carter
Publisher:
McGraw Hill