CPXXNETbasewrite and CPXNETbasewrite
The routine CPXXNETbasewrite/CPXNETbasewrite writes the current basis
stored in a network problem object to a file in BAS format.
int CPXXNETbasewrite( CPXCENVptr env, CPXCNETptr net, char const * filename_str )
int CPXNETbasewrite( CPXCENVptr env, CPXCNETptr net, char const * filename_str )
Description
The routine CPXXNETbasewrite/CPXNETbasewrite writes the current basis
stored in a network problem object to a file in BAS format. If no arc or
node names are available for the problem object, default names are used.
Arguments
- env
-
A pointer to the CPLEX environment as returned by
CPXXopenCPLEX/CPXopenCPLEX. - net
-
A pointer to a CPLEX network problem object as returned by
CPXXNETcreateprob/CPXNETcreateprob. - filename_str
- Name of the basis file to write.
Return
The routine returns 0 (zero) on success and nonzero if an error occurs.Example
status = CPXNETbasewrite (env, net, "netbasis.bas");