1 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
2 /*                                                                           */
3 /*                  This file is part of the program and library             */
4 /*         SCIP --- Solving Constraint Integer Programs                      */
5 /*                                                                           */
6 /*    Copyright (C) 2002-2021 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 scipopt.org.         */
13 /*                                                                           */
14 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
15 
16 /**@file   bendersdefcuts.c
17  * @ingroup OTHER_CFILES
18  * @brief  default cuts for Benders' decomposition
19  * @author Stephen J. Maher
20  */
21 
22 /*--+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
23 
24 #include "scip/bendersdefcuts.h"
25 #include "scip/pub_message.h"
26 
27 /** includes default Benders' decomposition cuts plugins into SCIP and the associated Benders' decomposition */
SCIPincludeBendersDefaultCuts(SCIP * scip,SCIP_BENDERS * benders)28 SCIP_RETCODE SCIPincludeBendersDefaultCuts(
29    SCIP*                 scip,               /**< SCIP data structure */
30    SCIP_BENDERS*         benders             /**< Benders' decomposition struture */
31    )
32 {
33    SCIP_CALL( SCIPincludeBenderscutFeas(scip, benders) );
34    SCIP_CALL( SCIPincludeBenderscutFeasalt(scip, benders) );
35    SCIP_CALL( SCIPincludeBenderscutInt(scip, benders) );
36    SCIP_CALL( SCIPincludeBenderscutNogood(scip, benders) );
37    SCIP_CALL( SCIPincludeBenderscutOpt(scip, benders) );
38 
39    return SCIP_OKAY;
40 }
41