Previous Page: CPXNETgetobjval First PageNext Page: CPXNETgetpi

CPXNETgetphase1cnt


Description

Accesses the number of phase 1 network simplex iterations for a previous call to CPXNETprimopt(), for a CPLEX network problem object.

Return Value

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 will be returned. In an error occurs, -1 is returned and an error message is issued.

Synopsis

int CPXNETgetphase1cnt (CPXENVptr env,
                        CPXNETptr net);

Arguments


CPXENVptr env
The pointer to the CPLEX environment as returned by one of the CPXopenCPLEX() routines.

CPXNETptr net
A pointer to a CPLEX network problem object as returned by CPXNETcreateprob().

Example

phase1cnt = CPXNETgetphase1cnt (env, net);

Previous Page: CPXNETgetobjval First PageNext Page: CPXNETgetpi