How to define binary variables in an optimization problem?

How to define binary variables in an optimization problem? It is not mentioned in the help file.

 Accepted Answer

usually you set them to be integers and bound them between 0 and 1

More Answers (0)

Categories

Asked:

on 15 Jul 2019

Answered:

on 15 Jul 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!