NO FRAMES

CPXgetconflictext

public int CPXgetconflictext(CPXCENVptr env, CPXCLPptr lp, int * grpstat, int beg, int end)
Definition file: cplex.h

For an infeasible model, if the infeasibility has been analysed by CPXrefineconflictext, this routine accesses information about the conflict computed by it. The conflict status codes of the groups numbered beg (for begin) through end in the most recent call to CPXrefineconflictext are returned.

Group Status

The conflict status for group beg+i will be returned in grpstat[i]. Possible values for the status of a group as returned in grpstat are the following:

See Also:

Parameters:

env

A pointer to the CPLEX environment as returned by the routine CPXopenCPLEX.

lp

A pointer to a CPLEX problem object as returned by CPXcreateprob.

grpstat

Pointer to an array where the values denoting the conflict status of the groups are returned. This array must have a length of at least end-beg+1.

beg

The index of the first group defined at the most recent call to CPXrefineconflictext for which the conflict status will be returned.

end

The index of the last group defined at the most recent call to CPXrefineconflictext for which the conflict status will be returned.

Returns:

The routine returns zero if successful and nonzero if an error occurs.