NO FRAMES

CPXNETgetphase1cnt

public int CPXNETgetphase1cnt(CPXCENVptr env, CPXCNETptr net)
Definition file: cplex.h

The routine CPXNETgetphase1cnt returns the number of phase 1 network simplex iterations for the most recent 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. If an error occurs, -1 is returned and an error message is issued.