NO FRAMES

CPXNETreadcopybase

public int CPXNETreadcopybase(CPXCENVptr env, CPXNETptr net, const char * filename_str)
Definition file: cplex.h

The routine CPXNETreadcopybase reads a basis file in BAS format and copies the basis to a network problem object. If no arc or node names are available for the problem object when reading the basis file, default names are assumed. Any basis that may have been created or saved in the problem object is replaced.

Example

 status = CPXNETreadcopybase (env, net, "netbasis.bas");

Parameters:

env

A pointer to the CPLEX environment as returned by CPXopenCPLEX.

net

A pointer to a CPLEX network problem object as returned by CPXNETcreateprob.

filename_str

Name of the basis file to read.

Returns:

The routine returns zero on success and nonzero if an error occurs.