Scippy

SCIP

Solving Constraint Integer Programs

struct_sepastore.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-2018 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 struct_sepastore.h
17  * @ingroup INTERNALAPI
18  * @brief datastructures for storing separated cuts
19  * @author Tobias Achterberg
20  */
21 
22 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
23 
24 #ifndef __SCIP_STRUCT_SEPASTORE_H__
25 #define __SCIP_STRUCT_SEPASTORE_H__
26 
27 
28 #include "scip/def.h"
29 #include "scip/type_lp.h"
30 #include "scip/type_var.h"
31 #include "scip/type_sepastore.h"
32 
33 #ifdef __cplusplus
34 extern "C" {
35 #endif
36 
37 /** storage for separated cuts */
39 {
40  SCIP_ROW** cuts; /**< array with separated cuts sorted by score */
41  SCIP_Real* scores; /**< score for each separated cut: weighted sum of efficacy and objective parallelism and integral support */
42  int cutssize; /**< size of cuts and score arrays */
43  int ncuts; /**< number of separated cuts (max. is set->sepa_maxcuts) */
44  int nforcedcuts; /**< number of forced separated cuts (first positions in cuts array) */
45  int ncutsfound; /**< total number of cuts found so far */
46  int ncutsfoundround; /**< number of cuts found so far in this separation round */
47  int ncutsapplied; /**< total number of cuts applied to the LPs */
48  SCIP_Bool initiallp; /**< is the separation storage currently being filled with the initial LP rows? */
49  SCIP_Bool forcecuts; /**< should the cuts be used despite the number of cuts parameter limit? */
50 };
51 
52 #ifdef __cplusplus
53 }
54 #endif
55 
56 #endif
SCIP_Real * scores
type definitions for LP management
SCIP_ROW ** cuts
type definitions for problem variables
type definitions for storing separated cuts
#define SCIP_Bool
Definition: def.h:61
#define SCIP_Real
Definition: def.h:149
SCIP_Bool initiallp
common defines and data types used in all packages of SCIP
SCIP_Bool forcecuts