GCG 4.1.1 (dev)

Generic Column Generation

Loading...
Searching...
No Matches
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

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.

Referenced by GCGincludePresolRoundbound(), and SCIP_DECL_PRESOLCOPY().

◆ PRESOL_DESC

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

Definition at line 44 of file presol_roundbound.c.

Referenced by GCGincludePresolRoundbound().

◆ 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.

Referenced by GCGincludePresolRoundbound().

◆ 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.

Referenced by GCGincludePresolRoundbound().

◆ PRESOL_TIMING

#define PRESOL_TIMING   SCIP_PRESOLTIMING_FAST

Definition at line 47 of file presol_roundbound.c.

Referenced by GCGincludePresolRoundbound().

Function Documentation

◆ SCIP_DECL_PRESOLCOPY()

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 assert(), GCGincludePresolRoundbound(), PRESOL_NAME, SCIP_CALL(), and SCIP_DECL_PRESOLCOPY().

Referenced by SCIP_DECL_PRESOLCOPY().

◆ SCIP_DECL_PRESOLEXEC()

SCIP_DECL_PRESOLEXEC ( presolExecRoundbound )
static

presolving execution method

Definition at line 75 of file presol_roundbound.c.

References assert(), nvars, result, SCIP_CALL(), SCIP_DECL_PRESOLEXEC(), SCIPdebugMessage(), and vars.

Referenced by 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 assert(), GCGincludePresolRoundbound(), PRESOL_DESC, PRESOL_MAXROUNDS, PRESOL_NAME, PRESOL_PRIORITY, PRESOL_TIMING, and SCIP_CALL().

Referenced by GCGincludeMasterPlugins(), GCGincludePresolRoundbound(), and SCIP_DECL_PRESOLCOPY().