SCIP Doxygen Documentation
Loading...
Searching...
No Matches
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-2025 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_cuts.h
26
* @ingroup PUBLICCOREAPI
27
* @brief struct definitions for cuts
28
* @author Leona Gottwald
29
*
30
*/
31
32
/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
33
34
#ifndef __SCIP_STRUCT_CUTS_H__
35
#define __SCIP_STRUCT_CUTS_H__
36
37
#include "
scip/def.h
"
38
#include "
scip/dbldblarith.h
"
39
40
struct
SCIP_AggrRow
41
{
42
SCIP_Real
*
vals
;
/**< non-zero coefficients of the cut row */
43
int
*
inds
;
/**< problem indices of variables with a non-zero coefficient in the cut row */
44
int
*
rowsinds
;
/**< lpposition of rows that have been added to the cutrow */
45
int
*
slacksign
;
/**< slacksign of rows that have been added to the cutrow */
46
SCIP_Real
*
rowweights
;
/**< weights of rows that have been added to the cutrow */
47
QUAD_MEMBER
(
SCIP_Real
rhs);
/**< right hand side of the cut row */
48
int
nnz
;
/**< number of non-zeros in the cut row */
49
int
nrows
;
/**< number of rows that have been added to the cutrow */
50
int
rowssize
;
/**< size of the row and slacksign array */
51
int
rank
;
/**< rank of the cut row */
52
SCIP_Bool
local
;
/**< is the cut row only valid locally? */
53
};
54
55
#endif
dbldblarith.h
defines macros for basic operations in double-double arithmetic giving roughly twice the precision of...
def.h
common defines and data types used in all packages of SCIP
SCIP_Bool
#define SCIP_Bool
Definition
def.h:91
SCIP_Real
#define SCIP_Real
Definition
def.h:172
SCIP_AggrRow
Definition
struct_cuts.h:41
SCIP_AggrRow::nnz
int nnz
Definition
struct_cuts.h:48
SCIP_AggrRow::vals
SCIP_Real * vals
Definition
struct_cuts.h:42
SCIP_AggrRow::inds
int * inds
Definition
struct_cuts.h:43
SCIP_AggrRow::rowweights
SCIP_Real * rowweights
Definition
struct_cuts.h:46
SCIP_AggrRow::rank
int rank
Definition
struct_cuts.h:51
SCIP_AggrRow::nrows
int nrows
Definition
struct_cuts.h:49
SCIP_AggrRow::rowsinds
int * rowsinds
Definition
struct_cuts.h:44
SCIP_AggrRow::QUAD_MEMBER
QUAD_MEMBER(SCIP_Real rhs)
SCIP_AggrRow::rowssize
int rowssize
Definition
struct_cuts.h:50
SCIP_AggrRow::local
SCIP_Bool local
Definition
struct_cuts.h:52
SCIP_AggrRow::slacksign
int * slacksign
Definition
struct_cuts.h:45
struct_cuts.h
© 2002-2025 by Zuse Institute Berlin (ZIB),
Imprint
Generated by
1.13.2