MATLAB: Can I use fmincon to solve Mixed Integer Convex Problem

optimization

I have a mixed integer convex problem (some variables are binary). If yes, How to define the binary variables?. I have matlab 2013a

Best Answer

Mixed integer problems are discontinuous and fmincon can only work with continuous functions.
You would need to evaluate once for each possible binary arrangement of the variables, and then pick the best of the results.
Related Question