Scippy

SCIP

Solving Constraint Integer Programs

cons_benderslp.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 cons_benderslp.h
17  * @ingroup CONSHDLRS
18  * @brief constraint handler for benderslp decomposition
19  * @author Stephen J. Maher
20  */
21 
22 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
23 
24 #ifndef __SCIP_CONS_BENDERSLP_H__
25 #define __SCIP_CONS_BENDERSLP_H__
26 
27 
28 #include "scip/def.h"
29 #include "scip/type_retcode.h"
30 #include "scip/type_scip.h"
31 
32 #ifdef __cplusplus
33 extern "C" {
34 #endif
35 
36 /** creates the handler for benderslp constraints and includes it in SCIP
37  *
38  * @ingroup ConshdlrIncludes
39  * */
42  SCIP* scip /**< SCIP data structure */
43  );
44 
45 /**@addtogroup CONSHDLRS
46  *
47  * @{
48  *
49  * @name Benders Constraints
50  *
51  * Two constraint handlers are implemented for the generation of Benders' decomposition cuts. When included in a
52  * problem, the Benders' decomposition constraint handlers generate cuts during the enforcement of LP and relaxation
53  * solutions. Additionally, Benders' decomposition cuts can be generated when checking the feasibility of solutions with
54  * respect to the subproblem constraints.
55  *
56  * This constraint handler has an enforcement priority that is greater than the integer constraint handler. This means
57  * that all LP solutions will be first checked for feasibility with respect to the Benders' decomposition second stage
58  * constraints before performing an integrality check. This is part of a multi-phase approach for solving mixed integer
59  * programs by Benders' decomposition.
60  *
61  * A parameter is available to control the depth at which the non-integer LP solution are enforced by solving the
62  * Benders' decomposition subproblems. This parameter is set to 0 by default, indicating that non-integer LP solutions
63  * are enforced only at the root node.
64  *
65  * @{
66  */
67 
68 /* @} */
69 
70 /* @} */
71 
72 #ifdef __cplusplus
73 }
74 #endif
75 
76 #endif
#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
SCIP_EXPORT SCIP_RETCODE SCIPincludeConshdlrBenderslp(SCIP *scip)
common defines and data types used in all packages of SCIP