# [closed] Linearization with 4 variables

 0 hi Could someone please suggest a way of linearizing the following equation: (x-y)*(a-b) where x and y are binary variables and a and b are continues variables. Tanks a lot asked 27 Apr '18, 10:08 zalgiris28 11●1 accept rate: 0% fbahr ♦ 4.6k●7●16 Just to be clear, you want either $$a-b$$, 0 or $$b-a$$, depending on the values of $$x$$ and $$y$$? (28 Apr '18, 15:34) Paul Rubin ♦♦ Hello Please see this site , it's complete . https://www.leandro-coelho.com/linearization-product-variables/ (02 May '18, 08:57) Kenkavaza

### The question has been closed for the following reason "Other" by fbahr 11 May '18, 14:12

By Email:

Markdown Basics

• *italic* or _italic_
• **bold** or __bold__
• 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: