Skip to main content

Input Matrix to Gurobi model in Matlab

Answered

Comments

3 comments

  • Official comment
    Simranjit Kaur
    • 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?.
  • Matthias Miltenberger
    • Gurobi Staff

    Hi Marina,

    With the Matlab interface, there is no other way to build the model. I suggest you construct the model constraint-wise by looping over the rows of your matrix using another API - I recommend our Python API. I doubt that you will be able to solve this model, though, if already the constraint matrix is too large to be kept in memory.

    Cheers,
    Matthias

    0
  • Marina Santarelli
    • Gurobi-versary
    • First Comment
    • First Question

    Thank you very much Matthias for your answer ;)

    Marina

    0

Post is closed for comments.