Generating C/C+ code for the Optimization bintprog function

Please Help. I need to generate a C/C++ code from Matlab for the optimization problem, involving Binary Integer Programming. Specifically, I am using bintprog function in the Matlab and I would like to generate C/C++ code, which will be ported to the embedded processor. I have noticed that Matlab coder product does not support any of the Optimization functions, including bintprog function. Also, the solution of using Matlab compiler along with Matlab compile runtime will not work either. The embedded processor is running VxWorks real-time operating system, so obviously Matlab compile runtime will not run on VxWorks. Thanks

 Accepted Answer

José-Luis
José-Luis on 15 Nov 2012
Edited: José-Luis on 15 Nov 2012
It is not supported, so there really is no solution, short of asking the Mathworks to support it. You could write it yourself, but if you do not want to reinvent the wheel you could use some other library. The NAG library, for instance, is already written in C.

More Answers (0)

Categories

Find more on MATLAB Coder in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!