Toggle navigation
SCIP Optimization Suite
SCIP
SoPlex
ZIMPL
UG
GCG
Documentation
SCIP 9.2.0
SCIP 8.1.0
SCIP 7.0.3
SCIP 6.0.2
SCIP 5.0.1
SCIP 4.0.1
SCIP 3.2.1
SCIP
Solving Constraint Integer Programs
struct_pricestore.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-2017 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_pricestore.h
17
* @ingroup INTERNALAPI
18
* @brief data structures for storing priced variables
19
* @author Tobias Achterberg
20
*/
21
22
/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
23
24
#ifndef __SCIP_STRUCT_PRICESTORE_H__
25
#define __SCIP_STRUCT_PRICESTORE_H__
26
27
28
#include "
scip/def.h
"
29
#include "
scip/type_clock.h
"
30
#include "
scip/type_var.h
"
31
#include "
scip/type_pricestore.h
"
32
33
#ifdef __cplusplus
34
extern
"C"
{
35
#endif
36
37
/** storage for priced variables */
38
struct
SCIP_Pricestore
39
{
40
SCIP_CLOCK
*
probpricingtime
;
/**< time needed to price existing problem variables */
41
SCIP_VAR
**
vars
;
/**< array with priced variables with violated reduced costs sorted by score */
42
SCIP_Real
*
scores
;
/**< score for each priced variable (e.g. |redcost|/no. of nonzeros) */
43
SCIP_VAR
**
bdviolvars
;
/**< variables where zero violates the bounds */
44
SCIP_Real
*
bdviolvarslb
;
/**< lower bounds of bdviolvars */
45
SCIP_Real
*
bdviolvarsub
;
/**< upper bounds of bdbiolvars */
46
int
varssize
;
/**< size of vars and score arrays */
47
int
nvars
;
/**< number of priced variables (max. is set->price_maxvars) */
48
int
bdviolvarssize
;
/**< size of bdviolvars, bdviolvarslb, and bdviolvarsub arrays */
49
int
nbdviolvars
;
/**< number of variables, where zero violates the bounds */
50
int
naddedbdviolvars
;
/**< number of bound violated variables already added to the LP */
51
int
nprobpricings
;
/**< total number of calls to problem variable pricing */
52
int
nprobvarsfound
;
/**< total number of problem variables, that were added (and possibly thrown away) */
53
int
nvarsfound
;
/**< total number of variables, that were added (and possibly thrown away) */
54
int
nvarsapplied
;
/**< total number of variables, that were added to the LP */
55
SCIP_Bool
initiallp
;
/**< is the pricing storage currently being filled with the initial LP columns? */
56
};
57
58
#ifdef __cplusplus
59
}
60
#endif
61
62
#endif
SCIP_Pricestore::nvarsfound
int nvarsfound
Definition:
struct_pricestore.h:53
SCIP_Pricestore::nbdviolvars
int nbdviolvars
Definition:
struct_pricestore.h:49
SCIP_Var
Definition:
struct_var.h:197
type_pricestore.h
type definitions for storing priced variables
SCIP_Pricestore::naddedbdviolvars
int naddedbdviolvars
Definition:
struct_pricestore.h:50
SCIP_Pricestore::vars
SCIP_VAR ** vars
Definition:
struct_pricestore.h:41
SCIP_Pricestore
Definition:
struct_pricestore.h:38
SCIP_Pricestore::probpricingtime
SCIP_CLOCK * probpricingtime
Definition:
struct_pricestore.h:40
type_var.h
type definitions for problem variables
SCIP_Pricestore::nvarsapplied
int nvarsapplied
Definition:
struct_pricestore.h:54
SCIP_Bool
#define SCIP_Bool
Definition:
def.h:61
SCIP_Pricestore::scores
SCIP_Real * scores
Definition:
struct_pricestore.h:42
SCIP_Pricestore::bdviolvarslb
SCIP_Real * bdviolvarslb
Definition:
struct_pricestore.h:44
SCIP_Pricestore::varssize
int varssize
Definition:
struct_pricestore.h:46
SCIP_Pricestore::nvars
int nvars
Definition:
struct_pricestore.h:47
SCIP_Pricestore::nprobvarsfound
int nprobvarsfound
Definition:
struct_pricestore.h:52
type_clock.h
type definitions for clocks and timing issues
SCIP_Pricestore::bdviolvarssize
int bdviolvarssize
Definition:
struct_pricestore.h:48
SCIP_Pricestore::bdviolvars
SCIP_VAR ** bdviolvars
Definition:
struct_pricestore.h:43
SCIP_Real
#define SCIP_Real
Definition:
def.h:145
SCIP_Pricestore::bdviolvarsub
SCIP_Real * bdviolvarsub
Definition:
struct_pricestore.h:45
def.h
common defines and data types used in all packages of SCIP
SCIP_Pricestore::nprobpricings
int nprobpricings
Definition:
struct_pricestore.h:51
SCIP_Clock
Definition:
struct_clock.h:55
SCIP_Pricestore::initiallp
SCIP_Bool initiallp
Definition:
struct_pricestore.h:55