NO FRAMES

CPXNETgetphase1cnt

int CPXPUBLIC CPXNETgetphase1cnt(CPXCENVptr env, CPXCNETptr net)
Definition file: cplex.h
Include files: cplex.h

The routine CPXNETgetphase1cnt returns the number of phase 1 network simplex iterations for a previous call to CPXNETprimopt.

Example

 phase1cnt = CPXNETgetphase1cnt (env, net);

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.

Returns:

Returns the total number of phase 1 network simplex iterations for the last call to CPXNETprimopt, for a CPXNETptr object. If CPXNETprimopt has not been called, zero is returned. In an error occurs, -1 is returned and an error message is issued.