All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
presol_inttobinary.c
Go to the documentation of this file.
21 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
31 #define PRESOL_PRIORITY +7000000 /**< priority of the presolver (>= 0: before, < 0: after constraint handlers) */
32 #define PRESOL_MAXROUNDS -1 /**< maximal number of presolving rounds the presolver participates in (-1: no limit) */
33 #define PRESOL_DELAY FALSE /**< should presolver be delayed, if other presolvers found reductions? */
81 /* copy the integer variables into an own array, since adding binary variables affects the left-most slots in the
109 SCIPdebugMessage("converting <%s>[%g,%g] into binary variable\n", SCIPvarGetName(vars[v]), lb, ub);
118 SCIP_CALL( SCIPaggregateVars(scip, vars[v], binvar, 1.0, -1.0, lb, &infeasible, &redundant, &aggregated) );
123 /* it can be the case that this aggregation detects an infeasibility; for example, during the copy of the
124 * variable bounds from the integer variable to the binary variable, infeasibility can be detected; this can
125 * happen because an upper bound or a lower bound of such a variable bound variable was "just" changed and the
126 * varbound constraint handler, who would detect that infeasibility (since it was creating it from a varbound
127 * constraint), was called before that bound change was detected due to the presolving priorities;
166 SCIP_CALL( SCIPincludePresolBasic(scip, &presolptr, PRESOL_NAME, PRESOL_DESC, PRESOL_PRIORITY, PRESOL_MAXROUNDS, PRESOL_DELAY,
|