メインコンテンツへスキップ

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

回答済み

コメント

3件のコメント

  • 正式なコメント
    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 try Gurobot, our chatbot interface offering instant, expert-level support.
  • Jaromił Najman
    • 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

投稿コメントは受け付けていません。