Scippy

GCG

Branch-and-Price & Column Generation for Everyone

presol_roundbound.c File Reference

Detailed Description

roundbound presolver: round fractional bounds on integer variables

Author
Tobias Achterberg
Michael Bastubbe

Definition in file presol_roundbound.c.

#include <assert.h>
#include <string.h>
#include "gcg/presol_roundbound.h"

Go to the source code of this file.

Macros

#define PRESOL_NAME   "roundbound"
 
#define PRESOL_DESC   "roundbound presolver: round fractional bounds on integers"
 
#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 (presolCopyRoundbound)
 
static SCIP_DECL_PRESOLEXEC (presolExecRoundbound)
 
SCIP_RETCODE GCGincludePresolRoundbound (SCIP *scip)
 

Macro Definition Documentation

◆ PRESOL_NAME

#define PRESOL_NAME   "roundbound"

Definition at line 43 of file presol_roundbound.c.

◆ PRESOL_DESC

#define PRESOL_DESC   "roundbound presolver: round fractional bounds on integers"

Definition at line 44 of file presol_roundbound.c.

◆ PRESOL_PRIORITY

#define PRESOL_PRIORITY   +9000000

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

Definition at line 45 of file presol_roundbound.c.

◆ PRESOL_MAXROUNDS

#define PRESOL_MAXROUNDS   -1

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

Definition at line 46 of file presol_roundbound.c.

◆ PRESOL_TIMING

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

Definition at line 47 of file presol_roundbound.c.

Function Documentation

◆ SCIP_DECL_PRESOLCOPY()

static SCIP_DECL_PRESOLCOPY ( presolCopyRoundbound  )
static

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

Definition at line 60 of file presol_roundbound.c.

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

◆ SCIP_DECL_PRESOLEXEC()

◆ GCGincludePresolRoundbound()

SCIP_RETCODE GCGincludePresolRoundbound ( SCIP *  scip)

creates the roundbound presolver and includes it in SCIP

Parameters
scipSCIP data structure

Definition at line 161 of file presol_roundbound.c.

References NULL, PRESOL_DESC, PRESOL_MAXROUNDS, PRESOL_NAME, PRESOL_PRIORITY, PRESOL_TIMING, SCIP_CALL, SCIP_OKAY, SCIPincludePresolBasic(), and SCIPsetPresolCopy().

Referenced by GCGincludeMasterPlugins(), and SCIP_DECL_PRESOLCOPY().