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 Exchange에서 Get Started with Optimization Toolbox에 대해 자세히 알아보기

질문:

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