Skip to main content

Interface Gurobi Matlab Optimization

Comments

5 comments

  • Official comment
    Simranjit Kaur
    • Gurobi Staff Gurobi Staff
    This post is more than three years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum. Or why not try our AI Gurobot?.
  • Jennifer Locke
    • Gurobi Staff Gurobi Staff

    Can you post your log file?

    0
  • Lukas Hein
    • Gurobi-versary
    • First Comment
    • First Question

    Hey,

    Do you mean this with logfile? (The first three lines are the code from Matlab and last two lines are the combined time for function call and solving time).

     

    Thank you very much.

    Lukas

     

    0
  • Matthias Miltenberger
    • Gurobi Staff Gurobi Staff

    Hi Lukas,

    Is your Gurobi solver running locally on your machine? I just ran a few tests and cannot reproduce those timings.
    Maybe you can also share how you are constructing the model?

    Thanks,
    Matthias

     

    0
  • Lukas Hein
    • Gurobi-versary
    • First Comment
    • First Question

    Hey Matthias,

     

    I think the Gurobi solver is running locally on my machine see the picture. (config.gurobiPath{1} is the path where Gurobi is installed at my machine)

    And this is how I construct my model:

     

    Thanks for your help,

    Lukas

    0

Post is closed for comments.