1 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
2 /*                                                                           */
3 /*                  This file is part of the program and library             */
4 /*         SCIP --- Solving Constraint Integer Programs                      */
5 /*                                                                           */
6 /*    Copyright (C) 2002-2021 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 visit scipopt.org.         */
13 /*                                                                           */
14 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
15 
16 /**@file   scip_debug.h
17  * @ingroup PUBLICCOREAPI
18  * @brief  public methods for debugging
19  * @author Tobias Achterberg
20  * @author Timo Berthold
21  * @author Thorsten Koch
22  * @author Alexander Martin
23  * @author Marc Pfetsch
24  * @author Kati Wolter
25  * @author Gregor Hendel
26  * @author Leona Gottwald
27  */
28 
29 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
30 
31 #ifndef __SCIP_SCIP_DEBUG_H__
32 #define __SCIP_SCIP_DEBUG_H__
33 
34 
35 #include "scip/def.h"
36 #include "scip/type_scip.h"
37 
38 #ifdef __cplusplus
39 extern "C" {
40 #endif
41 
42 /**@addtogroup DebugSolutionMethods
43  *
44  * @{
45  */
46 
47 /** enable debug solution mechanism
48  *
49  *  the debug solution mechanism allows to trace back the invalidation of
50  *  a debug solution during the solution process of SCIP. It must be explicitly
51  *  enabled for the SCIP data structure.
52  *
53  *  @see debug.h for more information on debug solution mechanism
54  */
55 SCIP_EXPORT
56 void SCIPenableDebugSol(
57    SCIP*                 scip                /**< SCIP data structure */
58    );
59 
60 /** disable solution debugging mechanism
61  *
62  *  @see debug.h for more information on debug solution mechanism
63  */
64 SCIP_EXPORT
65 void SCIPdisableDebugSol(
66    SCIP*                 scip                /**< SCIP data structure */
67    );
68 
69 /**@} */
70 
71 #ifdef __cplusplus
72 }
73 #endif
74 
75 #endif
76