SCIP Doxygen Documentation
Loading...
Searching...
No Matches
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-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_sepastore.h
26
* @ingroup INTERNALAPI
27
* @brief datastructures for storing separated cuts
28
* @author Tobias Achterberg
29
* @author Leona Gottwald
30
*/
31
32
/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
33
34
#ifndef __SCIP_STRUCT_SEPASTORE_H__
35
#define __SCIP_STRUCT_SEPASTORE_H__
36
37
38
#include "
scip/def.h
"
39
#include "
scip/type_lp.h
"
40
#include "
scip/type_var.h
"
41
#include "
scip/type_sepastore.h
"
42
43
#ifdef __cplusplus
44
extern
"C"
{
45
#endif
46
47
/** storage for separated cuts */
48
struct
SCIP_SepaStore
49
{
50
SCIP_ROW
**
cuts
;
/**< array with separated cuts sorted by score */
51
SCIP_RANDNUMGEN
*
randnumgen
;
/**< random number generator used for tie breaking */
52
int
cutssize
;
/**< size of cuts and score arrays */
53
int
ncuts
;
/**< number of separated cuts (max. is set->sepa_maxcuts) */
54
int
nforcedcuts
;
/**< number of forced separated cuts (first positions in cuts array) */
55
int
ncutsadded
;
/**< total number of cuts added so far */
56
int
ncutsaddedviapool
;
/**< total number of cuts added from cutpool */
57
int
ncutsaddeddirect
;
/**< total number of cuts added directly */
58
int
ncutsfoundround
;
/**< number of cuts found so far in this separation round */
59
int
ncutsapplied
;
/**< total number of cuts applied to the LP */
60
SCIP_Bool
initiallp
;
/**< is the separation storage currently being filled with the initial LP rows? */
61
SCIP_Bool
forcecuts
;
/**< should the cuts be used despite the number of cuts parameter limit? */
62
};
63
64
#ifdef __cplusplus
65
}
66
#endif
67
68
#endif
def.h
common defines and data types used in all packages of SCIP
SCIP_Bool
#define SCIP_Bool
Definition
def.h:91
SCIP_SepaStore
Definition
struct_sepastore.h:49
SCIP_SepaStore::initiallp
SCIP_Bool initiallp
Definition
struct_sepastore.h:60
SCIP_SepaStore::forcecuts
SCIP_Bool forcecuts
Definition
struct_sepastore.h:61
SCIP_SepaStore::nforcedcuts
int nforcedcuts
Definition
struct_sepastore.h:54
SCIP_SepaStore::cutssize
int cutssize
Definition
struct_sepastore.h:52
SCIP_SepaStore::ncutsadded
int ncutsadded
Definition
struct_sepastore.h:55
SCIP_SepaStore::randnumgen
SCIP_RANDNUMGEN * randnumgen
Definition
struct_sepastore.h:51
SCIP_SepaStore::ncutsfoundround
int ncutsfoundround
Definition
struct_sepastore.h:58
SCIP_SepaStore::ncutsaddedviapool
int ncutsaddedviapool
Definition
struct_sepastore.h:56
SCIP_SepaStore::ncutsaddeddirect
int ncutsaddeddirect
Definition
struct_sepastore.h:57
SCIP_SepaStore::ncuts
int ncuts
Definition
struct_sepastore.h:53
SCIP_SepaStore::cuts
SCIP_ROW ** cuts
Definition
struct_sepastore.h:50
SCIP_SepaStore::ncutsapplied
int ncutsapplied
Definition
struct_sepastore.h:59
type_lp.h
type definitions for LP management
SCIP_ROW
struct SCIP_Row SCIP_ROW
Definition
type_lp.h:104
SCIP_RANDNUMGEN
struct SCIP_RandNumGen SCIP_RANDNUMGEN
Definition
type_misc.h:126
type_sepastore.h
type definitions for storing separated cuts
type_var.h
type definitions for problem variables
struct_sepastore.h
© 2002-2025 by Zuse Institute Berlin (ZIB),
Imprint
Generated by
1.14.0