optimization problem using optim prob in matlab
2 views (last 30 days)
Show older comments
Omer Hassan on 1 Dec 2019
Answered: Dhananjay Kumar on 4 Dec 2019
How can I restrict the optim problem at matlab to produce integers or binary values only? I tried to use binary() operator but it didn't accept it ?
Vladimir Sovkov on 1 Dec 2019
When you create an optimization variable with the function optimvar of the Optimization Toolbox, you have an option to choose its type as integer and declair its boundaries.
Dhananjay Kumar on 4 Dec 2019
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!