Scippy

SCIP

Solving Constraint Integer Programs

bendersdefcuts.c
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-2022 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 */
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 }
SCIP_RETCODE SCIPincludeBenderscutInt(SCIP *scip, SCIP_BENDERS *benders)
SCIP_RETCODE SCIPincludeBenderscutNogood(SCIP *scip, SCIP_BENDERS *benders)
enum SCIP_Retcode SCIP_RETCODE
Definition: type_retcode.h:54
SCIP_RETCODE SCIPincludeBendersDefaultCuts(SCIP *scip, SCIP_BENDERS *benders)
#define SCIP_CALL(x)
Definition: def.h:384
SCIP_RETCODE SCIPincludeBenderscutFeas(SCIP *scip, SCIP_BENDERS *benders)
SCIP_RETCODE SCIPincludeBenderscutFeasalt(SCIP *scip, SCIP_BENDERS *benders)
public methods for message output
SCIP_RETCODE SCIPincludeBenderscutOpt(SCIP *scip, SCIP_BENDERS *benders)