SCIP Doxygen Documentation
 
Loading...
Searching...
No Matches
pub_conflict.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-2023 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 pub_conflict.h
26 * @ingroup PUBLICCOREAPI
27 * @brief public methods for conflict analysis handlers
28 * @author Tobias Achterberg
29 */
30
31/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
32
33#ifndef __SCIP_PUB_CONFLICT_H__
34#define __SCIP_PUB_CONFLICT_H__
35
36
37
38#include "scip/def.h"
39#include "scip/type_misc.h"
40#include "scip/type_conflict.h"
41
42#ifdef __cplusplus
43extern "C" {
44#endif
45
46/**@addtogroup PublicConflictMethods
47 *
48 * @{
49 */
50
51/** compares two conflict handlers w. r. to their priority */
54
55/** comparison method for sorting conflict handler w.r.t. to their name */
58
59/** gets user data of conflict handler */
62 SCIP_CONFLICTHDLR* conflicthdlr /**< conflict handler */
63 );
64
65/** sets user data of conflict handler; user has to free old data in advance! */
68 SCIP_CONFLICTHDLR* conflicthdlr, /**< conflict handler */
69 SCIP_CONFLICTHDLRDATA* conflicthdlrdata /**< new conflict handler user data */
70 );
71
72/** gets name of conflict handler */
74const char* SCIPconflicthdlrGetName(
75 SCIP_CONFLICTHDLR* conflicthdlr /**< conflict handler */
76 );
77
78/** gets description of conflict handler */
80const char* SCIPconflicthdlrGetDesc(
81 SCIP_CONFLICTHDLR* conflicthdlr /**< conflict handler */
82 );
83
84/** gets priority of conflict handler */
87 SCIP_CONFLICTHDLR* conflicthdlr /**< conflict handler */
88 );
89
90/** is conflict handler initialized? */
93 SCIP_CONFLICTHDLR* conflicthdlr /**< conflict handler */
94 );
95
96/** gets time in seconds used in this conflict handler for setting up for next stages */
99 SCIP_CONFLICTHDLR* conflicthdlr /**< conflict handler */
100 );
101
102/** gets time in seconds used in this conflict handler */
105 SCIP_CONFLICTHDLR* conflicthdlr /**< conflict handler */
106 );
107
108/** @} */
109
110#ifdef __cplusplus
111}
112#endif
113
114#endif
common defines and data types used in all packages of SCIP
SCIP_CONFLICTHDLRDATA * SCIPconflicthdlrGetData(SCIP_CONFLICTHDLR *conflicthdlr)
Definition conflict.c:685
int SCIPconflicthdlrGetPriority(SCIP_CONFLICTHDLR *conflicthdlr)
Definition conflict.c:792
const char * SCIPconflicthdlrGetName(SCIP_CONFLICTHDLR *conflicthdlr)
Definition conflict.c:772
void SCIPconflicthdlrSetData(SCIP_CONFLICTHDLR *conflicthdlr, SCIP_CONFLICTHDLRDATA *conflicthdlrdata)
Definition conflict.c:695
SCIP_Bool SCIPconflicthdlrIsInitialized(SCIP_CONFLICTHDLR *conflicthdlr)
Definition conflict.c:816
SCIP_Real SCIPconflicthdlrGetTime(SCIP_CONFLICTHDLR *conflicthdlr)
Definition conflict.c:848
SCIP_Real SCIPconflicthdlrGetSetupTime(SCIP_CONFLICTHDLR *conflicthdlr)
Definition conflict.c:838
const char * SCIPconflicthdlrGetDesc(SCIP_CONFLICTHDLR *conflicthdlr)
Definition conflict.c:782
type definitions for conflict analysis
struct SCIP_ConflicthdlrData SCIP_CONFLICTHDLRDATA
type definitions for miscellaneous datastructures
#define SCIP_DECL_SORTPTRCOMP(x)
Definition type_misc.h:188