Scippy

GCG

Branch-and-Price & Column Generation for Everyone

pub_clscons.h
Go to the documentation of this file.
1/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
2/* */
3/* This file is part of the program and library */
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-2026 Operations Research, RWTH Aachen University */
10/* Zuse Institute Berlin (ZIB) */
11/* */
12/* Licensed under the Apache License, Version 2.0 (the "License"); */
13/* you may not use this file except in compliance with the License. */
14/* You may obtain a copy of the License at */
15/* */
16/* http://www.apache.org/licenses/LICENSE-2.0 */
17/* */
18/* Unless required by applicable law or agreed to in writing, software */
19/* distributed under the License is distributed on an "AS IS" BASIS, */
20/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */
21/* See the License for the specific language governing permissions and */
22/* limitations under the License. */
23/* */
24/* You should have received a copy of the Apache-2.0 license */
25/* along with GCG; see the file LICENSE. If not visit gcg.or.rwth-aachen.de.*/
26/* */
27/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
28
29/**@file pub_clscons.h
30 * @ingroup PUBLICCOREAPI
31 * @brief public methods for constraint classifiers
32 * @author Jurgen Lentz
33 */
34
35/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
36
37#ifndef __GCG_PUB_CLSCONS_H__
38#define __GCG_PUB_CLSCONS_H__
39
40
41
43#include "gcg/gcg.h"
44
45#ifdef __cplusplus
46extern "C" {
47#endif
48
49/**@addtogroup PublicConsClassifierMethods
50 *
51 * @{
52 */
53
54/** gets user data of constraint classifier */
57 GCG_CONSCLASSIFIER* consClassifier /**< constraint classifier data structure */
58 );
59
60/** sets user data of constraint classifier; user has to free old data in advance! */
63 GCG_CONSCLASSIFIER* consClassifier, /**< constraint classifier data structure */
64 GCG_CLASSIFIERDATA* clsdata /**< new constraint classifier user data */
65 );
66
67/** gets name of constraint classifier */
69const char* GCGconsClassifierGetName(
70 GCG_CONSCLASSIFIER* consClassifier /**< constraint classifier data structure */
71 );
72
73/** gets priority of constraint classifier */
76 GCG_CONSCLASSIFIER* consClassifier /**< constraint classifier data structure */
77 );
78
79/** returns True iff constraint classifier is enabled */
82 GCG_CONSCLASSIFIER* consClassifier /**< constraint classifier data structure */
83 );
84
85/** gets description of constraint classifier */
87const char* GCGconsClassifierGetDesc(
88 GCG_CONSCLASSIFIER* consClassifier /**< constraint classifier data structure */
89 );
90
91/** @} */
92
93#ifdef __cplusplus
94}
95#endif
96
97#endif
#define GCG_EXPORT
Definition: def.h:59
#define SCIP_Bool
GCG interface methods.
GCG_EXPORT void GCGconsClassifierSetData(GCG_CONSCLASSIFIER *consClassifier, GCG_CLASSIFIERDATA *clsdata)
Definition: clscons.c:56
GCG_EXPORT GCG_CLASSIFIERDATA * GCGconsClassifierGetData(GCG_CONSCLASSIFIER *consClassifier)
Definition: clscons.c:46
GCG_EXPORT const char * GCGconsClassifierGetName(GCG_CONSCLASSIFIER *consClassifier)
Definition: clscons.c:67
GCG_EXPORT const char * GCGconsClassifierGetDesc(GCG_CONSCLASSIFIER *consClassifier)
Definition: clscons.c:97
GCG_EXPORT SCIP_Bool GCGconsClassifierIsEnabled(GCG_CONSCLASSIFIER *consClassifier)
Definition: clscons.c:87
GCG_EXPORT int GCGconsClassifierGetPriority(GCG_CONSCLASSIFIER *consClassifier)
Definition: clscons.c:77
type definitions for constraints classifier in GCG projects