Description
The routine CPXordwrite() is used to write a priority order to an ORD file. If a priority order has been associated with the CPLEX LP problem object, or the parameter CPX_PARAM_MIPORDTYPE is nonzero, or a MIP feasible solution exists, then this routine writes the priority order into a file.Return Value
The routine returns a zero on success, and a nonzero if an error occurs.Synopsis
int CPXordwrite (CPXENVptr env,
CPXLPptr lp,
char *filename);
CPXENVptr envThe pointer to the CPLEX environment as returned by one of the
CPXopenCPLEX routines.
CPXLPptr lpA pointer to a CPLEX LP problem object as returned by
CPXcreateprob().
char *filenameA character string containing the name of the file to which the ORD information should be written.
status = CPXordwrite (env, lp, "myfile.ord");