Scippy

SCIP

Solving Constraint Integer Programs

presol_trivial.c File Reference

Detailed Description

trivial presolver: round fractional bounds on integer variables, fix variables with equal bounds

Author
Tobias Achterberg

Definition in file presol_trivial.c.

#include <assert.h>
#include <string.h>
#include "scip/presol_trivial.h"

Go to the source code of this file.

Macros

#define PRESOL_NAME   "trivial"
 
#define PRESOL_DESC   "round fractional bounds on integers, fix variables with equal bounds"
 
#define PRESOL_PRIORITY   +9000000
 
#define PRESOL_MAXROUNDS   -1
 
#define PRESOL_TIMING   SCIP_PRESOLTIMING_FAST /* timing of the presolver (fast, medium, or exhaustive) */
 

Functions

static SCIP_DECL_PRESOLCOPY (presolCopyTrivial)
 
static SCIP_DECL_PRESOLEXEC (presolExecTrivial)
 
SCIP_RETCODE SCIPincludePresolTrivial (SCIP *scip)
 

Macro Definition Documentation

◆ PRESOL_NAME

#define PRESOL_NAME   "trivial"

Definition at line 29 of file presol_trivial.c.

Referenced by SCIP_DECL_PRESOLCOPY(), and SCIPincludePresolTrivial().

◆ PRESOL_DESC

#define PRESOL_DESC   "round fractional bounds on integers, fix variables with equal bounds"

Definition at line 30 of file presol_trivial.c.

Referenced by SCIPincludePresolTrivial().

◆ PRESOL_PRIORITY

#define PRESOL_PRIORITY   +9000000

priority of the presolver (>= 0: before, < 0: after constraint handlers)

Definition at line 31 of file presol_trivial.c.

Referenced by SCIPincludePresolTrivial().

◆ PRESOL_MAXROUNDS

#define PRESOL_MAXROUNDS   -1

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

Definition at line 32 of file presol_trivial.c.

Referenced by SCIPincludePresolTrivial().

◆ PRESOL_TIMING

#define PRESOL_TIMING   SCIP_PRESOLTIMING_FAST /* timing of the presolver (fast, medium, or exhaustive) */

Definition at line 33 of file presol_trivial.c.

Referenced by SCIPincludePresolTrivial().

Function Documentation

◆ SCIP_DECL_PRESOLCOPY()

static SCIP_DECL_PRESOLCOPY ( presolCopyTrivial  )
static

copy method for constraint handler plugins (called when SCIP copies plugins)

Definition at line 46 of file presol_trivial.c.

References NULL, PRESOL_NAME, SCIP_CALL, SCIP_OKAY, SCIPincludePresolTrivial(), and SCIPpresolGetName().

◆ SCIP_DECL_PRESOLEXEC()