1 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ 2 /* */ 3 /* This file is part of the program and library */ 4 /* SCIP --- Solving Constraint Integer Programs */ 5 /* */ 6 /* Copyright 2002-2023 Zuse Institute Berlin */ 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 branch_gomory.h 26 * @ingroup BRANCHINGRULES 27 * @brief Gomory cut branching rule 28 * @author Mark Turner 29 * 30 * The approach is based on the following papers. 31 * 32 * M. Turner, T. Berthold, M. Besancon, T. Koch@n 33 * Branching via Cutting Plane Selection: Improving Hybrid Branching,@n 34 * arXiv preprint arXiv:2306.06050 35 * 36 * The Gomory cut branching rule selects a candidate integer variable $j$ with a fractional solution value. 37 * Each candidate variable must be a basic variable in the LP Tableau (if not then it would have to be at its bound 38 * that is integer-valued) 39 * This branching rule calculates the GMI cut for the aggregated row of the LP tableau associated with the 40 * candidate variable. 41 * The generated cut is then scored using a weighted sum rule. 42 * The branching candidate whose cut is highest scoring is then selected. 43 * For more details on the method, see: 44 * 45 * @par 46 * Mark Turner, Timo Berthold, Mathieu Besançon, Thorsten Koch@n 47 * Branching via Cutting Plane Selection: Improving Hybrid Branching@n 48 * 2023@n 49 * 50 */ 51 52 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/ 53 54 #ifndef __SCIP_BRANCH_GOMORY_H__ 55 #define __SCIP_BRANCH_GOMORY_H__ 56 57 58 #include "scip/def.h" 59 #include "scip/type_retcode.h" 60 #include "scip/type_scip.h" 61 62 #ifdef __cplusplus 63 extern "C" { 64 #endif 65 66 /** creates the Gomory cut branching rule and includes it in SCIP 67 * 68 * @ingroup BranchingRuleIncludes 69 */ 70 SCIP_EXPORT 71 SCIP_RETCODE SCIPincludeBranchruleGomory( 72 SCIP* scip /**< SCIP data structure */ 73 ); 74 75 #ifdef __cplusplus 76 } 77 #endif 78 79 #endif 80