# SCIP

Solving Constraint Integer Programs

SCIP_Presol Struct Reference

## Detailed Description

presolver

Definition at line 37 of file struct_presol.h.

#include <struct_presol.h>

## Public Member Functions

SCIP_DECL_PRESOLCOPY ((*presolcopy))

SCIP_DECL_PRESOLFREE ((*presolfree))

SCIP_DECL_PRESOLINIT ((*presolinit))

SCIP_DECL_PRESOLEXIT ((*presolexit))

SCIP_DECL_PRESOLINITPRE ((*presolinitpre))

SCIP_DECL_PRESOLEXITPRE ((*presolexitpre))

SCIP_DECL_PRESOLEXEC ((*presolexec))

## Data Fields

char * name

char * desc

SCIP_PRESOLDATApresoldata

SCIP_CLOCKsetuptime

SCIP_CLOCKpresolclock

int priority

int maxrounds

int lastnfixedvars

int lastnaggrvars

int lastnchgvartypes

int lastnchgbds

int lastndelconss

int lastnupgdconss

int lastnchgcoefs

int lastnchgsides

int nfixedvars

int naggrvars

int nchgvartypes

int nchgbds

int ndelconss

int nupgdconss

int nchgcoefs

int nchgsides

int ncalls

SCIP_Bool initialized

SCIP_PRESOLTIMING timing

## ◆ SCIP_DECL_PRESOLCOPY()

 SCIP_Presol::SCIP_DECL_PRESOLCOPY ( * presolcopy )

copy method of presolver or NULL if you don't want to copy your plugin into sub-SCIPs

## ◆ SCIP_DECL_PRESOLFREE()

 SCIP_Presol::SCIP_DECL_PRESOLFREE ( * presolfree )

destructor of presolver to free user data (called when SCIP is exiting)

## ◆ SCIP_DECL_PRESOLINIT()

 SCIP_Presol::SCIP_DECL_PRESOLINIT ( * presolinit )

initialization method of presolver (called after problem was transformed)

## ◆ SCIP_DECL_PRESOLEXIT()

 SCIP_Presol::SCIP_DECL_PRESOLEXIT ( * presolexit )

deinitialization method of presolver (called before transformed problem is freed)

## ◆ SCIP_DECL_PRESOLINITPRE()

 SCIP_Presol::SCIP_DECL_PRESOLINITPRE ( * presolinitpre )

presolving initialization method of presolver (called when presolving is about to begin)

## ◆ SCIP_DECL_PRESOLEXITPRE()

 SCIP_Presol::SCIP_DECL_PRESOLEXITPRE ( * presolexitpre )

presolving deinitialization method of presolver (called after presolving has been finished)

## ◆ SCIP_DECL_PRESOLEXEC()

 SCIP_Presol::SCIP_DECL_PRESOLEXEC ( * presolexec )

execution method of presolver

## ◆ name

 char* SCIP_Presol::name

name of presolver

Definition at line 39 of file struct_presol.h.

Referenced by SCIPpresolExec(), SCIPpresolExit(), SCIPpresolGetName(), and SCIPpresolInit().

## ◆ desc

 char* SCIP_Presol::desc

description of presolver

Definition at line 40 of file struct_presol.h.

Referenced by SCIPpresolGetDesc().

## ◆ presoldata

 SCIP_PRESOLDATA* SCIP_Presol::presoldata

presolver data

Definition at line 48 of file struct_presol.h.

Referenced by SCIPpresolGetData(), and SCIPpresolSetData().

## ◆ setuptime

 SCIP_CLOCK* SCIP_Presol::setuptime

time spend for setting up this presolver for the next stages

Definition at line 49 of file struct_presol.h.

## ◆ presolclock

 SCIP_CLOCK* SCIP_Presol::presolclock

presolving time

Definition at line 50 of file struct_presol.h.

## ◆ priority

 int SCIP_Presol::priority

priority of the presolver

Definition at line 51 of file struct_presol.h.

Referenced by SCIPpresolGetPriority(), and SCIPpresolSetPriority().

## ◆ maxrounds

 int SCIP_Presol::maxrounds

maximal number of presolving rounds the presolver participates in (-1: no limit)

Definition at line 52 of file struct_presol.h.

Referenced by SCIPpresolExec(), and SCIPpresolGetMaxrounds().

## ◆ lastnfixedvars

 int SCIP_Presol::lastnfixedvars

number of variables fixed before the last call to the presolver

Definition at line 53 of file struct_presol.h.

Referenced by SCIPpresolExec(), SCIPpresolInit(), and SCIPpresolInitpre().

## ◆ lastnaggrvars

 int SCIP_Presol::lastnaggrvars

number of variables aggregated before the last call to the presolver

Definition at line 54 of file struct_presol.h.

Referenced by SCIPpresolExec(), SCIPpresolInit(), and SCIPpresolInitpre().

## ◆ lastnchgvartypes

 int SCIP_Presol::lastnchgvartypes

number of variable type changes before the last call to the presolver

Definition at line 55 of file struct_presol.h.

Referenced by SCIPpresolExec(), SCIPpresolInit(), and SCIPpresolInitpre().

## ◆ lastnchgbds

 int SCIP_Presol::lastnchgbds

number of variable bounds tightened before the last call to the presolver

Definition at line 56 of file struct_presol.h.

Referenced by SCIPpresolExec(), SCIPpresolInit(), and SCIPpresolInitpre().

number of domain holes added before the last call to the presolver

Definition at line 57 of file struct_presol.h.

Referenced by SCIPpresolExec(), SCIPpresolInit(), and SCIPpresolInitpre().

## ◆ lastndelconss

 int SCIP_Presol::lastndelconss

number of deleted constraints before the last call to the presolver

Definition at line 58 of file struct_presol.h.

Referenced by SCIPpresolExec(), SCIPpresolInit(), and SCIPpresolInitpre().

number of added constraints before the last call to the presolver

Definition at line 59 of file struct_presol.h.

Referenced by SCIPpresolExec(), SCIPpresolInit(), and SCIPpresolInitpre().

## ◆ lastnupgdconss

 int SCIP_Presol::lastnupgdconss

number of upgraded constraints before the last call to the presolver

Definition at line 60 of file struct_presol.h.

Referenced by SCIPpresolExec(), SCIPpresolInit(), and SCIPpresolInitpre().

## ◆ lastnchgcoefs

 int SCIP_Presol::lastnchgcoefs

number of changed coefficients before the last call to the presolver

Definition at line 61 of file struct_presol.h.

Referenced by SCIPpresolExec(), SCIPpresolInit(), and SCIPpresolInitpre().

## ◆ lastnchgsides

 int SCIP_Presol::lastnchgsides

number of changed left or right hand sides before the last call

Definition at line 62 of file struct_presol.h.

Referenced by SCIPpresolExec(), SCIPpresolInit(), and SCIPpresolInitpre().

## ◆ nfixedvars

 int SCIP_Presol::nfixedvars

total number of variables fixed by this presolver

Definition at line 63 of file struct_presol.h.

## ◆ naggrvars

 int SCIP_Presol::naggrvars

total number of variables aggregated by this presolver

Definition at line 64 of file struct_presol.h.

## ◆ nchgvartypes

 int SCIP_Presol::nchgvartypes

total number of variable type changes by this presolver

Definition at line 65 of file struct_presol.h.

## ◆ nchgbds

 int SCIP_Presol::nchgbds

total number of variable bounds tightened by this presolver

Definition at line 66 of file struct_presol.h.

total number of domain holes added by this presolver

Definition at line 67 of file struct_presol.h.

## ◆ ndelconss

 int SCIP_Presol::ndelconss

total number of deleted constraints by this presolver

Definition at line 68 of file struct_presol.h.

total number of added constraints by this presolver

Definition at line 69 of file struct_presol.h.

## ◆ nupgdconss

 int SCIP_Presol::nupgdconss

total number of upgraded constraints by this presolver

Definition at line 70 of file struct_presol.h.

## ◆ nchgcoefs

 int SCIP_Presol::nchgcoefs

total number of changed coefficients by this presolver

Definition at line 71 of file struct_presol.h.

## ◆ nchgsides

 int SCIP_Presol::nchgsides

total number of changed left or right hand sides by this presolver

Definition at line 72 of file struct_presol.h.

## ◆ ncalls

 int SCIP_Presol::ncalls

number of times the presolver was called and tried to find reductions

Definition at line 73 of file struct_presol.h.

## ◆ initialized

 SCIP_Bool SCIP_Presol::initialized

is presolver initialized?

Definition at line 74 of file struct_presol.h.

Referenced by SCIPpresolExit(), SCIPpresolInit(), and SCIPpresolIsInitialized().

## ◆ timing

 SCIP_PRESOLTIMING SCIP_Presol::timing

timing of the presolver

Definition at line 75 of file struct_presol.h.

Referenced by SCIPpresolExec(), SCIPpresolGetTiming(), and SCIPpresolSetTiming().