1 comment

• 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