Skip to main content

Gurobi Write error

Answered

Comments

1 comment

  • Marika Karbstein
    Gurobi Staff Gurobi Staff

    Hi,

    gurobi_write(model, 'mymodel.mps.bz2')

    writes the model as mps and then compresses it. It is probably not necessary to use both commands:

    gurobi_write(model, 'mymodel.mps');
    gurobi_write(model, 'mymodel.mps.bz2');

    because both write the same mps file, the latter also compresses it.

    You get the error because you do not have the appropriate compressing tool installed. So you need to install for example bzip2 or might use a different compression algorithm with a different file extension ('7z', 'zip').

    Best regards,
    Marika

    0

Please sign in to leave a comment.