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
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.
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.