Scippy

SCIP

Solving Constraint Integer Programs

branch_mostinf.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-2019 Konrad-Zuse-Zentrum */
7 /* fuer Informationstechnik Berlin */
8 /* */
9 /* SCIP is distributed under the terms of the ZIB Academic License. */
10 /* */
11 /* You should have received a copy of the ZIB Academic License */
12 /* along with SCIP; see the file COPYING. If not visit scip.zib.de. */
13 /* */
14 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
15 
16 /**@file branch_mostinf.h
17  * @ingroup BRANCHINGRULES
18  * @brief most infeasible LP branching rule
19  * @author Tobias Achterberg
20  *
21  * The most infeasible branching rule selects a candidate variable $j$ with fractional solution value \f$ \hat{x}_j\f$
22  * which maximizes
23  * \f[
24  * \min \left\{ \lceil \hat{x}_j \rceil - \hat{x}_j, \hat{x}_j - \lfloor \hat{x}_j \rfloor \right\}.
25  * \f]
26  * i. e., a variable which still is farthest from taking an integer value among all branching candidates.
27  *
28  * The most infeasible branching rule and many other branching rules of SCIP are explained and compared in
29  *
30  * @par
31  * Tobias Achterberg@n
32  * Constraint Integer Programming@n
33  * PhD Thesis, Technische Universität Berlin, 2007@n
34  *
35  */
36 
37 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
38 
39 #ifndef __SCIP_BRANCH_MOSTINF_H__
40 #define __SCIP_BRANCH_MOSTINF_H__
41 
42 
43 #include "scip/def.h"
44 #include "scip/type_retcode.h"
45 #include "scip/type_scip.h"
46 
47 #ifdef __cplusplus
48 extern "C" {
49 #endif
50 
51 /** creates the most infeasible LP branching rule and includes it in SCIP
52  *
53  * @ingroup BranchingRuleIncludes
54  */
57  SCIP* scip /**< SCIP data structure */
58  );
59 
60 #ifdef __cplusplus
61 }
62 #endif
63 
64 #endif
SCIP_EXPORT SCIP_RETCODE SCIPincludeBranchruleMostinf(SCIP *scip)
#define SCIP_EXPORT
Definition: def.h:98
enum SCIP_Retcode SCIP_RETCODE
Definition: type_retcode.h:53
type definitions for return codes for SCIP methods
type definitions for SCIP&#39;s main datastructure
common defines and data types used in all packages of SCIP