Detailed Description
public methods for working with gcg structure
Definition in file pub_gcg.h.
#include "scip/def.h"#include "scip/type_scip.h"#include "scip/type_retcode.h"#include "gcg/def.h"#include "gcg/type_gcg.h"Go to the source code of this file.
Function Documentation
◆ GCGgetDualbound()
| GCG_EXPORT SCIP_Real GCGgetDualbound | ( | GCG * | gcg | ) |
gets GCG's global dual bound
Computes the global dual bound while considering the original problem SCIP instance and the master problem SCIP instance.
- Returns
- the global dual bound
- Parameters
-
gcg GCG data structure
Definition at line 5589 of file relax_gcg.c.
References assert(), GCGgetDualbound(), GCGgetMasterprob(), GCGgetOrigprob(), masterprob, and origprob.
Referenced by GCGgetDualbound(), GCGgetGap(), and SCIP_DECL_DISPOUTPUT().
◆ GCGgetPrimalbound()
| GCG_EXPORT SCIP_Real GCGgetPrimalbound | ( | GCG * | gcg | ) |
gets GCG's global primal bound
Computes the global primal bound while considering the original problem SCIP instance and the master problem SCIP instance.
- Returns
- the global dual bound
- Parameters
-
gcg GCG data structure
Definition at line 5620 of file relax_gcg.c.
References assert(), GCGgetMasterprob(), GCGgetOrigprob(), GCGgetPrimalbound(), GCGmasterIsBestsolValid(), masterprob, and origprob.
Referenced by GCGgetGap(), GCGgetPrimalbound(), and SCIP_DECL_DISPOUTPUT().
◆ GCGgetGap()
| GCG_EXPORT SCIP_Real GCGgetGap | ( | GCG * | gcg | ) |
gets GCG's global gap
Computes the global gap based on the gloal dual bound and the global primal bound.
- Returns
- the global dual bound
- See also
- GCGgetDualbound()
- GCGgetPrimalbound()
- Parameters
-
gcg GCG data structure
Definition at line 5651 of file relax_gcg.c.
References assert(), GCGgetDualbound(), GCGgetGap(), GCGgetOrigprob(), GCGgetPrimalbound(), and origprob.
Referenced by GCGgetGap(), and SCIP_DECL_DISPOUTPUT().
◆ GCGgetRelax()
| GCG_EXPORT SCIP_RELAX * GCGgetRelax | ( | GCG * | gcg | ) |
gets GCG's relaxator
- Parameters
-
gcg GCG data structure
Definition at line 176 of file gcg.cpp.
References assert(), and GCGgetRelax().
Referenced by GCGgetBendersRelaxationSol(), GCGgetBlockRepresentative(), GCGgetConvCons(), GCGgetDecompositionMode(), GCGgetMasterConss(), GCGgetNIdenticalBlocks(), GCGgetNLinkingvars(), GCGgetNMasterConss(), GCGgetNPricingprobs(), GCGgetNRelPricingprobs(), GCGgetNTransvars(), GCGgetNVarLinkingconss(), GCGgetOrigMasterConss(), GCGgetParamsVisu(), GCGgetPricingprob(), GCGgetPricingprobsMemUsed(), GCGgetRelax(), GCGgetRootNodeTime(), GCGgetStructDecomp(), GCGgetVarLinkingconss(), GCGgetVarLinkingconssBlock(), GCGinitializeMasterProblemSolve(), GCGisMasterSetCovering(), GCGisMasterSetPartitioning(), GCGisPricingprobRelevant(), GCGrelaxBacktrackProbing(), GCGrelaxBranchActiveMaster(), GCGrelaxBranchDeactiveMaster(), GCGrelaxBranchGetAllActiveExtendedMasterConss(), GCGrelaxEndProbing(), GCGrelaxGetCurrentOrigSol(), GCGrelaxGetProbingheur(), GCGrelaxIncludeBranchrule(), GCGrelaxIncludeSepa(), GCGrelaxIsInitialized(), GCGrelaxIsOrigSolFeasible(), GCGrelaxNewProbingnodeMaster(), GCGrelaxNewProbingnodeMasterCons(), GCGrelaxNewProbingnodeOrig(), GCGrelaxStartProbing(), GCGrelaxTransOrigToMasterCons(), GCGrelaxUpdateCurrentSol(), GCGrestoreLimitSettings(), GCGsetStructDecomp(), GCGstashLimitSettings(), and performProbing().
◆ GCGgetSepaorig()
| GCG_EXPORT SCIP_SEPA * GCGgetSepaorig | ( | GCG * | gcg | ) |
gets the orig separator
- Parameters
-
gcg GCG data structure
Definition at line 198 of file gcg.cpp.
References assert(), and GCGgetSepaorig().
Referenced by GCGgetSepaorig(), GCGsepaAddOriginalSepaCuts(), GCGsepaGetNOriginalSepaCuts(), GCGsepaGetOriginalSepaMastercuts(), GCGsepaGetOriginalSepaOrigcuts(), and GCGsepaOriginalSepaOrigcutExists().
◆ GCGgetMastersepacutEventhdlr()
| GCG_EXPORT SCIP_EVENTHDLR * GCGgetMastersepacutEventhdlr | ( | GCG * | gcg | ) |
gets the master separator cut event handler
- Parameters
-
gcg GCG data structure
Definition at line 209 of file gcg.cpp.
References assert(), and GCGgetMastersepacutEventhdlr().
Referenced by GCGaddActiveMastersepacut(), GCGaddGeneratedMastersepacut(), GCGclearGeneratedMastersepacuts(), GCGgetActiveMastersepacuts(), GCGgetMastersepacutEventhdlr(), GCGgetNActiveMastersepacuts(), GCGremoveNewInactiveMastersepacuts(), and GCGshrinkActiveMastersepacuts().