Description
This function writes the current basis stored in a CPLEX network problem object to a file in BAS format. If no arc or node names are available for the CPLEX network problem object, default names will be used.Return Value
If the operation is successful, CPXNETbasewrite() returns the value 0; if not, it returns a nonzero value to indicate an error.Synopsis
int CPXNETbasewrite (CPXENVptr env,
CPXNETptr net,
char *filename);
CPXENVptr envThe pointer to the CPLEX environment as returned by one of the
CPXopenCPLEX() routines.
CPXNETptr netA pointer to a CPLEX network problem object as returned by
CPXNETcreateprob().
char *filenameName of the basis file to write.
status = CPXNETbasewrite (env, net, "netbasis.bas");