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-2018 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 bendersdefcuts.c
17  * @brief default cuts for Benders' decomposition
18  * @author Stephen J. Maher
19  */
20 
21 /*--+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
22 
23 #include "scip/bendersdefcuts.h"
24 #include "scip/pub_message.h"
25 
26 /** includes default Benders' decomposition cuts plugins into SCIP and the associated Benders' decomposition */
28  SCIP* scip, /**< SCIP data structure */
29  SCIP_BENDERS* benders /**< Benders' decomposition struture */
30  )
31 {
32  SCIP_CALL( SCIPincludeBenderscutFeas(scip, benders) );
33  SCIP_CALL( SCIPincludeBenderscutInt(scip, benders) );
34  SCIP_CALL( SCIPincludeBenderscutNogood(scip, benders) );
35  SCIP_CALL( SCIPincludeBenderscutOpt(scip, benders) );
36 
37  return SCIP_OKAY;
38 }
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:53
SCIP_RETCODE SCIPincludeBendersDefaultCuts(SCIP *scip, SCIP_BENDERS *benders)
#define SCIP_CALL(x)
Definition: def.h:351
SCIP_RETCODE SCIPincludeBenderscutFeas(SCIP *scip, SCIP_BENDERS *benders)
public methods for message output
SCIP_RETCODE SCIPincludeBenderscutOpt(SCIP *scip, SCIP_BENDERS *benders)