Using environment variables in CPLEX
CPLEX uses environment variables.
If your operating system supports environment variables, CPLEX can make use of certain of them. You set the value of such environment variables according to the usual conventions of your operating system or platform.
For example, when you create a file of CPLEX parameter settings, as explained in
Saving parameter settings to a file in the C API,
CPLEX recognizes the location of that parameter file by means of the environment variable
ILOG_CPLEX_PARAMETER_FILE. Moreover, CPLEX reads the contents of
that PRM file and applies the parameter settings accordingly.