How to define binary variables in an optimization problem?

2 views (last 30 days)
How to define binary variables in an optimization problem? It is not mentioned in the help file.

Accepted Answer

Stephan
Stephan on 15 Jul 2019
usually you set them to be integers and bound them between 0 and 1

More Answers (0)

Categories

Find more on Get Started with Optimization Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!