Is it possible to implement Gurobi in the MATLAB-Simulink environment?
Hi Gurobi staff and community,
Similar to a previously unanswered question asked by Margherita Montani, I was wondering whether it is possible to implement Gurobi in Simulink.
Margherita Montani's question was as follows:
I try to implement Gurobi in Simulink but Simulink doesn't recognize the gurobi.m function as a matlab function; so i try to consider gurobi as coder.extrinsic('gurobi'), but it returns mxarray, and i can't use sparse matrix in simulink, so probably the result is wrong. Is there another way?
(https://support.gurobi.com/hc/en-us/community/posts/360060141232-is-it-possible-to-implement-gurobi-in-Matlab-Simulink)
I wondered if this question has been solved since it dates back four years. Similarly to Margherita Montani, I am trying to implement a Gurobi model in Simulink by creating a MATLAB Function Block or an S-Function block. However, is this possible for Gurobi/Simulink? And if so, what steps should be taken in order to make this work?
For your information, I am building an MPC framework in Simulink for an MIQCP model to be solved by Gurobi.
Thanks in advance!
サインインしてコメントを残してください。
コメント
0件のコメント