9.3. Other Files¶
9.3.1. PRM Files¶
Users can choose to write the current environment’s parameter settings to a prm file, or import a parameter setting from a prm file. When users obtain a set of efficient parameters through experience or tuning tools, they can write them to a prm file for import before subsequent solving.
The file can also be renamed to mindopt.env and placed in the current working directory. When the solver creates an environment, if it finds a mindopt.env file in the current working directory, it will automatically read the parameter settings from it.
prm files are also very simple, recording only the values of parameters that have been modified. Parameters currently set to default values will not be written to the prm file. For example:
# Our settings
Method 2
NumThreads 8
Each line records a parameter name and a parameter value. Any line starting with # will be treated as a comment and ignored.