Overview | Group | Index | Concepts |
The routine CPXrefineconflictext
extends
CPXrefineconflict
to problems with indicator constraints,
quadratic constraints, or special ordered sets
(SOSs) and to
situations where groups of constraints should be considered
as a single constraint.
The routine CPXrefineconflictext
identifies a minimal
conflict for the infeasibility of the current
model or a subset of constraints of the current model.
Since the conflict is minimal, removal of any group of
constraints that is a member of the conflict will remove that
particular source of infeasibility.
However, there may be other conflicts in the model; consequently,
that repair of one conflict does not guarantee feasibility of the
solution of the remaining model.
Constraints are considered in groups in this routine. If any constraint in a group participates in the conflict, the entire group is determined to do so. No further detail about the constraints within that group is returned. A group may consist of a single constraint.
A group may be assigned a preference; that is, a value specifying how much the user wants the group to be part of a conflict. A group with a higher preference is more likely to be included in the conflict. However, no guarantee is made when a minimal conflict is returned that other conflicts containing groups with a greater preference do not exist.
To retrieve information about the conflict computed by
CPXrefineconflictext
, call the routine
CPXgetconflictext
.
CPX_CON_LOWER_BOUND | 1 | variable lower bound |
CPX_CON_UPPER_BOUND | 2 | variable upper bound |
CPX_CON_LINEAR | 3 | linear constraint |
CPX_CON_QUADRATIC | 4 | quadratic constraint |
CPX_CON_SOS | 5 | special ordered set |
CPX_CON_INDICATOR | 6 | indicator constraint |
See Also:
CPXgetconflictext, CPXrefineconflict, CPXclpwrite
env | A pointer to the CPLEX environment as returned by the routine |
lp | A pointer to a CPLEX problem object as returned by |
grpcnt | The number of constraint groups to be considered. |
concnt | An integer specifying the total number of elements passed in the arrays |
grppref | An array of preferences for the groups. The value |
grpbeg | An array of integers indicating where the constraint indices for each group begin in the array |
grpind | An array of integers containing the indices for the constraints as they appear in groups, by type as specified for the constraint in |
grptype | An array of characters containing the constraint types for the constraints as they appear in groups. The types of the constraints in group |