presol_redvub.c
Go to the documentation of this file.
30 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/ 42 #define PRESOL_PRIORITY -9000000 /**< priority of the presolver (>= 0: before, < 0: after constraint handlers) */ 43 #define PRESOL_MAXROUNDS 0 /**< maximal number of presolving rounds the presolver participates in (-1: no limit) */ 44 #define PRESOL_TIMING SCIP_PRESOLTIMING_EXHAUSTIVE /* timing of the presolver (fast, medium, or exhaustive) */ 215 /** searches for variable upper bound constraints on the same continuous variable with a dominance relation */ 314 /** searches for variable lower bound constraints on the same continuous variable with a dominance relation */ 538 if( (SCIPgetStage(scip) != SCIP_STAGE_PRESOLVING) || SCIPinProbing(scip) || SCIPisNLPEnabled(scip) ) 574 SCIP_CALL( findVarAggrRedVbcons(scip, matrix, &nvaragg, isvartoagg, aggvars, &ndeletecons, deletecons) ); 655 SCIP_CALL( SCIPincludePresolBasic(scip, &presol, PRESOL_NAME, PRESOL_DESC, PRESOL_PRIORITY, PRESOL_MAXROUNDS,
Definition: struct_presol.h:36 Definition: type_result.h:33 SCIP_RETCODE SCIPaggregateVars(SCIP *scip, SCIP_VAR *varx, SCIP_VAR *vary, SCIP_Real scalarx, SCIP_Real scalary, SCIP_Real rhs, SCIP_Bool *infeasible, SCIP_Bool *redundant, SCIP_Bool *aggregated) Definition: scip.c:22886 Definition: struct_scip.h:53 SCIP_CONS * SCIPmatrixGetCons(SCIP_MATRIX *matrix, int row) Definition: matrix.c:1525 Definition: type_result.h:49 Definition: struct_var.h:196 Definition: type_var.h:53 static SCIP_RETCODE findVarAggrRedVbcons(SCIP *scip, SCIP_MATRIX *matrix, int *nvaragg, SCIP_Bool *isvartoagg, SCIP_VAR **aggvars, int *ndeletecons, SCIP_Bool *deletecons) Definition: presol_redvub.c:415 static SCIP_Bool isVub(SCIP *scip, SCIP_MATRIX *matrix, int row, SCIP_Real *lowthreshold, SCIP_Real *highthreshold, int *conidx, int *binidx) Definition: presol_redvub.c:54 static SCIP_Bool isVlb(SCIP *scip, SCIP_MATRIX *matrix, int row, SCIP_Real *lowthreshold, SCIP_Real *highthreshold, int *conidx, int *binidx) Definition: presol_redvub.c:135 SCIP_RETCODE SCIPprintCons(SCIP *scip, SCIP_CONS *cons, FILE *file) Definition: scip.c:26237 SCIP_RETCODE SCIPmatrixCreate(SCIP *scip, SCIP_MATRIX **matrixptr, SCIP_Bool *initialized, SCIP_Bool *complete) Definition: matrix.c:430 int SCIPmatrixGetRowNNonzs(SCIP_MATRIX *matrix, int row) Definition: matrix.c:1373 SCIP_RETCODE SCIPincludePresolRedvub(SCIP *scip) Definition: presol_redvub.c:648 SCIP_Real SCIPmatrixGetRowLhs(SCIP_MATRIX *matrix, int row) Definition: matrix.c:1407 Definition: type_result.h:35 Definition: struct_cons.h:36 int * SCIPmatrixGetRowIdxPtr(SCIP_MATRIX *matrix, int row) Definition: matrix.c:1361 Definition: type_retcode.h:33 SCIP_Real * SCIPmatrixGetRowValPtr(SCIP_MATRIX *matrix, int row) Definition: matrix.c:1349 static SCIP_RETCODE detectDominatingVubs(SCIP *scip, SCIP_MATRIX *matrix, int nvubs, int *vubs, SCIP_Real *lowthresholds, SCIP_Real *highthresholds, int *conidxs, int *binidxs, int *nvaragg, SCIP_Bool *isvartoagg, SCIP_VAR **aggvars, int *ndeletecons, SCIP_Bool *deletecons) Definition: presol_redvub.c:217 int * SCIPmatrixGetColIdxPtr(SCIP_MATRIX *matrix, int col) Definition: matrix.c:1245 Definition: type_set.h:38 Definition: struct_matrix.h:37 public methods for matrix static SCIP_RETCODE detectDominatingVlbs(SCIP *scip, SCIP_MATRIX *matrix, int nvlbs, int *vlbs, SCIP_Real *lowthresholds, SCIP_Real *highthresholds, int *conidxs, int *binidxs, int *nvaragg, SCIP_Bool *isvartoagg, SCIP_VAR **aggvars, int *ndeletecons, SCIP_Bool *deletecons) Definition: presol_redvub.c:316 remove redundant variable upper bound constraints void SCIPinfoMessage(SCIP *scip, FILE *file, const char *formatstr,...) Definition: scip.c:1281 SCIP_Bool SCIPmatrixIsRowRhsInfinity(SCIP_MATRIX *matrix, int row) Definition: matrix.c:1431 int SCIPmatrixGetColNDownlocks(SCIP_MATRIX *matrix, int col) Definition: matrix.c:1313 int SCIPmatrixGetColNUplocks(SCIP_MATRIX *matrix, int col) Definition: matrix.c:1301 Definition: objbranchrule.h:33 SCIP_RETCODE SCIPincludePresolBasic(SCIP *scip, SCIP_PRESOL **presolptr, const char *name, const char *desc, int priority, int maxrounds, SCIP_PRESOLTIMING timing, SCIP_DECL_PRESOLEXEC((*presolexec)), SCIP_PRESOLDATA *presoldata) Definition: scip.c:6191 Definition: type_result.h:39 int SCIPmatrixGetColNNonzs(SCIP_MATRIX *matrix, int col) Definition: matrix.c:1257 Definition: type_var.h:56 |