GCG 4.1.1 (dev)

Generic Column Generation

Loading...
Searching...
No Matches
bendersplugins.c
Go to the documentation of this file.
1/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
2/* */
3/* This file is part of the program and library */
4/* GCG --- Generic Column Generation */
5/* a Dantzig-Wolfe decomposition based extension */
6/* of the branch-cut-and-price framework */
7/* SCIP --- Solving Constraint Integer Programs */
8/* */
9/* Copyright (C) 2010-2026 Operations Research, RWTH Aachen University */
10/* Zuse Institute Berlin (ZIB) */
11/* */
12/* Licensed under the Apache License, Version 2.0 (the "License"); */
13/* you may not use this file except in compliance with the License. */
14/* You may obtain a copy of the License at */
15/* */
16/* http://www.apache.org/licenses/LICENSE-2.0 */
17/* */
18/* Unless required by applicable law or agreed to in writing, software */
19/* distributed under the License is distributed on an "AS IS" BASIS, */
20/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */
21/* See the License for the specific language governing permissions and */
22/* limitations under the License. */
23/* */
24/* You should have received a copy of the Apache-2.0 license */
25/* along with GCG; see the file LICENSE. If not visit gcg.or.rwth-aachen.de.*/
26/* */
27/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
28
29/**@file bendersplugins.c
30 * @brief SCIP plugins for the master problem running in Benders' decomposition mode
31 * @author Stephen J. Maher
32 */
33
34/*--+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
35
36#include "gcg/bendersplugins.h"
37#include "scip/scipdefplugins.h"
38#include "scip/debug.h"
39
40/* GCG specific stuff */
41#include "gcg/dialog_master.h"
42#include "gcg/disp_master.h"
43
44/** includes default GCG Benders' decomposition plugins */
46 GCG* gcg /**< GCG data structure */
47 )
48{
50 /* including the dialog used for the master problem */
52 /* including the SCIP default plugins */
53 SCIP_CALL( SCIPincludeConshdlrNonlinear(masterprob) ); /* nonlinear must be before linear, quadratic, abspower, and and due to constraint upgrading */
54 SCIP_CALL( SCIPincludeNlhdlrQuadratic(masterprob) ); /* quadratic must be before linear due to constraint upgrading */
55 SCIP_CALL( SCIPincludeConshdlrLinear(masterprob) ); /* linear must be before its specializations due to constraint upgrading */
222
223 SCIP_CALL( SCIPdebugIncludeProp(masterprob) ); /*lint !e506 !e774*/
224
225 /* including the display used for the master problem */
228
229 /* Benders' decomposition specific plugins */
230
231
232 return SCIP_OKAY;
233}
SCIP_RETCODE GCGincludeBendersPlugins(GCG *gcg)
SCIP plugins for the master problem running in Benders' decomposition mode.
SCIP_RETCODE SCIPincludeBranchruleAllfullstrong(SCIP *scip)
SCIP_RETCODE SCIPincludeComprLargestrepr(SCIP *scip)
SCIP_RETCODE SCIPincludeComprWeakcompr(SCIP *scip)
SCIP_RETCODE SCIPincludeConcurrentScipSolvers(SCIP *scip)
SCIP_RETCODE SCIPincludeConshdlrOrbitope(SCIP *scip)
#define SCIPdebugIncludeProp(scip)
SCIP_RETCODE GCGincludeDialogMaster(GCG *gcg)
user interface dialog for master problem
SCIP_RETCODE GCGincludeDispMaster(GCG *gcg, SCIP *masterprob)
master display columns
SCIP_RETCODE SCIPincludeEventHdlrSofttimelimit(SCIP *scip)
SCIP_RETCODE SCIPincludeEventHdlrSolvingphase(SCIP *scip)
SCIP_RETCODE SCIPincludeBendersDefault(SCIP *scip)
SCIP_RETCODE SCIPincludeBranchruleInference(SCIP *scip)
SCIP_RETCODE SCIPincludeBranchruleRandom(SCIP *scip)
SCIP_RETCODE SCIPincludeBranchruleNodereopt(SCIP *scip)
SCIP_RETCODE SCIPincludeBranchruleLeastinf(SCIP *scip)
SCIP_RETCODE SCIPincludeBranchruleFullstrong(SCIP *scip)
SCIP_RETCODE SCIPincludeBranchruleDistribution(SCIP *scip)
SCIP_RETCODE SCIPincludeBranchruleMostinf(SCIP *scip)
SCIP_RETCODE SCIPincludeBranchruleRelpscost(SCIP *scip)
SCIP_RETCODE SCIPincludeBranchruleCloud(SCIP *scip)
SCIP_RETCODE SCIPincludeBranchrulePscost(SCIP *scip)
SCIP_RETCODE SCIPincludeBranchruleMultAggr(SCIP *scip)
SCIP_RETCODE SCIPincludeConshdlrLinear(SCIP *scip)
SCIP_RETCODE SCIPincludeConshdlrOr(SCIP *scip)
SCIP_RETCODE SCIPincludeConshdlrBounddisjunction(SCIP *scip)
SCIP_RETCODE SCIPincludeConshdlrBenders(SCIP *scip)
SCIP_RETCODE SCIPincludeConshdlrComponents(SCIP *scip)
SCIP_RETCODE SCIPincludeConshdlrSetppc(SCIP *scip)
SCIP_RETCODE SCIPincludeConshdlrCountsols(SCIP *scip)
SCIP_RETCODE SCIPincludeConshdlrXor(SCIP *scip)
SCIP_RETCODE SCIPincludeConshdlrOrbisack(SCIP *scip)
SCIP_RETCODE SCIPincludeConshdlrAnd(SCIP *scip)
SCIP_RETCODE SCIPincludeConshdlrVarbound(SCIP *scip)
SCIP_RETCODE SCIPincludeConshdlrLogicor(SCIP *scip)
SCIP_RETCODE SCIPincludeConshdlrSOS2(SCIP *scip)
SCIP_RETCODE SCIPincludeConshdlrSOS1(SCIP *scip)
SCIP_RETCODE SCIPincludeConshdlrCumulative(SCIP *scip)
SCIP_RETCODE SCIPincludeConshdlrKnapsack(SCIP *scip)
SCIP_RETCODE SCIPincludeConshdlrLinking(SCIP *scip)
SCIP_RETCODE SCIPincludeConshdlrDisjunction(SCIP *scip)
SCIP_RETCODE SCIPincludeConshdlrConjunction(SCIP *scip)
SCIP_RETCODE SCIPincludeConshdlrCardinality(SCIP *scip)
SCIP_RETCODE SCIPincludeConshdlrNonlinear(SCIP *scip)
SCIP_RETCODE SCIPincludeConshdlrSymresack(SCIP *scip)
SCIP_RETCODE SCIPincludeConshdlrIntegral(SCIP *scip)
SCIP_RETCODE SCIPincludeConshdlrIndicator(SCIP *scip)
SCIP_RETCODE SCIPincludeConshdlrPseudoboolean(SCIP *scip)
SCIP_RETCODE SCIPincludeConshdlrBenderslp(SCIP *scip)
SCIP_RETCODE SCIPincludeConshdlrSuperindicator(SCIP *scip)
SCIP_RETCODE SCIPincludeReaderOpb(SCIP *scip)
SCIP_RETCODE SCIPincludeReaderPpm(SCIP *scip)
SCIP_RETCODE SCIPincludeReaderCcg(SCIP *scip)
SCIP_RETCODE SCIPincludeReaderCnf(SCIP *scip)
SCIP_RETCODE SCIPincludeReaderCor(SCIP *scip)
SCIP_RETCODE SCIPincludeReaderSto(SCIP *scip)
SCIP_RETCODE SCIPincludeReaderLp(SCIP *scip)
SCIP_RETCODE SCIPincludeReaderMps(SCIP *scip)
SCIP_RETCODE SCIPincludeReaderTim(SCIP *scip)
SCIP_RETCODE SCIPincludeReaderMst(SCIP *scip)
SCIP_RETCODE SCIPincludeReaderSol(SCIP *scip)
SCIP_RETCODE SCIPincludeReaderPbm(SCIP *scip)
SCIP_RETCODE SCIPincludeReaderCip(SCIP *scip)
SCIP_RETCODE SCIPincludeReaderRlp(SCIP *scip)
SCIP_RETCODE SCIPincludeReaderDiff(SCIP *scip)
SCIP_RETCODE SCIPincludeReaderFix(SCIP *scip)
SCIP_RETCODE SCIPincludeReaderWbo(SCIP *scip)
SCIP_RETCODE SCIPincludeReaderZpl(SCIP *scip)
SCIP_RETCODE SCIPincludeReaderGms(SCIP *scip)
SCIP_RETCODE SCIPincludeReaderSmps(SCIP *scip)
SCIP_RETCODE SCIPincludeReaderBnd(SCIP *scip)
SCIP_RETCODE SCIPincludeReaderPip(SCIP *scip)
SCIP_RETCODE SCIPincludeReaderOsil(SCIP *scip)
SCIP_RETCODE SCIPincludeReaderFzn(SCIP *scip)
SCIP * GCGgetBendersMasterprob(GCG *gcg)
Definition gcg.cpp:111
SCIP_RETCODE SCIPincludeNlhdlrQuadratic(SCIP *scip)
SCIP_RETCODE SCIPincludeNodeselUct(SCIP *scip)
SCIP_RETCODE SCIPincludeNodeselBreadthfirst(SCIP *scip)
SCIP_RETCODE SCIPincludeNodeselDfs(SCIP *scip)
SCIP_RETCODE SCIPincludeNodeselEstimate(SCIP *scip)
SCIP_RETCODE SCIPincludeNodeselRestartdfs(SCIP *scip)
SCIP_RETCODE SCIPincludeNodeselHybridestim(SCIP *scip)
SCIP_RETCODE SCIPincludeNodeselBfs(SCIP *scip)
SCIP_RETCODE SCIPincludePresolStuffing(SCIP *scip)
SCIP_RETCODE SCIPincludePresolTrivial(SCIP *scip)
SCIP_RETCODE SCIPincludePresolQPKKTref(SCIP *scip)
SCIP_RETCODE SCIPincludePresolImplics(SCIP *scip)
SCIP_RETCODE SCIPincludePresolDualcomp(SCIP *scip)
SCIP_RETCODE SCIPincludePresolGateextraction(SCIP *scip)
SCIP_RETCODE SCIPincludePresolDualagg(SCIP *scip)
SCIP_RETCODE SCIPincludePresolInttobinary(SCIP *scip)
SCIP_RETCODE SCIPincludePresolDomcol(SCIP *scip)
SCIP_RETCODE SCIPincludePresolDualinfer(SCIP *scip)
SCIP_RETCODE SCIPincludePresolTworowbnd(SCIP *scip)
SCIP_RETCODE SCIPincludePresolRedvub(SCIP *scip)
SCIP_RETCODE SCIPincludePresolConvertinttobin(SCIP *scip)
SCIP_RETCODE SCIPincludePresolBoundshift(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurGuideddiving(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurVbounds(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurCrossover(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurOfins(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurFixandinfer(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurActconsdiving(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurVeclendiving(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurSimplerounding(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurUndercover(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurTrivialnegation(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurMutation(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurMpec(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurRepair(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurShifting(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurDins(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurLinesearchdiving(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurCoefdiving(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurIntshifting(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurShiftandpropagate(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurGins(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurObjpscostdiving(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurTrySol(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurDualval(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurMultistart(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurClique(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurIndicator(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurAlns(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurLocks(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurZirounding(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurOneopt(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurRandrounding(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurRins(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurNlpdiving(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurFeaspump(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurProximity(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurIntdiving(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurZeroobj(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurRounding(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurReoptsols(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurPscostdiving(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurLocalbranching(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurTrivial(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurBound(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurCompletesol(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurTwoopt(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurDistributiondiving(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurLpface(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurOctane(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurFracdiving(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurRootsoldiving(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurRens(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurSubNlp(SCIP *scip)
SCIP_RETCODE SCIPincludePropDualfix(SCIP *scip)
SCIP_RETCODE SCIPincludePropRedcost(SCIP *scip)
SCIP_RETCODE SCIPincludePropGenvbounds(SCIP *scip)
SCIP_RETCODE SCIPincludePropVbounds(SCIP *scip)
SCIP_RETCODE SCIPincludePropProbing(SCIP *scip)
SCIP_RETCODE SCIPincludePropNlobbt(SCIP *scip)
SCIP_RETCODE SCIPincludePropObbt(SCIP *scip)
SCIP_RETCODE SCIPincludePropPseudoobj(SCIP *scip)
SCIP_RETCODE SCIPincludePropRootredcost(SCIP *scip)
SCIP_RETCODE SCIPincludeSepaConvexproj(SCIP *scip)
SCIP_RETCODE SCIPincludeSepaZerohalf(SCIP *scip)
SCIP_RETCODE SCIPincludeSepaMcf(SCIP *scip)
SCIP_RETCODE SCIPincludeSepaRapidlearning(SCIP *scip)
SCIP_RETCODE SCIPincludeSepaEccuts(SCIP *scip)
SCIP_RETCODE SCIPincludeSepaIntobj(SCIP *scip)
SCIP_RETCODE SCIPincludeSepaGauge(SCIP *scip)
SCIP_RETCODE SCIPincludeSepaClique(SCIP *scip)
SCIP_RETCODE SCIPincludeSepaCGMIP(SCIP *scip)
SCIP_RETCODE SCIPincludeSepaOddcycle(SCIP *scip)
SCIP_RETCODE SCIPincludeSepaImpliedbounds(SCIP *scip)
SCIP_RETCODE SCIPincludeSepaDisjunctive(SCIP *scip)
SCIP_RETCODE SCIPincludeSepaClosecuts(SCIP *scip)
SCIP_RETCODE SCIPincludeSepaAggregation(SCIP *scip)
SCIP_RETCODE SCIPincludeSepaGomory(SCIP *scip)
SCIP_RETCODE SCIPincludeTableDefault(SCIP *scip)
SCIP_CALL(SCIPgetExternBranchCands(origprob, &lpcands, &lpcandssol, NULL, &nlpcands, NULL, NULL, NULL, NULL))
SCIP_RETCODE SCIPincludePresolSparsify(SCIP *scip)
struct Gcg GCG
Definition type_gcg.h:44
enum SCIP_Retcode SCIP_RETCODE
struct Scip SCIP