Skip to main content

Gurobi stops storing variable names to the MPS file for large models, which breaks my use case - uses place holder names instead

Answered

Comments

2 comments

  • Jaromił Najman
    Gurobi Staff Gurobi Staff

    Hi Michael,

    Does Gurobi try to reduce file-size by switching to markers (which are shorter than the full variable name) when there are "a lot" of variables?! (in that case, where is the lookup-table)

    No, if unique names are provided then Gurobi does not replace any user given names.

    Could you please provide a minimal reproducible example showing this issue? It is not possible to upload files in the Community Forum, but we describe a way for sharing files in Posting to the Community Forum.

    Best regards, 
    Jaromił

    0
  • Michael Mell
    Gurobi-versary
    Curious
    Conversationalist

    Dear Jaromil,

    to follow up on this issue: I was able to solve it. Indeed, the reason was the duplication of variable names. There was a bug in the code that caused this.

    Best regards and thank you,

    Michael

    0

Please sign in to leave a comment.