Gurobi staff often ask customers to upload files for testing, tuning, or benchmarking. This article describes how to do that.
Please export your models as MPS or REW files. The REW format is an anonymized version of the MPS format. You can export your models with the write() function of your chosen API. Please compress the model file using a compression tool like bzip2, zip, or gzip. An LP model file is also acceptable, but the behavior of an LP file may not be as accurate as that of an MPS/REW file.
You can also create an MPS file by setting the GURO_PAR_DUMP parameter to 1. If you are not sure how to set parameters for your model, you can use the Gurobi environment file. To do so, simply create a text file in the current working directory for your application (directory from which you launch the process) named gurobi.env with the following line:
This will direct the solver to generate the following files in the current working directory when the optimization starts: gurobi.mps, gurobi.prm, and gurobi.attr. Note that these files are overwritten by the most recent optimization run. To anonymize the names of variables and constraints in the MPS model file, you can additionally add the line
IGNORENAMES 1 to the gurobi.env file.
The security of your model and data is important to Gurobi. The safest way to send the zipped models or data to Gurobi is through the upload page on the Gurobi website:
After you have uploaded the file, please notify your Gurobi contact that you have done so. Please be sure to provide the name of the uploaded file.
The uploaded files are stored on a secure server. Your files are only accessible by Gurobi support, developers, and IT staff. These individuals have been trained to handle these files in a secure way.