Scippy

GCG

Branch-and-Price & Column Generation for Everyone

Detailed Description

Functions

GCG_EXPORT SCIP_RETCODE GCGcreate (GCG **gcg)
 
GCG_EXPORT SCIP_RETCODE GCGfree (GCG **gcgcol)
 
GCG_EXPORT SCIP_Bool GCGisOriginal (SCIP *scip)
 
GCG_EXPORT SCIP_Bool GCGisMaster (SCIP *scip)
 
GCG_EXPORT SCIP_RETCODE GCGprintStatistics (GCG *gcg, FILE *file)
 
GCG_EXPORT SCIP_RETCODE GCGprintCompleteDetectionStatistics (GCG *gcg, FILE *file)
 
GCG_EXPORT SCIP_RETCODE GCGprintInstanceName (GCG *gcg, FILE *file)
 
GCG_EXPORT SCIP_RETCODE GCGprintBlockcandidateInformation (GCG *gcg, FILE *file)
 
GCG_EXPORT SCIP_RETCODE GCGprintCompleteDetectionTime (GCG *gcg, FILE *file)
 
GCG_EXPORT SCIP_RETCODE GCGprintPartitionInformation (GCG *gcg, FILE *file)
 
GCG_EXPORT SCIP_RETCODE GCGprintDecompInformation (GCG *gcg, FILE *file)
 
GCG_EXPORT SCIP_Real GCGgetPricingprobsMemUsed (GCG *gcg)
 
GCG_EXPORT SCIP_Real GCGgetDegeneracy (GCG *gcg)
 
GCG_EXPORT SCIP_Real GCGtransformOrigvalsToMastervals (GCG *gcg, SCIP_VAR **origvars, SCIP_Real *origvals, int norigvars, SCIP_VAR **mastervars, SCIP_Real *mastervals, int nmastervars)
 
GCG_EXPORT SCIP_RETCODE GCGtransformMastersolToOrigsol (GCG *gcg, SCIP_SOL *mastersol, SCIP_SOL **origsol, SCIP_Bool ignorelocalvarbnds, SCIP_Bool *violatesvarbnds)
 
GCG_EXPORT SCIP_Bool GCGisConsGCGCons (SCIP_CONS *cons)
 
GCG_EXPORT SCIP * GCGgetPricingprob (GCG *gcg, int pricingprobnr)
 
GCG_EXPORT int GCGgetNPricingprobs (GCG *gcg)
 
GCG_EXPORT SCIP_Bool GCGisPricingprobRelevant (GCG *gcg, int pricingprobnr)
 
GCG_EXPORT int GCGgetBlockRepresentative (GCG *gcg, int pricingprobnr)
 
GCG_EXPORT int GCGgetNRelPricingprobs (GCG *gcg)
 
GCG_EXPORT int GCGgetNIdenticalBlocks (GCG *gcg, int pricingprobnr)
 
GCG_EXPORT int GCGgetNMasterConss (GCG *gcg)
 
GCG_EXPORT SCIP_CONS ** GCGgetMasterConss (GCG *gcg)
 
GCG_EXPORT SCIP_CONS ** GCGgetOrigMasterConss (GCG *gcg)
 
GCG_EXPORT SCIP_CONS * GCGgetConvCons (GCG *gcg, int blocknr)
 
GCG_EXPORT SCIP_Bool GCGisMasterSetCovering (GCG *gcg)
 
GCG_EXPORT SCIP_Bool GCGisMasterSetPartitioning (GCG *gcg)
 
GCG_EXPORT SCIP_Bool GCGrelaxIsInitialized (GCG *gcg)
 
GCG_EXPORT SCIP_CONS ** GCGgetVarLinkingconss (GCG *gcg)
 
GCG_EXPORT int * GCGgetVarLinkingconssBlock (GCG *gcg)
 
GCG_EXPORT int GCGgetNVarLinkingconss (GCG *gcg)
 
GCG_EXPORT int GCGgetNLinkingvars (GCG *gcg)
 
GCG_EXPORT int GCGgetNTransvars (GCG *gcg)
 
GCG_EXPORT SCIP_SOL * GCGgetBendersRelaxationSol (GCG *gcg)
 
GCG_EXPORT SCIP * GCGgetOrigprob (GCG *gcg)
 
GCG_EXPORT SCIP * GCGgetMasterprob (GCG *gcg)
 
GCG_EXPORT SCIP * GCGgetBendersMasterprob (GCG *gcg)
 
GCG_EXPORT SCIP * GCGgetDwMasterprob (GCG *gcg)
 
GCG_EXPORT GCG * GCGmasterGetGcg (SCIP *masterprob)
 
GCG_EXPORT GCG * GCGorigGetGcg (SCIP *origprob)
 
GCG_EXPORT GCG_DECMODE GCGgetDecompositionMode (GCG *gcg)
 
GCG_EXPORT GCG_DECOMP * GCGgetStructDecomp (GCG *gcg)
 
GCG_EXPORT GCG_PARAMDATA * GCGgetParamsVisu (GCG *gcg)
 
GCG_EXPORT SCIP_CLOCK * GCGgetRootNodeTime (GCG *gcg)
 
GCG_EXPORT SCIP_RETCODE GCGtransformProb (GCG *gcg)
 
GCG_EXPORT SCIP_RETCODE GCGpresolve (GCG *gcg)
 
GCG_EXPORT SCIP_RETCODE GCGdetect (GCG *gcg)
 
GCG_EXPORT SCIP_RETCODE GCGsolve (GCG *gcg)
 
GCG_EXPORT ObjPricerGcg * GCGgetObjPricer (GCG *gcg)
 

Function Documentation

◆ GCGcreate()

GCG_EXPORT SCIP_RETCODE GCGcreate ( GCG **  gcg)

create a gcg struct

Parameters
gcgpointer to store GCG data structure

Definition at line 45 of file gcg.cpp.

References GCGincludeGcgPlugins(), NULL, SCIP_CALL, SCIP_OKAY, and SCIPcreate().

Referenced by buildProblem(), and GCGrunGCGShell().

◆ GCGfree()

GCG_EXPORT SCIP_RETCODE GCGfree ( GCG **  gcg)

free a gcg column

Parameters
gcgpointer to gcg structure

Definition at line 68 of file gcg.cpp.

References NULL, Scip::origprob, SCIP_CALL, SCIP_OKAY, and SCIPfree().

Referenced by buildProblem(), freeBlockMemory(), and GCGrunGCGShell().

◆ GCGisOriginal()

GCG_EXPORT SCIP_Bool GCGisOriginal ( SCIP *  scip)

checks whether the scip is the original scip instance

Returns
whether the scip is the original scip instance
Parameters
scipSCIP data structure

Definition at line 699 of file misc.c.

References NULL, SCIP_Bool, and SCIPfindRelax().

Referenced by GCG_DECL_BRANCHMASTERSOLVED(), GCGbranchOrigUpdateExternBranchcands(), GCGconsMasterbranchReleaseOrigbranchConss(), GCGoriginalVarAddMasterVar(), and GCGupdateVarStatistics().

◆ GCGisMaster()

◆ GCGprintStatistics()

◆ GCGprintCompleteDetectionStatistics()

GCG_EXPORT SCIP_RETCODE GCGprintCompleteDetectionStatistics ( GCG *  gcg,
FILE *  file 
)

print out complete detection statistics

Returns
SCIP return code
Parameters
gcgGCG data structure
fileoutput file or NULL for standard output

Definition at line 801 of file misc.c.

References FALSE, GCGdetectionTookPlace(), GCGgetOrigprob(), GCGprintBlockcandidateInformation(), GCGprintCompleteDetectionTime(), GCGprintDecompInformation(), GCGprintInstanceName(), GCGprintPartitionInformation(), NULL, SCIP_CALL, SCIP_OKAY, SCIPgetMessagehdlr(), SCIPmessageFPrintInfo(), and TRUE.

Referenced by SCIP_DECL_DIALOGEXEC().

◆ GCGprintInstanceName()

GCG_EXPORT SCIP_RETCODE GCGprintInstanceName ( GCG *  gcg,
FILE *  file 
)

print name of current instance to given output

Returns
SCIP return code
Parameters
gcgGCG data structure
fileoutput file or NULL for standard output

Definition at line 783 of file misc.c.

References GCGgetOrigprob(), NULL, SCIP_MAXSTRLEN, SCIP_OKAY, SCIPgetMessagehdlr(), SCIPgetProbName(), SCIPmessageFPrintInfo(), SCIPsnprintf(), and SCIPsplitFilename().

Referenced by GCGprintCompleteDetectionStatistics().

◆ GCGprintBlockcandidateInformation()

GCG_EXPORT SCIP_RETCODE GCGprintBlockcandidateInformation ( GCG *  gcg,
FILE *  file 
)

◆ GCGprintCompleteDetectionTime()

GCG_EXPORT SCIP_RETCODE GCGprintCompleteDetectionTime ( GCG *  gcg,
FILE *  file 
)
Parameters
gcgGCG data structure
fileoutput file or NULL for standard output

Definition at line 1968 of file cons_decomp.cpp.

References GCGconshdlrDecompGetCompleteDetectionTime(), GCGgetOrigprob(), SCIP_OKAY, SCIP_Real, SCIPgetMessagehdlr(), and SCIPmessageFPrintInfo().

Referenced by GCGprintCompleteDetectionStatistics().

◆ GCGprintPartitionInformation()

GCG_EXPORT SCIP_RETCODE GCGprintPartitionInformation ( GCG *  gcg,
FILE *  file 
)
Parameters
gcgGCG data structure
fileoutput file or NULL for standard output

Definition at line 1982 of file cons_decomp.cpp.

References SCIP_ConshdlrData::detprobdataorig, SCIP_ConshdlrData::detprobdatapres, getConshdlrdata(), NULL, gcg::DETPROBDATA::printPartitionInformation(), and SCIP_OKAY.

Referenced by GCGprintCompleteDetectionStatistics().

◆ GCGprintDecompInformation()

◆ GCGgetPricingprobsMemUsed()

GCG_EXPORT SCIP_Real GCGgetPricingprobsMemUsed ( GCG *  gcg)

gets the total memory used after problem creation stage for all pricingproblems

Parameters
gcgGCG data structure

Definition at line 5114 of file relax_gcg.c.

References GCGgetRelax(), SCIP_RelaxData::npricingprobs, NULL, SCIP_RelaxData::pricingprobs, SCIP_Real, SCIPgetMemUsed(), and SCIPrelaxGetData().

◆ GCGgetDegeneracy()

GCG_EXPORT SCIP_Real GCGgetDegeneracy ( GCG *  gcg)

returns the average degeneracy

Parameters
gcgGCG data structure

Definition at line 5163 of file relax_gcg.c.

References GCGgetMasterprob(), GCGgetOrigprob(), GCGmasterGetDegeneracy(), NULL, SCIP_Real, SCIPinfinity(), and SCIPisInfinity().

Referenced by SCIP_DECL_DISPOUTPUT().

◆ GCGtransformOrigvalsToMastervals()

GCG_EXPORT SCIP_Real GCGtransformOrigvalsToMastervals ( GCG *  gcg,
SCIP_VAR **  origvars,
SCIP_Real *  origvals,
int  norigvars,
SCIP_VAR **  mastervars,
SCIP_Real *  mastervals,
int  nmastervars 
)

transforms given values of the given original variables into values of the given master variables

Returns
the sum of the values of the corresponding master variables that are fixed
Parameters
gcgGCG data structure
origvarsarray with (subset of the) original variables
origvalsarray with values for the given original variables
norigvarsnumber of given original variables
mastervarsarray of (all present) master variables
mastervalsarray to store the values of the master variables
nmastervarsnumber of master variables

Definition at line 576 of file misc.c.

References FALSE, GCGgetMasterprob(), GCGgetOrigprob(), GCGoriginalVarGetMastervals(), GCGoriginalVarGetMastervars(), GCGoriginalVarGetNMastervars(), GCGoriginalVarGetPricingVar(), GCGpricingVarGetOriginalVar(), GCGvarGetBlock(), GCGvarIsOriginal(), GCGvarIsPricing(), NULL, SCIP_Real, SCIPdebugMessage, SCIPgetVars(), SCIPisFeasEQ(), SCIPvarGetLbGlobal(), SCIPvarGetName(), SCIPvarGetTransVar(), SCIPvarGetUbGlobal(), SCIPvarIsOriginal(), and SCIPvarIsTransformed().

Referenced by SCIP_DECL_SEPAEXECLP().

◆ GCGtransformMastersolToOrigsol()

GCG_EXPORT SCIP_RETCODE GCGtransformMastersolToOrigsol ( GCG *  gcg,
SCIP_SOL *  mastersol,
SCIP_SOL **  origsol,
SCIP_Bool  ignorelocalvarbnds,
SCIP_Bool *  violatesvarbnds 
)

transforms given solution of the master problem into solution of the original problem

Returns
SCIP return code
Parameters
gcgGCG data structure
mastersolsolution of the master problem
origsolpointer to store the new created original problem's solution
ignorelocalvarbndscheck global or local varbounds
violatesvarbndspointer to variable to store whether the solution violates orig varbnds (can be NULL)

Definition at line 135 of file misc.c.

References EPSEQ, FALSE, GCG_DECMODE_BENDERS, GCG_DECMODE_ORIGINAL, GCGgetBendersRelaxationSol(), GCGgetDecompositionMode(), GCGgetMasterprob(), GCGgetNPricingprobs(), GCGgetOrigprob(), GCGmasterIsSolValid(), GCGmasterVarGetNOrigvars(), GCGmasterVarGetOrigvals(), GCGmasterVarGetOrigvars(), GCGmasterVarIsRay(), GCGoriginalVarGetPricingVar(), GCGoriginalVarIsLinking(), GCGpricingVarGetNOrigvars(), GCGpricingVarGetOrigvars(), GCGrelaxGetProbingheur(), GCGsortPtrPtr(), GCGvarGetBlock(), GCGvarIsMaster(), GCGvarIsPricing(), MIN, NULL, SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIPallocBufferArray, SCIPcreateSol(), SCIPcreateSolCopy(), SCIPdebugMessage, SCIPfreeBufferArray, SCIPgetBoolParam(), SCIPgetFixedVars(), SCIPgetNContVars(), SCIPgetNFixedVars(), SCIPgetRealParam(), SCIPgetSolOrigObj(), SCIPgetSolVal(), SCIPgetSolVals(), SCIPgetVarsData(), SCIPincSolVal(), SCIPisFeasGE(), SCIPisFeasGT(), SCIPisFeasLE(), SCIPisFeasLT(), SCIPisFeasNegative(), SCIPisFeasPositive(), SCIPisFeasZero(), SCIPisInfinity(), SCIPisPositive(), SCIPisZero(), SCIPsetSolVal(), SCIPunlinkSol(), SCIPvarGetLbGlobal(), SCIPvarGetLbLocal(), SCIPvarGetName(), SCIPvarGetUbGlobal(), SCIPvarGetUbLocal(), SCIPwarningMessage(), and TRUE.

Referenced by GCGrelaxEndProbing(), GCGrelaxUpdateCurrentSol(), getRootRelaxSol(), relaxExecGcgDantzigWolfe(), SCIP_DECL_CONSCHECK(), SCIP_DECL_EVENTEXEC(), solveDiagonalBlocks(), and solveMasterProblemAndEvaluate().

◆ GCGisConsGCGCons()

GCG_EXPORT SCIP_Bool GCGisConsGCGCons ( SCIP_CONS *  cons)

Checks whether the constraint belongs to GCG or not

Returns
whether the constraint belongs to GCG or not
Parameters
consconstraint to check

Definition at line 836 of file misc.c.

References FALSE, NULL, SCIP_Bool, SCIPconsGetHdlr(), SCIPconshdlrGetName(), and TRUE.

Referenced by assignConstraintsToRepresentatives(), createDecompFromPartialdec(), fillConstoblock(), GCGcreateBasicDecomp(), GCGcreateDecompFromMasterconss(), GCGdecompAddRemainingConss(), and GCGdecompCheckConsistency().

◆ GCGgetPricingprob()

◆ GCGgetNPricingprobs()

GCG_EXPORT int GCGgetNPricingprobs ( GCG *  gcg)

◆ GCGisPricingprobRelevant()

GCG_EXPORT SCIP_Bool GCGisPricingprobRelevant ( GCG *  gcg,
int  pricingprobnr 
)

◆ GCGgetBlockRepresentative()

GCG_EXPORT int GCGgetBlockRepresentative ( GCG *  gcg,
int  pricingprobnr 
)

for a given block, return the block by which it is represented

Parameters
gcgGCG data structure
pricingprobnrnumber of the pricing problem

Definition at line 4155 of file relax_gcg.c.

References SCIP_RelaxData::blockrepresentative, GCGgetRelax(), SCIP_RelaxData::nblocksidentical, NULL, and SCIPrelaxGetData().

Referenced by compareExtremePointsToRelaxSol(), countExtremePoints(), createChildNodesCompBndSeq(), fixVariables(), GCGmasterTransOrigSolToMasterVars(), initBranch(), selectExtremePoints(), and selectExtremePointsRandomized().

◆ GCGgetNRelPricingprobs()

◆ GCGgetNIdenticalBlocks()

◆ GCGgetNMasterConss()

◆ GCGgetMasterConss()

◆ GCGgetOrigMasterConss()

GCG_EXPORT SCIP_CONS ** GCGgetOrigMasterConss ( GCG *  gcg)

returns the contraints in the original problem that correspond to the constraints in the master problem

returns the linking constraints in the original problem that correspond to the constraints in the master problem

Parameters
gcgGCG data structure

Definition at line 4245 of file relax_gcg.c.

References GCGgetRelax(), NULL, SCIP_RelaxData::origmasterconss, and SCIPrelaxGetData().

Referenced by ObjPricerGcg::getStabilizedDualObjectiveValue(), SCIP_DECL_SEPAEXECLP(), and ObjPricerGcg::setPricingObjs().

◆ GCGgetConvCons()

GCG_EXPORT SCIP_CONS * GCGgetConvCons ( GCG *  gcg,
int  blocknr 
)

returns the convexity constraint for the given block

Parameters
gcgGCG data structure
blocknrthe number of the block for which we need the convexity constraint

Definition at line 4262 of file relax_gcg.c.

References SCIP_RelaxData::convconss, GCGgetRelax(), NULL, and SCIPrelaxGetData().

Referenced by ObjPricerGcg::addArtificialVars(), gcg::Stabilization::convGetDual(), ObjPricerGcg::createNewMasterVar(), ObjPricerGcg::createNewMasterVarFromGcgCol(), ObjPricerGcg::getConvconsDualsol(), ObjPricerGcg::getDualconvsum(), ObjPricerGcg::pricingLoop(), and ObjPricerGcg::setPricingObjs().

◆ GCGisMasterSetCovering()

GCG_EXPORT SCIP_Bool GCGisMasterSetCovering ( GCG *  gcg)

returns whether the master problem is a set covering problem

Parameters
gcgGCG data structure

Definition at line 4347 of file relax_gcg.c.

References GCGgetRelax(), SCIP_RelaxData::masterissetcover, NULL, SCIP_Bool, and SCIPrelaxGetData().

Referenced by SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_BRANCHEXECPS(), and SCIP_DECL_HEUREXEC().

◆ GCGisMasterSetPartitioning()

GCG_EXPORT SCIP_Bool GCGisMasterSetPartitioning ( GCG *  gcg)

returns whether the master problem is a set partitioning problem

Parameters
gcgGCG data structure

Definition at line 4366 of file relax_gcg.c.

References GCGgetRelax(), SCIP_RelaxData::masterissetpart, NULL, SCIP_Bool, and SCIPrelaxGetData().

Referenced by SCIP_DECL_BRANCHEXECLP(), and SCIP_DECL_BRANCHEXECPS().

◆ GCGrelaxIsInitialized()

GCG_EXPORT SCIP_Bool GCGrelaxIsInitialized ( GCG *  gcg)

returns whether the relaxator has been initialized

Parameters
gcgGCG data structure

Definition at line 5145 of file relax_gcg.c.

References GCGgetRelax(), NULL, SCIP_RelaxData::relaxisinitialized, SCIP_Bool, and SCIPrelaxGetData().

Referenced by SCIP_DECL_EVENTEXEC().

◆ GCGgetVarLinkingconss()

GCG_EXPORT SCIP_CONS ** GCGgetVarLinkingconss ( GCG *  gcg)

return linking constraints for variables

Parameters
gcgGCG data structure

Definition at line 5188 of file relax_gcg.c.

References GCGgetRelax(), NULL, SCIPrelaxGetData(), and SCIP_RelaxData::varlinkconss.

Referenced by ObjPricerGcg::getStabilizedDualObjectiveValue(), gcg::Stabilization::linkingconsGetDual(), and ObjPricerGcg::setPricingObjs().

◆ GCGgetVarLinkingconssBlock()

GCG_EXPORT int * GCGgetVarLinkingconssBlock ( GCG *  gcg)

return blocks of linking constraints for variables

Parameters
gcgGCG data structure

Definition at line 5205 of file relax_gcg.c.

References GCGgetRelax(), NULL, SCIPrelaxGetData(), and SCIP_RelaxData::varlinkconsblock.

Referenced by ObjPricerGcg::getStabilizedDualObjectiveValue(), and ObjPricerGcg::setPricingObjs().

◆ GCGgetNVarLinkingconss()

GCG_EXPORT int GCGgetNVarLinkingconss ( GCG *  gcg)

◆ GCGgetNLinkingvars()

GCG_EXPORT int GCGgetNLinkingvars ( GCG *  gcg)

return number of linking variables

Parameters
gcgGCG data structure

Definition at line 5239 of file relax_gcg.c.

References GCGgetRelax(), SCIP_RelaxData::nlinkingvars, NULL, and SCIPrelaxGetData().

Referenced by ObjPricerGcg::getStabilizedDualObjectiveValue().

◆ GCGgetNTransvars()

GCG_EXPORT int GCGgetNTransvars ( GCG *  gcg)

return number of variables directly transferred to the master problem

Parameters
gcgGCG data structure

Definition at line 5256 of file relax_gcg.c.

References GCGgetRelax(), SCIP_RelaxData::ntransvars, NULL, and SCIPrelaxGetData().

Referenced by ObjPricerGcg::getStabilizedDualObjectiveValue().

◆ GCGgetBendersRelaxationSol()

GCG_EXPORT SCIP_SOL * GCGgetBendersRelaxationSol ( GCG *  gcg)

returns the relaxation solution from the Benders' decomposition

Parameters
gcgGCG data structure

Definition at line 5273 of file relax_gcg.c.

References SCIP_RelaxData::gcg, GCGbendersGetRelaxSol(), GCGgetMasterprob(), GCGgetRelax(), NULL, SCIPfindBenders(), and SCIPrelaxGetData().

Referenced by GCGtransformMastersolToOrigsol().

◆ GCGgetOrigprob()

GCG_EXPORT SCIP * GCGgetOrigprob ( GCG *  gcg)

returns the original problem

Parameters
gcgGCG data structure

Definition at line 87 of file gcg.cpp.

References NULL.

Referenced by addActiveBranchExtendedmastercons(), ReducedCostPricing::addParameters(), FarkasPricing::addParameters(), addPartialdec(), addPPObjConss(), applyGlobalBndchgsToPricingprobs(), applyLocalBndchgsToPricedMastervars(), applyOriginalBranching(), applyProbing(), assignConstraintsToRepresentatives(), assignConsvarsToBlock(), assignUniqueBlockFlags(), branchDirectlyOnMastervar(), branchExtern(), branchVar(), buildProblem(), calcMasterPscosts(), calcPscostDownMaster(), calcPscostQuot(), calcPscostUpMaster(), calculateDualvalsOptimalOrigLP(), callMetis(), checkAndAddExternalBranchingCandidate(), checkIdenticalBlocks(), checkSetppcStructure(), ChooseSeparateMethod(), combineSolutions(), compareExtremePointsToRelaxSol(), compareOneExtremePoint(), computeConssNzeros(), computePricingConssCoefficients(), computeVarDensities(), convertStructToGCG(), countExtremePoints(), JDecDecompositionData::createBlockStructure(), createBranchNodesInOrigprob(), createChildNodesCompBndSeq(), createChildNodesGeneric(), createChildNodesRyanfoster(), createDecompFromPartialdec(), gcg::ColumnGraph< T >::createDecompFromPartition(), gcg::HypercolGraph< T >::createDecompFromPartition(), gcg::HyperrowcolGraph< T >::createDecompFromPartition(), gcg::HyperrowGraph< T >::createDecompFromPartition(), gcg::RowGraph< T >::createDecompFromPartition(), gcg::HyperrowcolGraph< T >::createFromMatrix(), gcg::BipartiteGraph< T >::createFromMatrix(), gcg::ColumnGraph< T >::createFromMatrix(), gcg::HypercolGraph< T >::createFromMatrix(), gcg::HyperrowGraph< T >::createFromMatrix(), gcg::RowGraph< T >::createFromMatrix(), gcg::RowGraphWeighted< T >::createFromMatrix(), createLinkingPricingVars(), createMaster(), createMasterprobConss(), createMasterProblem(), createMetisFile(), createNewSol(), createOrigbranchConstraint(), createOriginalProblemSolution(), gcg::HypercolGraph< T >::createPartialdecFromPartition(), gcg::HyperrowcolGraph< T >::createPartialdecFromPartition(), gcg::HyperrowGraph< T >::createPartialdecFromPartition(), gcg::RowGraph< T >::createPartialdecFromPartition(), createPricingprobConss(), createPricingVariables(), detect(), detection(), detectIsomorph(), displayPricingStatistics(), ensureSizeBranchrules(), ensureSizeMasterConss(), ensureSizeSeparators(), execRelpsprob(), executeStrongBranching(), fillOutConsFromConstoblock(), fillOutVarsFromVartoblock(), fixVariables(), freeCurrentOrigSol(), fromCommandLine(), GCG_DECL_BRANCHDATADELETE(), GCG_DECL_BRANCHMASTERSOLVED(), GCG_DECL_CONSCLASSIFY(), GCG_DECL_DIVINGEXIT(), GCG_DECL_DIVINGEXITEXEC(), GCG_DECL_DIVINGFREE(), GCG_DECL_DIVINGINITEXEC(), GCG_DECL_DIVINGSELECTVAR(), GCG_DECL_EXITDETECTOR(), GCG_DECL_FINISHPARTIALDEC(), GCG_DECL_FREECONSCLASSIFIER(), GCG_DECL_FREEDETECTOR(), GCG_DECL_FREEVARCLASSIFIER(), GCG_DECL_POSTPROCESSPARTIALDEC(), GCG_DECL_PROPAGATEPARTIALDEC(), GCG_DECL_SCORECALC(), GCG_DECL_SCOREFREE(), GCG_DECL_SETPARAMAGGRESSIVE(), GCG_DECL_SETPARAMDEFAULT(), GCG_DECL_SETPARAMFAST(), GCG_DECL_SOLVEREXITSOL(), GCG_DECL_SOLVERSOLVE(), GCG_DECL_SOLVERSOLVEHEUR(), GCG_DECL_SOLVERUPDATE(), GCG_DECL_VARCLASSIFY(), GCGbranchOrigUpdateExternBranchcands(), GCGbranchSelectCandidateStrongBranchingOrig(), GCGbranchSelectCandidateStrongBranchingRyanfoster(), GCGconshdlrDecompAdaptScore(), GCGconshdlrDecompAddCandidatesNBlocks(), GCGconshdlrDecompAddPreexisitingPartialDec(), GCGconshdlrDecompAddPreexistingDecomp(), GCGconshdlrDecompAddUserCandidatesNBlocks(), GCGconshdlrDecompCalcCandidatesNBlocks(), GCGconshdlrDecompCheckConsistency(), GCGconshdlrDecompChooseCandidatesFromSelected(), GCGconshdlrDecompClassify(), GCGconshdlrDecompGetCompleteDetectionTime(), GCGconshdlrDecompGetDecomps(), GCGconshdlrDecompGetScoreTotalTime(), GCGconshdlrDecompIncludeScore(), GCGconshdlrDecompPrintDetectorStatistics(), GCGconshdlrDecompPrintScoreStatistics(), GCGconshdlrDecompTranslateOrigPartialdecs(), GCGconsMasterbranchReleaseOrigbranchConss(), GCGconsOrigbranchAddRootCons(), GCGconsOrigbranchCheckConsistency(), GCGconsOrigbranchGetActiveCons(), GCGconsOrigbranchGetStack(), GCGcreateBasicDecomp(), GCGcreateConsMasterbranch(), GCGcreateConsOrigbranch(), GCGcreateDecompFromMasterconss(), GCGcreateOrigVarsData(), GCGcreateParamsVisu(), GCGdecompAddRemainingConss(), GCGdecompCheckConsistency(), GCGdecompCreate(), GCGdecompEvaluateDecomposition(), GCGdecompFree(), GCGdecompMoveLinkingConsToPricing(), GCGdecompositionsAreEqual(), GCGdecompRemoveDeletedConss(), GCGdecompSetDetectorChain(), GCGdecompSetDetectorChainString(), GCGdecompSetDetectorClockTimes(), GCGdecompSetDetectorPctConssFromOpen(), GCGdecompSetDetectorPctConssToBlock(), GCGdecompSetDetectorPctConssToBorder(), GCGdecompSetDetectorPctVarsFromOpen(), GCGdecompSetDetectorPctVarsToBlock(), GCGdecompSetDetectorPctVarsToBorder(), GCGdecompSetLinkingconss(), GCGdecompSetLinkingvars(), GCGdecompSetNNewBlocks(), GCGdecompSetStairlinkingvars(), GCGdecompSetSubscipconss(), GCGdecompSetSubscipvars(), GCGdecompTransform(), GCGdecompTryAssignMasterconssToExistingPricing(), GCGdecompTryAssignMasterconssToNewPricing(), GCGdetect(), GCGdetectStructure(), GCGdetermineConsBlock(), gcg::GCGdialogChangeListMode(), gcg::GCGdialogChangeScore(), gcg::GCGdialogExecExplore(), gcg::GCGdialogInspectPartialdec(), gcg::GCGdialogSelect(), gcg::GCGdialogSelectVisualize(), gcg::GCGdialogSetNEntires(), gcg::GCGdialogShowHelp(), gcg::GCGdialogShowLegend(), gcg::GCGdialogShowMenu(), gcg::GCGdialogSortAsc(), gcg::GCGdialogSortBy(), GCGeventhdlrMastersolIsTriggered(), GCGfilloutDecompFromConstoblock(), GCGfilloutDecompFromHashmaps(), GCGfreeOrigVarsData(), GCGgetBestDecomp(), GCGgetDegeneracy(), GCGgetDensityData(), GCGgetDualbound(), GCGgetGap(), GCGgetPrimalbound(), GCGgetRemainingTime(), GCGgetVarLockData(), GCGgetVisualizationFilename(), GCGincludeBranchruleBPStrong(), GCGincludeBranchruleCompBnd(), GCGincludeBranchruleEmpty(), GCGincludeBranchruleOrig(), GCGincludeBranchruleRelpsprob(), GCGincludeBranchruleRyanfoster(), GCGincludeConsClassifier(), GCGincludeConsClassifierGamssymbol(), GCGincludeConshdlrDecomp(), GCGincludeConshdlrMasterbranch(), GCGincludeConshdlrOrigbranch(), GCGincludeDetector(), GCGincludeDetectorConnectedbase(), GCGincludeDetectorConsclass(), GCGincludeDetectorDBSCAN(), GCGincludeDetectorHcgpartition(), GCGincludeDetectorHrcgpartition(), GCGincludeDetectorHrgpartition(), GCGincludeDetectorIsomorphism(), GCGincludeDetectorMST(), GCGincludeDetectorNeighborhoodmaster(), GCGincludeDetectorPostprocess(), GCGincludeDetectorStaircaseLsp(), GCGincludeDetectorStairheur(), GCGincludeDetectorVarclass(), GCGincludeDialogGcg(), GCGincludeDialogsGraph(), GCGincludeDispGcg(), GCGincludeDivingHeurOrig(), GCGincludeEventHdlrMastersol(), GCGincludeEventHdlrSolvingstats(), GCGincludeGcgPlugins(), GCGincludeGraphEntries(), GCGincludeHeurGcgcoefdiving(), GCGincludeHeurGcgdins(), GCGincludeHeurGcgfeaspump(), GCGincludeHeurGcgfracdiving(), GCGincludeHeurGcgguideddiving(), GCGincludeHeurGcgpscostdiving(), GCGincludeHeurGcgrens(), GCGincludeHeurGcgrins(), GCGincludeHeurGcgrounding(), GCGincludeHeurGcgshifting(), GCGincludeHeurGcgsimplerounding(), GCGincludeHeurGcgveclendiving(), GCGincludeHeurGcgzirounding(), GCGincludeHeurXpcrossover(), GCGincludeHeurXprins(), GCGincludeObjDialog(), GCGincludePricerGcg(), GCGincludeReaderBlk(), GCGincludeReaderCls(), GCGincludeReaderDec(), GCGincludeReaderGp(), GCGincludeReaderJDec(), GCGincludeReaderRef(), GCGincludeReaderTex(), GCGincludeRelaxGcg(), GCGincludeScoreStrongDecomp(), GCGincludeSepaBasis(), GCGincludeSepaOriginal(), GCGincludeSolverCliquer(), GCGincludeSolverCplex(), GCGincludeSolverGcg(), GCGincludeSolverHighs(), GCGincludeSolverMip(), GCGincludeVarClassifier(), GCGincludeVarClassifierGamsdomain(), GCGincludeVarClassifierGamssymbol(), GCGinitializeMasterProblemSolve(), GCGmasterCreateInitialMastervars(), GCGmasterTransOrigSolToMasterVars(), GCGoriginalVarAddBlock(), GCGoriginalVarAddCoef(), GCGoriginalVarAddMasterVar(), GCGorigVarCreateData(), GCGpresolve(), GCGprintBlockcandidateInformation(), GCGprintCompleteDetectionStatistics(), GCGprintCompleteDetectionTime(), GCGprintDecompInformation(), GCGprintDecompStatistics(), GCGprintInstanceName(), GCGprintListOfDetectors(), GCGprintStatistics(), GCGprintVar(), GCGprintVersion(), GCGprocessGCGShellArguments(), GCGrelaxBacktrackProbing(), GCGrelaxEndProbing(), GCGrelaxIncludeBranchrule(), GCGrelaxIncludeSepa(), GCGrelaxNewProbingnodeMaster(), GCGrelaxNewProbingnodeMasterCons(), GCGrelaxNewProbingnodeOrig(), GCGrelaxStartProbing(), GCGrelaxTransOrigToMasterCons(), GCGrelaxUpdateCurrentSol(), GCGrestoreLimitSettings(), GCGsepaBasisAddPricingCut(), GCGsetHeuristics(), GCGsetRedcost(), GCGsolve(), GCGsolverCreate(), GCGstashLimitSettings(), GCGtexWriteMakefileAndReadme(), GCGtransformMastersolToOrigsol(), GCGtransformOrigvalsToMastervals(), GCGtransformProb(), GCGupdateVarStatistics(), GCGVisuFreeParams(), GCGwriteAllDecomps(), GCGwriteDecompositionData(), GCGWriteGpDecompMatrix(), GCGwriteSelectedDecomps(), GCGwriteSolvingDetails(), GCGwriteTexReport(), GCGwriteTexVisualization(), getConshdlrdata(), getMasterDownFrac(), getMasterDownScore(), getMasterUpFrac(), getMasterUpScore(), getNLocksDown(), getNLocksUp(), getUniqueBlockFlagForIter(), getVarProbingbranch(), increaseLock(), initBranch(), initializeMasterProblemSolve(), initializeStartsol(), initRelaxator(), initRelaxdata(), initRelaxProblemdata(), markConsMaster(), newProbingNodeRyanfosterMaster(), ObjPricerGcg::ObjPricerGcg(), performWeightedPricing(), gcg::Pricingcontroller::Pricingcontroller(), readJDec(), reduceConsclasses(), reduceVarclasses(), relaxExecGcgDantzigWolfe(), removeFromLinkingvars(), reorderPermutations(), reportAllDecompositions(), resetDetprobdata(), saveOriginalVarMastercoeffs(), SCIP_DECL_BENDERSEXITSOL(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_BRANCHEXECPS(), SCIP_DECL_BRANCHINIT(), SCIP_DECL_CONSCHECK(), SCIP_DECL_CONSDELETE(), SCIP_DECL_CONSENFOLP(), SCIP_DECL_CONSENFOPS(), SCIP_DECL_DISPOUTPUT(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_HEUREXEC(), SCIP_DECL_NODESELSELECT(), SCIP_DECL_SEPAEXECLP(), SCIP_DECL_SEPAEXIT(), SCIP_DECL_SEPAEXITSOL(), SCIP_DECL_SEPAINIT(), SCIPconshdlrDecompRepairConsNames(), SCIPincludeSepaSubsetrow(), score_function(), selectCandidate(), selectExtremePoints(), selectExtremePointsRandomized(), setDetectionAggressive(), setDetectionDefault(), setDetectionEnabled(), setDetectionFast(), setDetectionOff(), setMasterLimits(), setPricingObjsOriginal(), setSeparatorsAggressive(), setSeparatorsDefault(), setSeparatorsFast(), setSeparatorsOff(), shuffleDualvalsRandom(), solveBlockProblem(), solveDiagonalBlocks(), solveMasterProblem(), solveMasterProblemAndEvaluate(), solveProblem(), solveRepairProblem(), transformMaster(), updateBranchingConss(), updateVars(), writeAllDecompositions(), writeCls(), writeGpNonzeros(), writeMatrix(), writeSelectedDecompositions(), writeTexHeader(), writeTexPartialdec(), writeTexPartialdecStatistics(), writeTexTitlepage(), gcg::HypercolGraph< T >::writeToFile(), gcg::HyperrowGraph< T >::writeToFile(), gcg::Graph< T >::writeToFile(), gcg::Hypergraph< T >::writeToFile(), and gcg::HyperrowcolGraph< T >::writeToFile().

◆ GCGgetMasterprob()

GCG_EXPORT SCIP * GCGgetMasterprob ( GCG *  gcg)

returns the active master problem (may change until solving is initiated)

Parameters
gcgGCG data structure

Definition at line 99 of file gcg.cpp.

References NULL.

Referenced by addBranchcandsToData(), addMissedVariables(), addToActiveMastersepacuts(), addVarToMasterbranch(), adjustDynamicPenalties(), applyGlobalBndchgsToPricedMastervars(), applyGlobalBndchgsToPricingprobs(), applyLocalBndchgsToCopiedMastervars(), applyLocalBndchgsToPricedMastervars(), applyLocalBndchgsToPricingprobs(), applyOriginalBranching(), applyProbing(), branchDirectlyOnMastervar(), branchVar(), buildMod2Matrix(), buildProblem(), calcMasterPscosts(), calcPscostDownMaster(), calcPscostUpMaster(), CHOOSE_COMPBND(), CHOOSE_COMPBNDSEQ(), ChooseSeparateMethod(), compareExtremePointsToRelaxSol(), computeDynamicPenalties(), countExtremePoints(), createBranchingCons(), createBranchNodesInOrigprob(), createChildNodesCompBndSeq(), createChildNodesGeneric(), createChildNodesRyanfoster(), createLinkingPricingVars(), createMaster(), createMastercutData(), createMasterprobConss(), createMasterProblem(), createNewSol(), createStartSolution(), destroyAndRepairSolution(), destroyMod2Matrix(), eventRowAddedToLP(), eventRowDeletedFromLP(), execRelpsprob(), executeHeuristic(), fixVariables(), forwardUpdateSeenHistory(), freeBlockMemory(), freeBlockProblem(), freeCurrentOrigSol(), freeMastersepacut(), GCG_DECL_BRANCHACTIVEMASTER(), GCG_DECL_BRANCHDATADELETE(), GCG_DECL_BRANCHGETEXTENDEDMASTERCONSCOEFF(), GCG_DECL_BRANCHMASTERSOLVED(), GCG_DECL_BRANCHNEWCOL(), GCG_DECL_BRANCHPROPMASTER(), GCG_DECL_DIVINGINITEXEC(), GCG_DECL_MASTER_DIVINGSELECTVAR(), GCG_DECL_PRICINGCBPOSTPRICING(), GCG_DECL_PRICINGCBPREPRICING(), GCG_DECL_SOLVEREXITSOL(), GCG_DECL_SOLVERINITSOL(), GCG_DECL_SOLVERUPDATE(), GCGactivateEventHdlrDisplay(), GCGaddDataAuxiliaryVar(), GCGaddGeneratedMastersepacut(), GCGbranchCreateExtendedmastercons(), GCGbranchFreeExtendedmasterconsBranchData(), GCGbranchSelectCandidateStrongBranchingOrig(), GCGbranchSelectCandidateStrongBranchingRyanfoster(), GCGchvatalGomoryCutGetColumnCoefficient(), GCGchvatalGomoryCutGetVariableCoefficient(), GCGcolComputeDualObjPara(), GCGcolComputeNorm(), GCGcolComputeOrth(), GCGcolpoolCreate(), GCGconsIntegralorigAddBranchrule(), GCGconsMasterbranchActiveCutRemoved(), GCGconsMasterbranchAddCopiedVarBndchg(), GCGconsMasterbranchAddRootCons(), GCGconsMasterbranchCheckConsistency(), GCGconsMasterbranchGetActiveCons(), GCGconsMasterbranchGetNStackelements(), GCGconsMasterbranchGetStack(), GCGconsMasterbranchReleaseOrigbranchConss(), GCGcopyPricingvarDataToMastervar(), GCGcreateArtificialVar(), GCGcreateChvatalGomoryCut(), GCGcreateConsMasterbranch(), GCGcreateInitialMasterVar(), GCGcreateMastersepacut(), GCGcreateMasterVar(), GCGeventhdlrRelaxsolIsTriggered(), GCGeventmastersepacutShrinkActiveMastersepacuts(), GCGextendedmasterconsAddMasterVar(), GCGextendedmasterconsCreateFromCons(), GCGextendedmasterconsCreateFromRow(), GCGextendedmasterconsFree(), GCGextendedmasterconsGetCols(), GCGextendedmasterconsGetLhs(), GCGextendedmasterconsGetNNonz(), GCGextendedmasterconsGetRhs(), GCGextendedmasterconsGetVals(), GCGfreeChvatalGomoryCutData(), GCGgetBendersRelaxationSol(), GCGgetDegeneracy(), GCGgetDualbound(), GCGgetPrimalbound(), GCGgetRelpsprobBranchVar(), GCGincludeBranchruleBPStrong(), GCGincludeBranchruleCompBnd(), GCGincludeBranchruleGeneric(), GCGincludeBranchruleOrig(), GCGincludeBranchruleRelpsprob(), GCGincludeBranchruleRyanfoster(), GCGincludeConshdlrIntegralOrig(), GCGincludeConshdlrMasterbranch(), GCGincludeDialogMaster(), GCGincludeDivingHeurMaster(), GCGincludeDivingHeurOrig(), GCGincludeEventHdlrDisplay(), GCGincludeEventHdlrMasterdiving(), GCGincludeEventHdlrOrigdiving(), GCGincludeEventHdlrRelaxsol(), GCGincludeEventHdlrSepaCuts(), GCGincludeEventHdlrSolvingstats(), GCGincludeHeurGreedycolsel(), GCGincludeHeurRelaxcolsel(), GCGincludeHeurRestmaster(), GCGincludeHeurSetcover(), GCGincludeNodeselMaster(), GCGincludePricerGcg(), GCGincludeSepaBasis(), GCGincludeSepaOriginal(), GCGisRootNode(), GCGlinkingVarCreateMasterCons(), GCGmasterCreateInitialMastervars(), GCGmasterGetDegeneracy(), GCGmasterIsBestsolValid(), GCGmasterIsCurrentSolValid(), GCGmasterIsSolValid(), GCGmasterPrintSimplexIters(), GCGmastersepacutSetVarHistory(), GCGmasterTransOrigSolToMasterVars(), GCGpricerPrintListOfSolvers(), GCGpricerPrintPricingStatistics(), GCGpricerPrintStatistics(), GCGpricestoreCreate(), GCGpricingcbCreate(), GCGpricingcbExit(), GCGpricingcbExitsol(), GCGpricingcbFree(), GCGpricingcbGetSetupTime(), GCGpricingcbGetTime(), GCGpricingcbInit(), GCGpricingcbInitsol(), GCGpricingcbPostpricing(), GCGpricingcbPrepricing(), GCGpricingjobCreate(), GCGpricingjobFree(), GCGpricingmodificationCreate(), GCGpricingmodificationFree(), GCGpricingprobAddGenericBranchData(), GCGpricingprobCreate(), GCGpricingprobFree(), GCGpricingprobReset(), GCGpricingprobUpdate(), GCGprintDecompStatistics(), GCGprintStatistics(), GCGprocessGCGShellArguments(), GCGrelaxBacktrackProbing(), GCGrelaxBranchDataDelete(), GCGrelaxEndProbing(), GCGrelaxIncludeBranchrule(), GCGrelaxIncludeSepa(), GCGrelaxNewProbingnodeMaster(), GCGrelaxNewProbingnodeMasterCons(), GCGrelaxNewProbingnodeOrig(), GCGrelaxStartProbing(), GCGrelaxTransOrigToMasterCons(), GCGrelaxUpdateCurrentSol(), GCGrestoreLimitSettings(), GCGselectConstraintsZeroHalf(), GCGsepaAddOriginalSepaCuts(), GCGsepaBasisAddPricingCut(), GCGsepaBasisGetMastercuts(), GCGsepaBasisGetNMastercuts(), GCGsepaBasisGetNOrigcuts(), GCGsepaBasisGetOrigcuts(), GCGsetPricingObjRelaxWeight(), GCGsolverCreate(), GCGsolverFree(), GCGsolverGetHeurFarkasTime(), GCGsolverGetHeurRedcostTime(), GCGsolverGetOptFarkasTime(), GCGsolverGetOptRedcostTime(), GCGsolverInit(), GCGsolverSolve(), GCGstashLimitSettings(), GCGtransformMastersolToOrigsol(), GCGtransformOrigvalsToMastervals(), GCGupdateVarStatistics(), GCGwriteVarCreationDetails(), getBestMastervar(), getMasterDownFrac(), getMasterDownScore(), getMasterUpFrac(), getMasterUpScore(), getNLocksDown(), getNLocksUp(), getRootRelaxSol(), initBranch(), initializeAddedCuts(), initializeConsdata(), initializeMasterProblemSolve(), initializeStartsol(), initRelaxator(), mod2MatrixTransformContRows(), mod2rowAddRow(), newProbingNodeRyanfosterMaster(), performProbing(), performWeightedPricing(), gcg::Pricingcontroller::Pricingcontroller(), PricingType::PricingType(), reinsertGlobalMastersepacut(), relaxExecGcgDantzigWolfe(), resetPricingVarBound(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_DISPOUTPUT(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_HEUREXEC(), SCIP_DECL_PARAMCHGD(), SCIP_DECL_RELAXEXITSOL(), SCIP_DECL_RELAXINITSOL(), SCIPincludeSepaSubsetrow(), SCIPsepaBasisAddPPObjConss(), score_function(), selectCandidate(), selectConstraintsEnumerate(), selectConstraintsRandom(), selectConstraintsZerohalf(), selectExtremePoints(), selectExtremePointsRandomized(), separation(), separation_helper(), setMasterLimits(), setProblemNotApplicable(), setSeparatorsAggressive(), setSeparatorsDefault(), setSeparatorsFast(), setSeparatorsOff(), solveBlockProblem(), solveCliquer(), solveCplex(), solveDiagonalBlocks(), solveHighs(), solveMasterProblemAndEvaluate(), solveRepairProblem(), tightenPricingVarBound(), and transformMaster().

◆ GCGgetBendersMasterprob()

GCG_EXPORT SCIP * GCGgetBendersMasterprob ( GCG *  gcg)

returns the benders master problem (also used to solve the original problem directly)

Parameters
gcgGCG data structure

Definition at line 111 of file gcg.cpp.

References NULL.

Referenced by GCGincludeBendersGcg(), and GCGincludeBendersPlugins().

◆ GCGgetDwMasterprob()

◆ GCGmasterGetGcg()

GCG_EXPORT GCG * GCGmasterGetGcg ( SCIP *  masterprob)

returns the GCG data structure

Parameters
masterprobSCIP data structure

Definition at line 134 of file gcg.cpp.

References GCGbendersGetGcg(), GCGpricerGetGcg(), NULL, SCIPerrorMessage, SCIPfindBenders(), and SCIPfindPricer().

◆ GCGorigGetGcg()

GCG_EXPORT GCG * GCGorigGetGcg ( SCIP *  origprob)

returns the GCG data structure

Parameters
origprobSCIP data structure

Definition at line 165 of file gcg.cpp.

References GCGrelaxGetGcg(), and NULL.

Referenced by SCIP_DECL_CONSDELETE(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_PARAMCHGD(), and SCIP_DECL_VARDELORIG().

◆ GCGgetDecompositionMode()

◆ GCGgetStructDecomp()

GCG_EXPORT GCG_DECOMP * GCGgetStructDecomp ( GCG *  gcg)

gets the structure information

Parameters
gcgGCG data structure

Definition at line 2331 of file relax_gcg.c.

References SCIP_RelaxData::decomp, GCGgetRelax(), NULL, and SCIPrelaxGetData().

Referenced by buildProblem(), GCGprintStatistics(), and writeREFFile().

◆ GCGgetParamsVisu()

◆ GCGgetRootNodeTime()

GCG_EXPORT SCIP_CLOCK * GCGgetRootNodeTime ( GCG *  gcg)

return root node clock

return root node time clock

Parameters
gcgGCG data structure

Definition at line 5313 of file relax_gcg.c.

References GCGgetRelax(), NULL, SCIP_RelaxData::rootnodetime, and SCIPrelaxGetData().

Referenced by GCGwriteSolvingDetails().

◆ GCGtransformProb()

GCG_EXPORT SCIP_RETCODE GCGtransformProb ( GCG *  gcg)

initializes solving data structures and transforms problem for solving with GCG

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Precondition
This method can be called if scip is in one of the following stages:
Postcondition
When calling this method in the SCIP_STAGE_PROBLEM stage, the SCIP stage is changed to SCIP_STAGE_TRANSFORMED; otherwise, the stage is not changed

See SCIP_STAGE for a complete list of all possible solving stages.

Parameters
gcgGCG data structure

Definition at line 5331 of file relax_gcg.c.

References GCGgetOrigprob(), NULL, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIP_STAGE_EXITPRESOLVE, SCIP_STAGE_EXITSOLVE, SCIP_STAGE_FREE, SCIP_STAGE_FREETRANS, SCIP_STAGE_INIT, SCIP_STAGE_INITPRESOLVE, SCIP_STAGE_INITSOLVE, SCIP_STAGE_PRESOLVED, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_SOLVED, SCIP_STAGE_SOLVING, SCIP_STAGE_TRANSFORMED, SCIP_STAGE_TRANSFORMING, SCIP_VERBLEVEL_HIGH, SCIPconshdlrDecompRepairConsNames(), SCIPerrorMessage, SCIPgetStage(), SCIPtransformProb(), and SCIPverbMessage().

Referenced by fromCommandLine(), GCGdetect(), GCGpresolve(), GCGsolve(), and SCIP_DECL_DIALOGEXEC().

◆ GCGpresolve()

GCG_EXPORT SCIP_RETCODE GCGpresolve ( GCG *  gcg)

transforms and presolves the problem suitable for GCG

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Precondition
This method can be called if scip is in one of the following stages:
Postcondition
After calling this method SCIP reaches one of the following stages:

See SCIP_STAGE for a complete list of all possible solving stages.

Parameters
gcgGCG data structure

Definition at line 5370 of file relax_gcg.c.

References GCG_DECMODE_DANTZIGWOLFE, GCGconshdlrDecompTranslateOrigPartialdecs(), GCGgetDecompositionMode(), GCGgetOrigprob(), GCGstashLimitSettings(), GCGtransformProb(), NULL, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIP_STAGE_EXITPRESOLVE, SCIP_STAGE_EXITSOLVE, SCIP_STAGE_FREE, SCIP_STAGE_FREETRANS, SCIP_STAGE_INIT, SCIP_STAGE_INITPRESOLVE, SCIP_STAGE_INITSOLVE, SCIP_STAGE_PRESOLVED, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_SOLVED, SCIP_STAGE_SOLVING, SCIP_STAGE_TRANSFORMED, SCIP_STAGE_TRANSFORMING, SCIP_VERBLEVEL_HIGH, SCIPerrorMessage, SCIPgetStage(), SCIPpresolve(), and SCIPverbMessage().

Referenced by GCGsolve(), SCIP_DECL_DIALOGEXEC(), and solveProblem().

◆ GCGdetect()

GCG_EXPORT SCIP_RETCODE GCGdetect ( GCG *  gcg)

transforms and detects the problem

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Precondition
This method can be called if scip is in one of the following stages:
Postcondition
When calling this method in the SCIP_STAGE_PROBLEM stage, the SCIP stage is changed to SCIP_STAGE_TRANSFORMED; otherwise, the stage is not changed

See SCIP_STAGE for a complete list of all possible solving stages.

Parameters
gcgGCG data structure

Definition at line 5421 of file relax_gcg.c.

References FALSE, GCGdetectionTookPlace(), GCGdetectStructure(), GCGgetOrigprob(), GCGtransformProb(), NULL, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIP_STAGE_EXITPRESOLVE, SCIP_STAGE_EXITSOLVE, SCIP_STAGE_FREE, SCIP_STAGE_FREETRANS, SCIP_STAGE_INIT, SCIP_STAGE_INITPRESOLVE, SCIP_STAGE_INITSOLVE, SCIP_STAGE_PRESOLVED, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_SOLVED, SCIP_STAGE_SOLVING, SCIP_STAGE_TRANSFORMED, SCIP_STAGE_TRANSFORMING, SCIP_VERBLEVEL_DIALOG, SCIPerrorMessage, SCIPgetStage(), SCIPverbMessage(), and TRUE.

Referenced by SCIP_DECL_DIALOGEXEC().

◆ GCGsolve()

GCG_EXPORT SCIP_RETCODE GCGsolve ( GCG *  gcg)

transforms, resolves, detects, and solves the problem using GCG

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Precondition
This method can be called if scip is in one of the following stages:
Postcondition
After calling this method SCIP reaches one of the following stages depending on if and when the solution process was interrupted:

See SCIP_STAGE for a complete list of all possible solving stages.

Parameters
gcgGCG data structure

Definition at line 5480 of file relax_gcg.c.

References FALSE, GCG_DECMODE_DANTZIGWOLFE, GCGconshdlrDecompCheckConsistency(), GCGconshdlrDecompGetNFinishedPartialdecsTransformed(), GCGconshdlrDecompOrigPartialdecExists(), GCGdecompFree(), GCGdetectionTookPlace(), GCGdetectStructure(), GCGgetBestDecomp(), GCGgetDecompositionMode(), GCGgetOrigprob(), GCGpresolve(), GCGstashLimitSettings(), GCGtransformProb(), NULL, SCIP_Bool, SCIP_CALL, SCIP_DIDNOTFIND, SCIP_INVALIDCALL, SCIP_OKAY, SCIP_STAGE_EXITPRESOLVE, SCIP_STAGE_EXITSOLVE, SCIP_STAGE_FREE, SCIP_STAGE_FREETRANS, SCIP_STAGE_INIT, SCIP_STAGE_INITPRESOLVE, SCIP_STAGE_INITSOLVE, SCIP_STAGE_PRESOLVED, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_SOLVED, SCIP_STAGE_SOLVING, SCIP_STAGE_TRANSFORMED, SCIP_STAGE_TRANSFORMING, SCIP_VERBLEVEL_HIGH, SCIPerrorMessage, SCIPgetIntParam(), SCIPgetNActiveConss(), SCIPgetNConss(), SCIPgetNNodes(), SCIPgetStage(), SCIPsetIntParam(), SCIPsolve(), SCIPverbMessage(), and TRUE.

Referenced by fromCommandLine(), SCIP_DECL_DIALOGEXEC(), and solveProblem().

◆ GCGgetObjPricer()