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

Error when reading model

回答済み

コメント

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 why not try our AI Gurobot?.
  • Eli Towle
    • Gurobi Staff

    Did you write the MPS file using Pyomo's built-in write functionality? An MPS file generated by Pyomo does not necessarily capture the exact model as stored internally by Gurobi, and in some cases may not be compatible with Gurobi.

    To write out the MPS file using Gurobi's own file-writer, you can set the \( \texttt{GURO_PAR_DUMP} \) parameter to 1. E.g., in Pyomo:

    opt.options['GURO_PAR_DUMP'] = 1

    You can read more about this topic in the article How do I write an MPS model file from a third-party API?.

    1
  • Ties van der Heijden
    • Gurobi-versary
    • First Comment
    • First Question

    Dear Eli,

    Thank you for your swift and spot-on reply.
    This was indeed the issue, the tuning tool is now running.

    Kind regards,

    Ties

    0

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