The problem is shown as "min z and if y=1,z=-x; if y=0, z=0". Here, y is 0-1 variable and x>=0. How to describe z with linear constraints. Thanks a lot

asked 13 Feb '18, 10:56

123's gravatar image

accept rate: 0%

closed 15 Feb '18, 13:20

fbahr's gravatar image

fbahr ♦


This is a variant of a frequently asked question (how to model implications in integer programs). Try searching the site and see if any answers help you.

(13 Feb '18, 11:14) Paul Rubin ♦♦

The question has been closed for the following reason "Duplicate Question" by fbahr 15 Feb '18, 13:20

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: 13 Feb '18, 10:56

Seen: 351 times

Last updated: 15 Feb '18, 13:20

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