Appendix F: gurobi_clΒΆ
Usage:
gurobi_cl --help Display usage
gurobi_cl [flags] Execute a command
gurobi_cl [param=value]* [option]* filename Optimize a model file
Flags can be used to execute specific commands:
-h, --help Display usage
--license Display license information
-t, --tokens List license tokens currently in use
-v, --version Display version information
When optimizing a model, options can be used:
-q, --printquality Display solution quality measures after solving
Command-line only parameters:
ConcurrentSettings Create concurrent environments from a list of .prm files
MultiObjSettings Create multi-objective settings from a list of .prm files
InputFile Import data into a model before beginning optimization
Gurobi parameters are documented in the Gurobi Reference Manual:
https://docs.gurobi.com/projects/optimizer/en/12.0/parameters
If a valid Gurobi license file is accessible at the predefined locations or
using the variable GRB_LICENSE_FILE, default values for the license parameters
will be inferred from that file. Most of these values can be overwritten using
the corresponding license parameters.
Examples:
gurobi_cl misc07.mps
gurobi_cl Record=1 Method=2 ResultFile=p0033.sol InputFile=p0033.mst \
InputFile=p0033.hnt.gz LogFile=p0033.log p0033.mps
gurobi_cl ComputeServer=server.company.com ServerPassword=pass misc07.mps
For further details on how to use this program, visit
https://docs.gurobi.com/projects/optimizer/en/12.0/gurobi_cl