NO FRAMES

CPXordwrite

public int CPXordwrite(CPXCENVptr env, CPXCLPptr lp, const char * filename_str)
Definition file: cplex.h

The routine CPXordwrite writes a priority order to an ORD file. If a priority order has been associated with the CPLEX problem object, or the parameter CPX_PARAM_MIPORDTYPE is nonzero, or a MIP feasible solution exists, this routine writes the priority order into a file.

Example

 status = CPXordwrite (env, lp, "myfile.ord");

See also the example mipex3.c in the standard distribution.

See Also:

Parameters:

env

A pointer to the CPLEX environment as returned by CPXopenCPLEX.

lp

A pointer to a CPLEX problem object as returned by CPXcreateprob.

filename_str

A character string containing the name of the file to which the ORD information should be written.

Returns:

The routine returns zero if successful and nonzero if an error occurs.