CPXXwriteparam and CPXwriteparam
The routine CPXXwriteparam/CPXwriteparam
writes the name and
current setting of CPLEX parameters that are not at their default
setting in the environment specified by env
.
int CPXXwriteparam( CPXCENVptrenv, char const *filename_str )
int CPXwriteparam( CPXCENVptrenv, char const *filename_str )
Description
The routine CPXXwriteparam/CPXwriteparam
writes the name and
current setting of CPLEX parameters that are not at their default
setting in the environment specified by env
.
This routine writes a file in a format suitable for reading by
CPXXreadcopyparam/CPXreadcopyparam
, so you can
save current, nondefault
parameter settings for re-use in a later session.
The file is written in the PRM format which
is documented in the
CPLEX File Formats Reference Manual.
status = CPXwriteparam (env, "myparams.prm");
Arguments
- env
-
A pointer to the CPLEX environment as returned by
CPXXopenCPLEX/CPXopenCPLEX
. - filename_str
- A character string containing the name of the file to which the current set of modified parameter settings is to be written.