Scippy

SCIP

Solving Constraint Integer Programs

struct_cuts.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-2020 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 struct_cuts.h
17  * @ingroup PUBLICCOREAPI
18  * @brief struct definitions for cuts
19  * @author Leona Gottwald
20  *
21  */
22 
23 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
24 
25 #ifndef __SCIP_STRUCT_CUTS_H__
26 #define __SCIP_STRUCT_CUTS_H__
27 
28 #include "scip/def.h"
29 #include "scip/dbldblarith.h"
30 
32 {
33  SCIP_Real* vals; /**< non-zero coefficients of the cut row */
34  int* inds; /**< problem indices of variables with a non-zero coefficient in the cut row */
35  int* rowsinds; /**< lpposition of rows that have been added to the cutrow */
36  int* slacksign; /**< slacksign of rows that have been added to the cutrow */
37  SCIP_Real* rowweights; /**< weights of rows that have been added to the cutrow */
38  QUAD_MEMBER(SCIP_Real rhs); /**< right hand side of the cut row */
39  int nnz; /**< number of non-zeros in the cut row */
40  int nrows; /**< number of rows that have been added to the cutrow */
41  int rowssize; /**< size of the row and slacksign array */
42  int rank; /**< rank of the cut row */
43  SCIP_Bool local; /**< is the cut row only valid locally? */
44 };
45 
46 #endif
QUAD_MEMBER(SCIP_Real rhs)
int * slacksign
Definition: struct_cuts.h:36
defines macros for basic operations in double-double arithmetic giving roughly twice the precision of...
int * rowsinds
Definition: struct_cuts.h:35
SCIP_Real * rowweights
Definition: struct_cuts.h:37
#define SCIP_Bool
Definition: def.h:70
SCIP_Real * vals
Definition: struct_cuts.h:33
#define SCIP_Real
Definition: def.h:163
common defines and data types used in all packages of SCIP
SCIP_Bool local
Definition: struct_cuts.h:43