Scippy

GCG

Branch-and-Price & Column Generation for Everyone

clscons_gamsdomain.h
Go to the documentation of this file.
1 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
2 /* */
3 /* This file is part of the program */
4 /* GCG --- Generic Column Generation */
5 /* a Dantzig-Wolfe decomposition based extension */
6 /* of the branch-cut-and-price framework */
7 /* SCIP --- Solving Constraint Integer Programs */
8 /* */
9 /* Copyright (C) 2010-2021 Operations Research, RWTH Aachen University */
10 /* Zuse Institute Berlin (ZIB) */
11 /* */
12 /* This program is free software; you can redistribute it and/or */
13 /* modify it under the terms of the GNU Lesser General Public License */
14 /* as published by the Free Software Foundation; either version 3 */
15 /* of the License, or (at your option) any later version. */
16 /* */
17 /* This program is distributed in the hope that it will be useful, */
18 /* but WITHOUT ANY WARRANTY; without even the implied warranty of */
19 /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
20 /* GNU Lesser General Public License for more details. */
21 /* */
22 /* You should have received a copy of the GNU Lesser General Public License */
23 /* along with this program; if not, write to the Free Software */
24 /* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.*/
25 /* */
26 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
27 
28 /**@file clscons_gamsdomain.h
29  * @brief Classifies by domains from which constraints are created TODO: what is together in one class?
30  * @author Stefanie Koß
31  */
32 
33 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
34 
35 #ifndef CLSCONS_GAMSDOMAIN_H_
36 #define CLSCONS_GAMSDOMAIN_H_
37 
38 
39 #include "scip/scip.h"
40 #include "type_consclassifier.h"
41 
42 #ifdef __cplusplus
43 extern "C" {
44 #endif
45 
46 /** adds an entry to clsdata->constodomain */
47 extern
49  DEC_CONSCLASSIFIER* classifier,
50  SCIP_CONS* cons,
51  int symDomIdx[],
52  int* symDim
53 );
54 
55 /** creates the gamsdomain classifier and includes it in SCIP */
56 extern
58  SCIP* scip /**< SCIP data structure */
59  );
60 
61 #ifdef __cplusplus
62 }
63 #endif
64 
65 #endif
type definitions for constraints classifier in GCG projects
SCIP_RETCODE DECconsClassifierGamsdomainAddEntry(DEC_CONSCLASSIFIER *classifier, SCIP_CONS *cons, int symDomIdx[], int *symDim)
SCIP_RETCODE SCIPincludeConsClassifierGamsdomain(SCIP *scip)