Scippy

SCIP

Solving Constraint Integer Programs

heur_trivial.c File Reference

Detailed Description

trivial primal heuristic

Author
Timo Berthold

Definition in file heur_trivial.c.

#include "scip/heur_trivial.h"
#include "scip/pub_heur.h"
#include "scip/pub_message.h"
#include "scip/pub_var.h"
#include "scip/scip_heur.h"
#include "scip/scip_message.h"
#include "scip/scip_numerics.h"
#include "scip/scip_prob.h"
#include "scip/scip_sol.h"
#include "scip/scip_solvingstats.h"
#include <string.h>

Go to the source code of this file.

Macros

#define HEUR_NAME   "trivial"
 
#define HEUR_DESC   "start heuristic which tries some trivial solutions"
 
#define HEUR_DISPCHAR   't'
 
#define HEUR_PRIORITY   10000
 
#define HEUR_FREQ   0
 
#define HEUR_FREQOFS   0
 
#define HEUR_MAXDEPTH   -1
 
#define HEUR_TIMING   SCIP_HEURTIMING_BEFOREPRESOL | SCIP_HEURTIMING_BEFORENODE
 
#define HEUR_USESSUBSCIP   FALSE
 

Functions

static SCIP_DECL_HEURCOPY (heurCopyTrivial)
 
static SCIP_DECL_HEUREXEC (heurExecTrivial)
 
SCIP_RETCODE SCIPincludeHeurTrivial (SCIP *scip)
 

Macro Definition Documentation

◆ HEUR_NAME

#define HEUR_NAME   "trivial"

Definition at line 35 of file heur_trivial.c.

Referenced by SCIP_DECL_HEURCOPY(), and SCIPincludeHeurTrivial().

◆ HEUR_DESC

#define HEUR_DESC   "start heuristic which tries some trivial solutions"

Definition at line 36 of file heur_trivial.c.

Referenced by SCIPincludeHeurTrivial().

◆ HEUR_DISPCHAR

#define HEUR_DISPCHAR   't'

Definition at line 37 of file heur_trivial.c.

Referenced by SCIPincludeHeurTrivial().

◆ HEUR_PRIORITY

#define HEUR_PRIORITY   10000

Definition at line 38 of file heur_trivial.c.

Referenced by SCIPincludeHeurTrivial().

◆ HEUR_FREQ

#define HEUR_FREQ   0

Definition at line 39 of file heur_trivial.c.

Referenced by SCIPincludeHeurTrivial().

◆ HEUR_FREQOFS

#define HEUR_FREQOFS   0

Definition at line 40 of file heur_trivial.c.

Referenced by SCIPincludeHeurTrivial().

◆ HEUR_MAXDEPTH

#define HEUR_MAXDEPTH   -1

Definition at line 41 of file heur_trivial.c.

Referenced by SCIPincludeHeurTrivial().

◆ HEUR_TIMING

Definition at line 42 of file heur_trivial.c.

Referenced by SCIPincludeHeurTrivial().

◆ HEUR_USESSUBSCIP

#define HEUR_USESSUBSCIP   FALSE

does the heuristic use a secondary SCIP instance?

Definition at line 43 of file heur_trivial.c.

Referenced by SCIPincludeHeurTrivial().

Function Documentation

◆ SCIP_DECL_HEURCOPY()

static SCIP_DECL_HEURCOPY ( heurCopyTrivial  )
static

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

Definition at line 51 of file heur_trivial.c.

References HEUR_NAME, NULL, SCIP_CALL, SCIP_OKAY, SCIPheurGetName(), and SCIPincludeHeurTrivial().

◆ SCIP_DECL_HEUREXEC()