SCIP Doxygen Documentation
Loading...
Searching...
No Matches

Detailed Description

presolver that converts variables with domain [a,b] to variables with domain [0,b-a]

Author
Stefan Heinz
Michael Winkler

Definition in file presol_boundshift.c.

#include "blockmemshell/memory.h"
#include "scip/presol_boundshift.h"
#include "scip/pub_message.h"
#include "scip/pub_misc.h"
#include "scip/pub_presol.h"
#include "scip/pub_var.h"
#include "scip/scip_mem.h"
#include "scip/scip_message.h"
#include "scip/scip_numerics.h"
#include "scip/scip_param.h"
#include "scip/scip_presol.h"
#include "scip/scip_prob.h"
#include "scip/scip_var.h"
#include "scip/debug.h"
#include <string.h>

Go to the source code of this file.

Macros

#define PRESOL_NAME   "boundshift"
#define PRESOL_DESC   "converts variables with domain [a,b] to variables with domain [0,b-a]"
#define PRESOL_PRIORITY   7900000
#define PRESOL_MAXROUNDS   0
#define PRESOL_TIMING   SCIP_PRESOLTIMING_FAST /* timing of the presolver (fast, medium, or exhaustive) */
#define MAXABSBOUND   1000.0
#define DEFAULT_MAXSHIFT   SCIP_LONGINT_MAX
#define DEFAULT_FLIPPING   TRUE
#define DEFAULT_INTEGER   TRUE

Functions

static SCIP_DECL_PRESOLCOPY (presolCopyBoundshift)
static SCIP_DECL_PRESOLFREE (presolFreeBoundshift)
static SCIP_DECL_PRESOLEXEC (presolExecBoundshift)
SCIP_RETCODE SCIPincludePresolBoundshift (SCIP *scip)

Macro Definition Documentation

◆ PRESOL_NAME

◆ PRESOL_DESC

◆ PRESOL_PRIORITY

◆ PRESOL_MAXROUNDS

◆ PRESOL_TIMING

◆ MAXABSBOUND

#define MAXABSBOUND   1000.0

maximum absolute variable bounds for aggregation

Definition at line 58 of file presol_boundshift.c.

Referenced by SCIP_DECL_PRESOLEXEC().

◆ DEFAULT_MAXSHIFT

#define DEFAULT_MAXSHIFT   SCIP_LONGINT_MAX

absolute value of maximum shift

Definition at line 64 of file presol_boundshift.c.

Referenced by SCIPincludePresolBoundshift().

◆ DEFAULT_FLIPPING

#define DEFAULT_FLIPPING   TRUE

is flipping allowed?

Definition at line 65 of file presol_boundshift.c.

Referenced by SCIPincludePresolBoundshift().

◆ DEFAULT_INTEGER

#define DEFAULT_INTEGER   TRUE

are only integer ranges shifted

Definition at line 66 of file presol_boundshift.c.

Referenced by SCIPincludePresolBoundshift().

Function Documentation

◆ SCIP_DECL_PRESOLCOPY()

SCIP_DECL_PRESOLCOPY ( presolCopyBoundshift )
static

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

Definition at line 91 of file presol_boundshift.c.

References assert(), NULL, PRESOL_NAME, SCIP_CALL, SCIP_OKAY, SCIPincludePresolBoundshift(), and SCIPpresolGetName().

◆ SCIP_DECL_PRESOLFREE()

SCIP_DECL_PRESOLFREE ( presolFreeBoundshift )
static

destructor of presolver to free user data (called when SCIP is exiting) ! [SnippetPresolFreeBoundshift]

Definition at line 107 of file presol_boundshift.c.

References assert(), NULL, SCIP_OKAY, SCIPfreeBlockMemory, SCIPpresolGetData(), and SCIPpresolSetData().

◆ SCIP_DECL_PRESOLEXEC()