I want to model a conditional constraint in linear programming as:

If A>0 then B=1 else B=0;

where A∈{0,1,2,⋯} and B∈{0,1}.

Regards.

asked 06 Nov '16, 06:39

mosahab's gravatar image

mosahab
13
accept rate: 0%

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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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

Tags:

×28
×14

Asked: 06 Nov '16, 06:39

Seen: 460 times

Last updated: 06 Nov '16, 07:53

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