All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
type_conflict.h
Go to the documentation of this file.
25 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
39 typedef struct SCIP_Conflicthdlr SCIP_CONFLICTHDLR; /**< conflict handler to process conflict sets */
78 /** solving process initialization method of conflict handler (called when branch and bound process is about to begin)
80 * This method is called when the presolving was finished and the branch and bound process is about to begin.
87 #define SCIP_DECL_CONFLICTINITSOL(x) SCIP_RETCODE x (SCIP* scip, SCIP_CONFLICTHDLR* conflicthdlr)
89 /** solving process deinitialization method of conflict handler (called before branch and bound process data is freed)
98 #define SCIP_DECL_CONFLICTEXITSOL(x) SCIP_RETCODE x (SCIP* scip, SCIP_CONFLICTHDLR* conflicthdlr)
103 * The conflict handler may update its data accordingly and create a constraint out of the conflict set.
104 * If the parameter "resolved" is set, the conflict handler should not create a constraint, because
106 * The bounds in the conflict set lead to a conflict (i.e. an infeasibility) when all enforced at the same time.
107 * Thus, a feasible conflict constraint must demand that at least one of the variables in the conflict
108 * set violates its corresponding bound, i.e., fulfills the negation of the bound change in the conflict set.
109 * For continuous variables, the negation has to be defined in a relaxed way: if, e.g., the bound in the conflict
112 * buffer, that may be modified at any time by SCIP. The user must copy the needed information from the
114 * (S)he should not keep a pointer to the array or pointers to the single bdchginfos in the array, because these
121 * - validnode : node at which the conflict constraint is valid (should be passed to SCIPaddConsNode())
126 * - local : is the conflict set only valid locally, i.e., should the constraint be created as local constraint?
134 * - SCIP_DIDNOTFIND : the conflict handler could not create a constraint out of the conflict set
137 #define SCIP_DECL_CONFLICTEXEC(x) SCIP_RETCODE x (SCIP* scip, SCIP_CONFLICTHDLR* conflicthdlr, SCIP_NODE* node, \
|