1    	/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
2    	/*                                                                           */
3    	/*                  This file is part of the program and library             */
4    	/*         SCIP --- Solving Constraint Integer Programs                      */
5    	/*                                                                           */
6    	/*  Copyright (c) 2002-2023 Zuse Institute Berlin (ZIB)                      */
7    	/*                                                                           */
8    	/*  Licensed under the Apache License, Version 2.0 (the "License");          */
9    	/*  you may not use this file except in compliance with the License.         */
10   	/*  You may obtain a copy of the License at                                  */
11   	/*                                                                           */
12   	/*      http://www.apache.org/licenses/LICENSE-2.0                           */
13   	/*                                                                           */
14   	/*  Unless required by applicable law or agreed to in writing, software      */
15   	/*  distributed under the License is distributed on an "AS IS" BASIS,        */
16   	/*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */
17   	/*  See the License for the specific language governing permissions and      */
18   	/*  limitations under the License.                                           */
19   	/*                                                                           */
20   	/*  You should have received a copy of the Apache-2.0 license                */
21   	/*  along with SCIP; see the file LICENSE. If not visit scipopt.org.         */
22   	/*                                                                           */
23   	/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
24   	
25   	/**@file   struct_cutsel.h
26   	 * @ingroup INTERNALAPI
27   	 * @brief  data structures for cut selectors
28   	 * @author Felipe Serrano
29   	 * @author Mark Turner
30   	 */
31   	
32   	/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
33   	
34   	#ifndef __SCIP_STRUCT_CUTSEL_H__
35   	#define __SCIP_STRUCT_CUTSEL_H__
36   	
37   	
38   	#include "scip/def.h"
39   	#include "scip/type_cutsel.h"
40   	
41   	#ifdef __cplusplus
42   	extern "C" {
43   	#endif
44   	
45   	/** cut selector */
46   	struct SCIP_Cutsel
47   	{
48   	   char*                 name;               /**< name of cut selector */
49   	   char*                 desc;               /**< description of cut selector */
50   	   SCIP_DECL_CUTSELCOPY ((*cutselcopy));     /**< copy method of cut selector or NULL if you don't want to copy your plugin into sub-SCIPs */
51   	   SCIP_DECL_CUTSELFREE ((*cutselfree));     /**< destructor of cut selector */
52   	   SCIP_DECL_CUTSELINIT ((*cutselinit));     /**< initialize cut selector */
53   	   SCIP_DECL_CUTSELEXIT ((*cutselexit));     /**< deinitialize cut selector */
54   	   SCIP_DECL_CUTSELINITSOL((*cutselinitsol));/**< solving process initialization method of cut selector */
55   	   SCIP_DECL_CUTSELEXITSOL((*cutselexitsol));/**< solving process deinitialization method of cut selector */
56   	   SCIP_DECL_CUTSELSELECT((*cutselselect));  /**< cut selection method */
57   	   SCIP_CLOCK*           setuptime;          /**< time spend for setting up this cut selector for the next stages */
58   	   SCIP_CLOCK*           cutseltime;         /**< cut selector execution time */
59   	   SCIP_CUTSELDATA*      cutseldata;         /**< cut selector data */
60   	   int                   priority;           /**< priority of the cut selector */
61   	   SCIP_Bool             initialized;        /**< is cut selector initialized? */
62   	   SCIP_Longint          ncalls;             /**< number of times, this cutselector was called */
63   	   SCIP_Longint          nrootcalls;         /**< number of times, this cutselector was called */
64   	   SCIP_Longint          nrootcutsselected;  /**< number of cuts selected at the root */
65   	   SCIP_Longint          nrootcutsforced;    /**< number of forced cuts at the root */
66   	   SCIP_Longint          nrootcutsfiltered;  /**< number of cuts filtered at the root */
67   	   SCIP_Longint          nlocalcutsselected; /**< number of local cuts selected */
68   	   SCIP_Longint          nlocalcutsforced;   /**< number of forced local cuts */
69   	   SCIP_Longint          nlocalcutsfiltered; /**< number of local cuts filtered */
70   	};
71   	
72   	#ifdef __cplusplus
73   	}
74   	#endif
75   	
76   	#endif
77