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

13 vues (au cours des 30 derniers jours)
Nabil Q
Nabil Q le 30 Avr 2017
Modifié(e) : Nabil Q le 1 Mai 2017
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.

Réponses (0)

Catégories

En savoir plus sur Call C++ from MATLAB dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by