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 SolutionsMATLAB: Using fsolve function with binary non-linear problem No. ga(): https://www.mathworks.com/help/gads/ga.html from Global optimization toolbox is the only solver that supports nonlinear integer problems. surrogateopt() also support integer variables, but it has limited options as compared to ga(). MATLAB: QAM problem Rename the file, or rename the variable "d" to something else. Related Question
Best Answer