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.

 採用された回答

Stephan
Stephan 2019 年 7 月 15 日

0 投票

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeProblem-Based Optimization Setup についてさらに検索

質問済み:

2019 年 7 月 15 日

回答済み:

2019 年 7 月 15 日

Community Treasure Hunt

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

Start Hunting!

Translated by