Scippy

GCG

Branch-and-Price & Column Generation for Everyone

branch_relpsprob.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 branch_relpsprob.h
30 * @ingroup BRANCHINGRULES-GCG
31 * @brief reliable pseudo costs branching rule
32 * @author Tobias Achterberg
33 * @author Gerald Gamrath
34 */
35
36/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
37
38#ifndef GCG_BRANCH_RELPSPROB_H__
39#define GCG_BRANCH_RELPSPROB_H__
40
41
42#include "scip/scip.h"
43#include "gcg/gcg.h"
44
45#ifdef __cplusplus
46extern "C" {
47#endif
48
49/** creates the reliable pseudo cost braching rule and includes it in SCIP */
52 GCG* gcg /**< GCG data structure */
53 );
54
55/** execution reliability pseudo cost probing branching with the given branching candidates */
57 GCG* gcg, /**< GCG data structure */
58 SCIP_VAR** branchcands, /**< brancing candidates */
59 SCIP_Real* branchcandssol, /**< solution value for the branching candidates */
60 int nbranchcands, /**< number of branching candidates */
61 int nvars, /**< number of variables to be watched by bdchgdata */
62 SCIP_RESULT* result, /**< pointer to the result of the execution */
63 SCIP_VAR** branchvar /**< pointer to the variable to branch on */
64 );
65
66#ifdef __cplusplus
67}
68#endif
69
70#endif
SCIP_RETCODE GCGgetRelpsprobBranchVar(GCG *gcg, SCIP_VAR **branchcands, SCIP_Real *branchcandssol, int nbranchcands, int nvars, SCIP_RESULT *result, SCIP_VAR **branchvar)
GCG_EXPORT SCIP_RETCODE GCGincludeBranchruleRelpsprob(GCG *gcg)
#define GCG_EXPORT
Definition: def.h:59
GCG interface methods.
Definition: struct_gcg.h:55
enum SCIP_Result SCIP_RESULT
enum SCIP_Retcode SCIP_RETCODE