Scippy

SCIP

Solving Constraint Integer Programs

pricer_binpacking.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 pricer_binpacking.h
17  * @brief Binpacking variable pricer
18  * @author Timo Berthold
19  * @author Stefan Heinz
20  *
21  * This file implements the variable pricer which check if variables exist with negative reduced cost. See for more
22  * details \ref BINPACKING_PRICER.
23  */
24 
25 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
26 
27 #ifndef __BIN_PRICER_BINPACKING__
28 #define __BIN_PRICER_BINPACKING__
29 
30 #include "scip/scip.h"
31 
32 
33 /** creates the binpacking variable pricer and includes it in SCIP */
35  SCIP* scip /**< SCIP data structure */
36  );
37 
38 /** added problem specific data to pricer and activates pricer */
40  SCIP* scip, /**< SCIP data structure */
41  SCIP_CONS** conss, /**< set covering constraints for the items */
42  SCIP_Longint* weights, /**< weight of the items */
43  int* ids, /**< array of item ids */
44  int nitems, /**< number of items to be packed */
45  SCIP_Longint capacity /**< capacity of the bins */
46  );
47 
48 #endif
SCIP_RETCODE SCIPpricerBinpackingActivate(SCIP *scip, SCIP_CONS **conss, SCIP_Longint *weights, int *ids, int nitems, SCIP_Longint capacity)
SCIP_RETCODE SCIPincludePricerBinpacking(SCIP *scip)
enum SCIP_Retcode SCIP_RETCODE
Definition: type_retcode.h:54
#define SCIP_Longint
Definition: def.h:148
SCIP callable library.