Gurobi staff members often ask customers to upload files for testing, tuning, or benchmarking. 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.
- Export your models as MPS or REW files. The REW format is an anonymized version of the MPS format. 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. To export, you can:
- 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.
- Login to your account on the Gurobi website.
- Upload the compressed model file at Support > Upload. If you have a Support Request #, please be sure to include it on the form.
- After you have uploaded the file, please notify your Gurobi contact that you have done so via your support request and 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, all of whom have been trained to handle these files in a secure way.
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. 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 generated files are overwritten by the most recent optimization run.
- The GURO_PAR_DUMP parameter is not supported with Gurobi Instant Cloud