Error when reading model

Answered

Comments

2 comments

  • Eli Towle

    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
    Comment actions Permalink
  • Ties van der Heijden

    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
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk