Read new parameter settings from a file.

Please consult the parameter section for a complete list of Gurobi parameters, including descriptions of their purposes and their minimum, maximum, and default values.

void readParams ( const string& paramfile )


paramfile: Name of the file containing parameter settings. Parameters should be listed one per line, with the parameter name first and the desired value second. For example:

  # Gurobi parameter file
  Threads 1
  MIPGap 0

Blank lines and lines that begin with the hash symbol are ignored.