0

enter image description here

I want to write this code in LINGO. Basically this is a MILP which involves two decision variable. First decision variable "x" is calculated then if "x" is nonzero "y" is assigned to 1 otherwise "y" is zero. Then value of "y" is used to calculate objective function. Thanks for any help.

Shubha
  • 1
  • 2
  • Lingo has good documentation. The Lingo User Manual has a section called *Binary Integer Variables*, which explains the `@bin` function. – Erwin Kalvelagen Nov 10 '22 at 09:41

0 Answers0