Dear experts,

I'm a debutant in OR and i whould solve this constraint.

If Att_p * Y_s = sum(Y_s) then X_p=1 else X_p=0

Where Att_p, Y_s and X_p are decision variables. (Y_s and X_p are binary variables)

I would be grateful, if somebody here could help me to resolve this problem.

asked 30 Dec '15, 14:45

lolla's gravatar image

accept rate: 0%

Did this is correct (look at \(Y_s\)): \[ ATT_p * Y_s = \sum{Y_s}\] ?

(02 Jan '16, 07:37) Slavko
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 30 Dec '15, 14:45

Seen: 529 times

Last updated: 02 Jan '16, 07:38

OR-Exchange! Your site for questions, answers, and announcements about operations research.