SCIP-SDP  4.0.0
Macros | Functions
heur_sdpfracround.c File Reference

fractional rounding heuristic for SDPs More...

Go to the source code of this file.

Macros

#define HEUR_NAME   "sdpfracround"
 
#define HEUR_DESC   "fractional rounding heuristic for SDPs"
 
#define HEUR_DISPCHAR   '^'
 
#define HEUR_PRIORITY   -1000500
 
#define HEUR_FREQ   1
 
#define HEUR_FREQOFS   0
 
#define HEUR_MAXDEPTH   -1
 
#define HEUR_TIMING   SCIP_HEURTIMING_AFTERNODE
 
#define HEUR_USESSUBSCIP   FALSE /* does the heuristic use a secondary SCIP instance? */
 
#define DEFAULT_RUNFORLP   FALSE
 

Functions

static SCIP_DECL_HEURCOPY (heurCopySdpfracround)
 
static SCIP_DECL_HEURFREE (heurFreeSdpfracround)
 
static SCIP_DECL_HEURINIT (heurInitSdpfracround)
 
static SCIP_DECL_HEUREXIT (heurExitSdpfracround)
 
static SCIP_DECL_HEUREXEC (heurExecSdpfracround)
 
SCIP_RETCODE SCIPincludeHeurSdpFracround (SCIP *scip)
 

Detailed Description

fractional rounding heuristic for SDPs

Author
Marc Pfetsch

Definition in file heur_sdpfracround.c.

Macro Definition Documentation

#define HEUR_NAME   "sdpfracround"
#define HEUR_DESC   "fractional rounding heuristic for SDPs"

Definition at line 50 of file heur_sdpfracround.c.

Referenced by SCIPincludeHeurSdpFracround().

#define HEUR_DISPCHAR   '^'

Definition at line 51 of file heur_sdpfracround.c.

Referenced by SCIPincludeHeurSdpFracround().

#define HEUR_PRIORITY   -1000500

Definition at line 52 of file heur_sdpfracround.c.

Referenced by SCIPincludeHeurSdpFracround().

#define HEUR_FREQ   1

Definition at line 53 of file heur_sdpfracround.c.

Referenced by SCIPincludeHeurSdpFracround().

#define HEUR_FREQOFS   0

Definition at line 54 of file heur_sdpfracround.c.

Referenced by SCIPincludeHeurSdpFracround().

#define HEUR_MAXDEPTH   -1

Definition at line 55 of file heur_sdpfracround.c.

Referenced by SCIPincludeHeurSdpFracround().

#define HEUR_TIMING   SCIP_HEURTIMING_AFTERNODE

Definition at line 56 of file heur_sdpfracround.c.

Referenced by SCIPincludeHeurSdpFracround().

#define HEUR_USESSUBSCIP   FALSE /* does the heuristic use a secondary SCIP instance? */

Definition at line 57 of file heur_sdpfracround.c.

Referenced by SCIPincludeHeurSdpFracround().

#define DEFAULT_RUNFORLP   FALSE

Should fractional rounding be applied if we are solving LPs?

Definition at line 64 of file heur_sdpfracround.c.

Referenced by SCIPincludeHeurSdpFracround().

Function Documentation

static SCIP_DECL_HEURCOPY ( heurCopySdpfracround  )
static

copy method for primal heuristic plugins (called when SCIP copies plugins)

Definition at line 80 of file heur_sdpfracround.c.

References HEUR_NAME, and SCIPincludeHeurSdpFracround().

static SCIP_DECL_HEURFREE ( heurFreeSdpfracround  )
static

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

Definition at line 94 of file heur_sdpfracround.c.

References HEUR_NAME.

static SCIP_DECL_HEURINIT ( heurInitSdpfracround  )
static

initialization method of primal heuristic (called after problem was transformed)

Definition at line 114 of file heur_sdpfracround.c.

References HEUR_NAME.

static SCIP_DECL_HEUREXIT ( heurExitSdpfracround  )
static

deinitialization method of primal heuristic (called before transformed problem is freed)

Definition at line 133 of file heur_sdpfracround.c.

References HEUR_NAME.

static SCIP_DECL_HEUREXEC ( heurExecSdpfracround  )
static

execution method of primal heuristic

Definition at line 152 of file heur_sdpfracround.c.

References HEUR_NAME, SCIPrelaxSdpIsFeasible(), and SCIPrelaxSdpSolvedProbing().

SCIP_RETCODE SCIPincludeHeurSdpFracround ( SCIP *  scip)

creates the fractional rounding heuristic for SDPs and includes it in SCIP

Parameters
scipSCIP data structure

Definition at line 475 of file heur_sdpfracround.c.

References DEFAULT_RUNFORLP, HEUR_DESC, HEUR_DISPCHAR, HEUR_FREQ, HEUR_FREQOFS, HEUR_MAXDEPTH, HEUR_NAME, HEUR_PRIORITY, HEUR_TIMING, and HEUR_USESSUBSCIP.

Referenced by SCIP_DECL_HEURCOPY(), and SCIPSDPincludeDefaultPlugins().