Scippy

SCIP

Solving Constraint Integer Programs

type_timing.h
Go to the documentation of this file.
1 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
2 /* */
3 /* This file is part of the program and library */
4 /* SCIP --- Solving Constraint Integer Programs */
5 /* */
6 /* Copyright (C) 2002-2014 Konrad-Zuse-Zentrum */
7 /* fuer Informationstechnik Berlin */
8 /* */
9 /* SCIP is distributed under the terms of the ZIB Academic License. */
10 /* */
11 /* You should have received a copy of the ZIB Academic License */
12 /* along with SCIP; see the file COPYING. If not email to scip@zib.de. */
13 /* */
14 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
15 
16 /**@file type_timing.h
17  * @brief timing definitions for SCIP
18  * @author Timo Berthold
19  * @author Matthias Miltenberger
20  * @author Michael Winkler
21  */
22 
23 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
24 
25 #ifndef __SCIP_TYPE_TIMING_H__
26 #define __SCIP_TYPE_TIMING_H__
27 
28 #include "scip/def.h"
29 #include "scip/type_result.h"
30 #include "scip/type_scip.h"
31 
32 #ifdef __cplusplus
33 extern "C" {
34 #endif
35 
36 
37 /** propagation execution timing flags */
38 #define SCIP_PROPTIMING_BEFORELP 0x001u /**< call propagator before LP is solved */
39 #define SCIP_PROPTIMING_DURINGLPLOOP 0x002u /**< call propagator after each LP solving during cut-and-price loop */
40 #define SCIP_PROPTIMING_AFTERLPLOOP 0x004u /**< call propagator after the cut-and-price loop was finished */
41 #define SCIP_PROPTIMING_AFTERLPNODE 0x008u /**< call propagator after the processing of a node with solved LP was
42  * finished */
43 
44 /** call propagator regardless of current status */
45 #define SCIP_PROPTIMING_ALWAYS (SCIP_PROPTIMING_BEFORELP | SCIP_PROPTIMING_DURINGLPLOOP | SCIP_PROPTIMING_AFTERLPLOOP | SCIP_PROPTIMING_AFTERLPNODE )
46 
47 typedef unsigned int SCIP_PROPTIMING;
48 
49 
50 /** heuristics execution timing flags */
51 #define SCIP_HEURTIMING_BEFORENODE 0x001u /**< call heuristic before the processing of the node starts */
52 #define SCIP_HEURTIMING_DURINGLPLOOP 0x002u /**< call heuristic after each LP solving during cut-and-price loop */
53 #define SCIP_HEURTIMING_AFTERLPLOOP 0x004u /**< call heuristic after the cut-and-price loop was finished */
54 #define SCIP_HEURTIMING_AFTERLPNODE 0x008u /**< call heuristic after the processing of a node with solved LP was
55  * finished */
56 #define SCIP_HEURTIMING_AFTERPSEUDONODE 0x010u /**< call heuristic after the processing of a node without solved LP was
57  * finished */
58 #define SCIP_HEURTIMING_AFTERLPPLUNGE 0x020u /**< call heuristic after the processing of the last node in the current
59  * plunge was finished, and only if the LP was solved for this node */
60 #define SCIP_HEURTIMING_AFTERPSEUDOPLUNGE 0x040u /**< call heuristic after the processing of the last node in the current
61  * plunge was finished, and only if the LP was not solved for this node */
62 #define SCIP_HEURTIMING_DURINGPRICINGLOOP 0x080u /**< call heuristic during pricing loop */
63 #define SCIP_HEURTIMING_BEFOREPRESOL 0x100u /**< call heuristic before presolving */
64 #define SCIP_HEURTIMING_DURINGPRESOLLOOP 0x200u /**< call heuristic during presolving loop */
65 #define SCIP_HEURTIMING_AFTERPROPLOOP 0x400u /**< call heuristic after propagation which is performed before solving the LP */
66 /* it turned out that a heuristic timing DURINGPROPLOOP causes severe troubles with the resolving of propagations */
67 
68 /** call heuristic after the processing of a node was finished */
69 #define SCIP_HEURTIMING_AFTERNODE (SCIP_HEURTIMING_AFTERLPNODE | SCIP_HEURTIMING_AFTERPSEUDONODE)
70 
71 /** call heuristic after the processing of the last node in the current plunge was finished */
72 #define SCIP_HEURTIMING_AFTERPLUNGE (SCIP_HEURTIMING_AFTERLPPLUNGE | SCIP_HEURTIMING_AFTERPSEUDOPLUNGE)
73 
74 typedef unsigned int SCIP_HEURTIMING;
75 
76 #ifdef __cplusplus
77 }
78 #endif
79 
80 #endif
unsigned int SCIP_HEURTIMING
Definition: type_timing.h:79
type definitions for SCIP's main datastructure
unsigned int SCIP_PROPTIMING
Definition: type_timing.h:48
result codes for SCIP callback methods
common defines and data types used in all packages of SCIP