How to use Gurobi solver with Legacy code tool in Matlab Simulink?

Firstly I follow this example to know how to use the Legacy Code Tool in matlab Simulink, the goal is how to call an existing C/C++ code in simulink :
Now I'm tying to optimise the powers flow of a power system by mixed integer linear programming, and I need to do something similar to this example of code :
The problem is I don't know how to do or how to use gurobi in legacy code tool because the first issue I meet is the compiler doesn't find the header "gurobi_c++.h"? Thanks.

Risposte (0)

Categorie

Prodotti

Tag

Richiesto:

il 30 Apr 2017

Modificato:

il 1 Mag 2017

Community Treasure Hunt

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

Start Hunting!

Translated by