Detailed Description
This page contains a list of all relaxators which are currently available.
Function Documentation
◆ GCGincludeRelaxGcg()
| GCG_EXPORT SCIP_RETCODE GCGincludeRelaxGcg | ( | GCG * | gcg | ) |
creates the GCG relaxator and includes it in SCIP
- Parameters
-
gcg GCG data structure
Definition at line 3577 of file relax_gcg.c.
References SCIP_RelaxData::aggregation, SCIP_RelaxData::aggregationnconsslimit, SCIP_RelaxData::aggregationnvarslimit, assert(), DEFAULT_AGGREGATION, DEFAULT_AGGREGATIONNCONSSLIMIT, DEFAULT_AGGREGATIONNVARSLIMIT, DEFAULT_BLISS, DEFAULT_BLISS_GENERATOR_LIMIT, DEFAULT_BLISS_SEARCH_NODE_LIMIT, DEFAULT_DISCRETIZATION, DEFAULT_DISPINFOS, DEFAULT_MIPDISCRETIZATION, DEFAULT_MODE, SCIP_RelaxData::discretization, SCIP_RelaxData::dispinfos, SCIP_RelaxData::gcg, GCGgetBlissName(), GCGgetNautyName(), GCGgetOrigprob(), GCGincludeBendersGcg(), GCGincludeBendersPlugins(), GCGincludeMasterPlugins(), GCGincludePricerGcg(), GCGincludeRelaxGcg(), SCIP_RelaxData::generatorlimit, initRelaxdata(), SCIP_RelaxData::mipdiscretization, SCIP_RelaxData::mode, origprob, SCIP_RelaxData::origverblevel, RELAX_DESC, RELAX_FREQ, RELAX_NAME, RELAX_PRIORITY, relaxCopyGcg, relaxInitGcg, SCIP_CALL(), SCIP_RelaxData::searchnodelimit, and SCIP_RelaxData::usesymmetrylib.
Referenced by GCGincludeGcgPlugins(), and GCGincludeRelaxGcg().
◆ GCGrelaxIncludeBranchrule()
| GCG_EXPORT SCIP_RETCODE GCGrelaxIncludeBranchrule | ( | GCG * | gcg, |
| SCIP_BRANCHRULE ** | branchrule, | ||
| GCG_BRANCHRULE ** | gcgbranchrule, | ||
| const char * | name, | ||
| const char * | desc, | ||
| int | priority, | ||
| int | maxdepth, | ||
| SCIP_Real | maxbounddist, | ||
| SCIP_BRANCHRULEDATA * | branchruledata, | ||
| GCG_DECL_BRANCHACTIVEMASTER((*branchactivemaster)) | , | ||
| GCG_DECL_BRANCHDEACTIVEMASTER((*branchdeactivemaster)) | , | ||
| GCG_DECL_BRANCHPROPMASTER((*branchpropmaster)) | , | ||
| GCG_DECL_BRANCHMASTERSOLVED((*branchmastersolved)) | , | ||
| GCG_DECL_BRANCHDATADELETE((*branchdatadelete)) | , | ||
| GCG_DECL_BRANCHNEWCOL((*branchnewcol)) | , | ||
| GCG_DECL_BRANCHGETEXTENDEDMASTERCONS((*branchgetextendedmastercons)) | ) |
includes a branching rule into the relaxator data
- Parameters
-
gcg SCIP data structure branchrule branching rule for which callback methods are saved gcgbranchrule pointer to store created GCG branch rule (can be NULL) name name of branching rule desc description of branching rule priority priority of the branching rule maxdepth maximal depth level, up to which this branching rule should be used (or -1) maxbounddist maximal relative distance from current node's dual bound to primal bound compared to best node's dual bound for applying branching rule (0.0: only on current best node, 1.0: on all nodes) branchruledata branching rule data - activation method for branchrule - deactivation method for branchrule - propagation method for branchrule - master solved method for branchrule - branchdata deletion method for branchrule - new column handler method of branching rule - extended master cons getter of branching rule column coefficient calculation method for extended master conss
Definition at line 3717 of file relax_gcg.c.
References assert(), GCG_Branchrule::branchrule, SCIP_RelaxData::branchrules, ensureSizeBranchrules(), GCG_DECL_BRANCHACTIVEMASTER, GCG_DECL_BRANCHDATADELETE, GCG_DECL_BRANCHDEACTIVEMASTER, GCG_DECL_BRANCHGETEXTENDEDMASTERCONS, GCG_DECL_BRANCHGETEXTENDEDMASTERCONSCOEFF, GCG_DECL_BRANCHMASTERSOLVED, GCG_DECL_BRANCHNEWCOL, GCG_DECL_BRANCHPROPMASTER, GCGconsIntegralorigAddBranchrule(), GCGgetMasterprob(), GCGgetOrigprob(), GCGgetRelax(), GCGrelaxIncludeBranchrule(), maxdepth, SCIP_RelaxData::nbranchrules, and SCIP_CALL().
Referenced by GCGincludeBranchruleBPStrong(), GCGincludeBranchruleCompBnd(), GCGincludeBranchruleGeneric(), GCGincludeBranchruleOrig(), GCGincludeBranchruleRyanfoster(), and GCGrelaxIncludeBranchrule().
◆ GCGrelaxBranchActiveMaster()
| GCG_EXPORT SCIP_RETCODE GCGrelaxBranchActiveMaster | ( | GCG * | gcg, |
| GCG_BRANCHRULE * | branchrule, | ||
| GCG_BRANCHDATA * | branchdata ) |
perform activation method of the given branchrule for the given branchdata
- Parameters
-
gcg GCG data structure branchrule branching rule that did the branching branchdata data representing the branching decision
Definition at line 3781 of file relax_gcg.c.
References addActiveBranchExtendedmastercons(), assert(), GCGgetRelax(), GCGrelaxBranchActiveMaster(), and SCIP_CALL().
Referenced by GCGrelaxBranchActiveMaster(), and SCIP_DECL_CONSACTIVE().
◆ GCGrelaxBranchDeactiveMaster()
| GCG_EXPORT SCIP_RETCODE GCGrelaxBranchDeactiveMaster | ( | GCG * | gcg, |
| GCG_BRANCHRULE * | branchrule, | ||
| GCG_BRANCHDATA * | branchdata ) |
perform deactivation method of the given branchrule for the given branchdata
- Parameters
-
gcg GCG data structure branchrule branching rule that did the branching branchdata data representing the branching decision
Definition at line 3809 of file relax_gcg.c.
References assert(), dropActiveBranchExtendedmastercons(), GCGgetRelax(), GCGrelaxBranchDeactiveMaster(), and SCIP_CALL().
Referenced by GCGrelaxBranchDeactiveMaster(), and SCIP_DECL_CONSDEACTIVE().
◆ GCGrelaxBranchPropMaster()
| GCG_EXPORT SCIP_RETCODE GCGrelaxBranchPropMaster | ( | GCG * | gcg, |
| GCG_BRANCHRULE * | branchrule, | ||
| GCG_BRANCHDATA * | branchdata, | ||
| SCIP_RESULT * | result ) |
perform propagation method of the given branchrule for the given branchdata
- Parameters
-
gcg GCG data structure branchrule branching rule that did the branching branchdata data representing the branching decision result pointer to store the result of the propagation call
Definition at line 3837 of file relax_gcg.c.
References assert(), GCGrelaxBranchPropMaster(), result, and SCIP_CALL().
Referenced by GCGrelaxBranchPropMaster(), and SCIP_DECL_CONSPROP().
◆ GCGrelaxBranchMasterSolved()
| GCG_EXPORT SCIP_RETCODE GCGrelaxBranchMasterSolved | ( | GCG * | gcg, |
| GCG_BRANCHRULE * | branchrule, | ||
| GCG_BRANCHDATA * | branchdata, | ||
| SCIP_Real | newlowerbound ) |
perform method of the given branchrule that is called after the master LP is solved
- Parameters
-
gcg GCG data structure branchrule branching rule that did the branching branchdata data representing the branching decision newlowerbound the new local lowerbound
Definition at line 3961 of file relax_gcg.c.
References assert(), GCGrelaxBranchMasterSolved(), and SCIP_CALL().
Referenced by GCGrelaxBranchMasterSolved(), and relaxExecGcgDantzigWolfe().
◆ GCGrelaxBranchDataDelete()
| GCG_EXPORT SCIP_RETCODE GCGrelaxBranchDataDelete | ( | GCG * | gcg, |
| GCG_BRANCHRULE * | branchrule, | ||
| GCG_BRANCHDATA ** | branchdata, | ||
| SCIP_Bool | origbranch, | ||
| SCIP_Bool | force ) |
frees branching data created by the given branchrule
- Parameters
-
gcg GCG data structure branchrule branching rule that did the branching branchdata data representing the branching decision origbranch true iff an origbranch triggered this call force branch data must be deleted if true
Definition at line 3858 of file relax_gcg.c.
References assert(), GCGgetMasterprob(), GCGrelaxBranchDataDelete(), SCIP_CALL(), and SCIPfreeMemory().
Referenced by GCGrelaxBranchDataDelete(), SCIP_DECL_CONSDELETE(), and SCIP_DECL_CONSDELETE().
◆ GCGrelaxBranchNewCol()
| GCG_EXPORT SCIP_RETCODE GCGrelaxBranchNewCol | ( | GCG * | gcg, |
| GCG_BRANCHRULE * | branchrule, | ||
| GCG_BRANCHDATA * | branchdata, | ||
| SCIP_VAR * | mastervar ) |
notifies the branching rule that a new mastervariable was created while this node was active
- Parameters
-
gcg GCG data structure branchrule branching rule that did the branching branchdata data representing the branching decision mastervar new mastervariable that was created
Definition at line 3885 of file relax_gcg.c.
References assert(), GCGrelaxBranchNewCol(), and SCIP_CALL().
Referenced by forwardUpdateSeenHistory(), and GCGrelaxBranchNewCol().
◆ GCGrelaxBranchGetExtendedMasterCons()
| GCG_EXPORT SCIP_RETCODE GCGrelaxBranchGetExtendedMasterCons | ( | GCG * | gcg, |
| GCG_BRANCHRULE * | branchrule, | ||
| GCG_BRANCHDATA * | branchdata, | ||
| GCG_EXTENDEDMASTERCONSDATA ** | extendedmasterconsdata ) |
gets the extendedmasterconsdata created by this branching rule, if any
- Parameters
-
gcg GCG data structure branchrule branching rule that did the branching branchdata data representing the branching decision extendedmasterconsdata the extendedmasterconsdata to grab
Definition at line 3905 of file relax_gcg.c.
References assert(), GCGrelaxBranchGetExtendedMasterCons(), and SCIP_CALL().
Referenced by GCGrelaxBranchGetExtendedMasterCons().
◆ GCGrelaxBranchGetAllActiveExtendedMasterConss()
| GCG_EXPORT SCIP_RETCODE GCGrelaxBranchGetAllActiveExtendedMasterConss | ( | GCG * | gcg, |
| GCG_BRANCHRULE *** | branchrules, | ||
| GCG_BRANCHDATA *** | branchdata, | ||
| GCG_EXTENDEDMASTERCONSDATA *** | extendedmasterconsdata, | ||
| int * | nextendedmasterconss ) |
get extended master conss of all active nods
get extended master conss of all active nodes
- Parameters
-
gcg GCG data structure branchrules branching rules that created extended master conss (can be NULL) branchdata data represeting the branching decisions of the active nodes (can be NULL) extendedmasterconsdata array of extended master conss generated by branching in all currently active nodes nextendedmasterconss number of currently active branching rules that created extended master conss
Definition at line 3931 of file relax_gcg.c.
References SCIP_RelaxData::activebranchdata, SCIP_RelaxData::activebranchextendedmasterconss, SCIP_RelaxData::activebranchrules, assert(), GCGgetRelax(), GCGrelaxBranchGetAllActiveExtendedMasterConss(), and SCIP_RelaxData::nactivebranchextendedmasterconss.
Referenced by GCGcreateGcgCol(), GCGrelaxBranchGetAllActiveExtendedMasterConss(), ObjPricerGcg::getStabilizedDualObjectiveValue(), ObjPricerGcg::pricingLoop(), ObjPricerGcg::setPricingObjs(), gcg::Stabilization::updateStabcenterextendedmasterconsvals(), and gcg::Stabilization::updateStabilityCenter().
◆ GCGrelaxTransOrigToMasterCons()
| GCG_EXPORT SCIP_RETCODE GCGrelaxTransOrigToMasterCons | ( | GCG * | gcg, |
| SCIP_CONS * | cons, | ||
| SCIP_CONS ** | transcons ) |
transformes a constraint of the original problem into the master variable space and adds it to the master problem
transforms a constraint of the original problem into the master variable space and stores information about the constraints in the variable
- Parameters
-
gcg GCG data structure cons the constraint that should be transformed transcons pointer to store the transformed constraint
Definition at line 3982 of file relax_gcg.c.
References assert(), ensureSizeMasterConss(), SCIP_RelaxData::gcg, GCGconsGetLhs(), GCGconsGetRhs(), GCGgetMasterprob(), GCGgetOrigprob(), GCGgetRelax(), GCGmasterAddMasterconsToHashmap(), GCGmasterVarGetNOrigvars(), GCGmasterVarGetOrigvals(), GCGmasterVarGetOrigvars(), GCGoriginalVarAddCoef(), GCGrelaxTransOrigToMasterCons(), i, j, SCIP_RelaxData::masterconss, mastervars, SCIP_RelaxData::nmasterconss, nmastervars, SCIP_RelaxData::origmasterconss, and SCIP_CALL().
Referenced by GCG_DECL_BRANCHACTIVEMASTER(), and GCGrelaxTransOrigToMasterCons().
◆ GCGrelaxGetCurrentOrigSol()
| GCG_EXPORT SCIP_SOL * GCGrelaxGetCurrentOrigSol | ( | GCG * | gcg | ) |
returns the current solution for the original problem
- Parameters
-
gcg GCG data structure
Definition at line 4309 of file relax_gcg.c.
References assert(), SCIP_RelaxData::currentorigsol, GCGgetRelax(), and GCGrelaxGetCurrentOrigSol().
Referenced by GCGrelaxGetCurrentOrigSol(), if(), initBranch(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_SEPAEXECLP(), and SCIP_DECL_SEPAEXECLP().
◆ GCGrelaxIsOrigSolFeasible()
| GCG_EXPORT SCIP_Bool GCGrelaxIsOrigSolFeasible | ( | GCG * | gcg | ) |
returns whether the current solution is primal feasible in the original problem
- Parameters
-
gcg GCG data structure
Definition at line 4328 of file relax_gcg.c.
References assert(), GCGgetRelax(), GCGrelaxIsOrigSolFeasible(), and SCIP_RelaxData::origsolfeasible.
Referenced by GCGrelaxIsOrigSolFeasible(), SCIP_DECL_BRANCHEXECEXT(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_CONSENFOLP(), SCIP_DECL_SEPAEXECLP(), SCIP_DECL_SEPAEXECLP(), and while().
◆ GCGrelaxStartProbing()
| GCG_EXPORT SCIP_RETCODE GCGrelaxStartProbing | ( | GCG * | gcg, |
| SCIP_HEUR * | probingheur ) |
start probing mode on both the original and master problems
- Note
- This mode is intended for working on the original variables but using the master LP; it currently only supports bound changes on the original variables, but no additional rows
- Parameters
-
gcg GCG data structure probingheur heuristic that started probing mode, or NULL
Definition at line 4390 of file relax_gcg.c.
References assert(), SCIP_RelaxData::currentorigsol, SCIP_RelaxData::gcg, GCGgetMasterprob(), GCGgetOrigprob(), GCGgetRelax(), GCGrelaxStartProbing(), SCIP_RelaxData::masterinprobing, masterprob, SCIP_RelaxData::origsolfeasible, SCIP_RelaxData::probingheur, SCIP_CALL(), SCIP_RelaxData::storedfeasibility, and SCIP_RelaxData::storedorigsol.
Referenced by applyProbing(), executeStrongBranching(), GCGrelaxStartProbing(), SCIP_CALL(), and SCIP_DECL_HEUREXEC().
◆ GCGrelaxGetProbingheur()
| GCG_EXPORT SCIP_HEUR * GCGrelaxGetProbingheur | ( | GCG * | gcg | ) |
returns the heuristic that started probing in the master problem, or NULL
- Parameters
-
gcg GCG data structure
Definition at line 4437 of file relax_gcg.c.
References assert(), GCGgetRelax(), GCGrelaxGetProbingheur(), and SCIP_RelaxData::probingheur.
Referenced by createOriginalProblemSolution(), GCGrelaxGetProbingheur(), and GCGtransformMastersolToOrigsol().
◆ GCGrelaxNewProbingnodeOrig()
| GCG_EXPORT SCIP_RETCODE GCGrelaxNewProbingnodeOrig | ( | GCG * | gcg | ) |
add a new probing node the original problem together with an original branching constraint
- Note
- A corresponding probing node must be added to the master problem right before solving the probing LP
- Parameters
-
gcg GCG data structure
Definition at line 4459 of file relax_gcg.c.
References assert(), GCGconsOrigbranchGetActiveCons(), GCGcreateConsOrigbranch(), GCGgetMasterprob(), GCGgetOrigprob(), GCGgetRelax(), GCGrelaxNewProbingnodeOrig(), SCIP_RelaxData::masterinprobing, and SCIP_CALL().
Referenced by applyProbing(), executeStrongBranching(), GCGrelaxNewProbingnodeOrig(), and while().
◆ GCGrelaxNewProbingnodeMaster()
| GCG_EXPORT SCIP_RETCODE GCGrelaxNewProbingnodeMaster | ( | GCG * | gcg | ) |
add a new probing node the master problem together with a master branching constraint which ensures that bound changes are transferred to master and pricing problems
- Note
- A corresponding probing node must have been added to the original problem beforehand; furthermore, this method must be called after bound changes to the original problem have been made
- Parameters
-
gcg GCG data structure
Definition at line 4508 of file relax_gcg.c.
References assert(), SCIP_RelaxData::gcg, GCGconsMasterbranchGetActiveCons(), GCGcreateConsMasterbranch(), GCGgetMasterprob(), GCGgetOrigprob(), GCGgetRelax(), GCGrelaxNewProbingnodeMaster(), SCIP_RelaxData::masterinprobing, masterprob, and SCIP_CALL().
Referenced by applyProbing(), executeStrongBranching(), GCGrelaxNewProbingnodeMaster(), and while().
◆ GCGrelaxNewProbingnodeMasterCons()
| GCG_EXPORT SCIP_RETCODE GCGrelaxNewProbingnodeMasterCons | ( | GCG * | gcg, |
| GCG_BRANCHRULE * | branchrule, | ||
| GCG_BRANCHDATA * | branchdata, | ||
| SCIP_CONS ** | origbranchconss, | ||
| int | norigbranchconss, | ||
| int | maxorigbranchconss ) |
add a new probing node the master problem together with a master branching constraint which ensures that bound changes are transferred to master and pricing problems as well as additional constraints
- Note
- A corresponding probing node must have been added to the original problem beforehand; furthermore, this method must be called after bound changes to the original problem have been made
- Parameters
-
gcg GCG data structure branchrule pointer to the branching rule branchdata branching data origbranchconss original constraints enforcing the branching decision norigbranchconss number of original constraints maxorigbranchconss capacity of origbranchconss
Definition at line 4562 of file relax_gcg.c.
References assert(), SCIP_RelaxData::gcg, GCGconsMasterbranchGetActiveCons(), GCGcreateConsMasterbranch(), GCGgetMasterprob(), GCGgetOrigprob(), GCGgetRelax(), GCGrelaxNewProbingnodeMasterCons(), SCIP_RelaxData::masterinprobing, masterprob, and SCIP_CALL().
Referenced by GCGrelaxNewProbingnodeMasterCons(), and newProbingNodeRyanfosterMaster().
◆ GCGrelaxBacktrackProbing()
| GCG_EXPORT SCIP_RETCODE GCGrelaxBacktrackProbing | ( | GCG * | gcg, |
| int | probingdepth ) |
add probing nodes to both the original and master problem; furthermore, add origbranch and masterbranch constraints to transfer branching decisions from the original to the master problem
- Parameters
-
gcg GCG data structure probingdepth probing depth of the node in the probing path that should be reactivated
Definition at line 4618 of file relax_gcg.c.
References assert(), SCIP_RelaxData::gcg, GCGgetMasterprob(), GCGgetOrigprob(), GCGgetRelax(), GCGrelaxBacktrackProbing(), SCIP_RelaxData::masterinprobing, masterprob, and SCIP_CALL().
Referenced by GCGrelaxBacktrackProbing(), and while().
◆ GCGrelaxPerformProbing()
| GCG_EXPORT SCIP_RETCODE GCGrelaxPerformProbing | ( | GCG * | gcg, |
| int | maxlpiterations, | ||
| SCIP_Longint * | nlpiterations, | ||
| SCIP_Real * | lpobjvalue, | ||
| SCIP_Bool * | lpsolved, | ||
| SCIP_Bool * | lperror, | ||
| SCIP_Bool * | cutoff ) |
solve the master probing LP without pricing
- Parameters
-
gcg GCG data structure maxlpiterations maximum number of lp iterations allowed nlpiterations pointer to store the number of performed LP iterations (or NULL) lpobjvalue pointer to store the lp obj value if lp was solved lpsolved pointer to store whether the lp was solved lperror pointer to store whether an unresolved LP error occured or the solving process should be stopped (e.g., due to a time limit) cutoff pointer to store whether the probing direction is infeasible
Definition at line 4756 of file relax_gcg.c.
References cutoff, GCGrelaxPerformProbing(), lperror, lpsolved, nlpiterations, performProbing(), and SCIP_CALL().
Referenced by executeStrongBranching(), GCGrelaxPerformProbing(), and while().
◆ GCGrelaxPerformProbingWithPricing()
| GCG_EXPORT SCIP_RETCODE GCGrelaxPerformProbingWithPricing | ( | GCG * | gcg, |
| int | maxpricerounds, | ||
| SCIP_Longint * | nlpiterations, | ||
| int * | npricerounds, | ||
| SCIP_Real * | lpobjvalue, | ||
| SCIP_Bool * | lpsolved, | ||
| SCIP_Bool * | lperror, | ||
| SCIP_Bool * | cutoff ) |
solve the master probing LP with pricing
- Parameters
-
gcg GCG data structure maxpricerounds maximum number of pricing rounds allowed nlpiterations pointer to store the number of performed LP iterations (or NULL) npricerounds pointer to store the number of performed pricing rounds (or NULL) lpobjvalue pointer to store the lp obj value if lp was solved lpsolved pointer to store whether the lp was solved lperror pointer to store whether an unresolved LP error occured or the solving process should be stopped (e.g., due to a time limit) cutoff pointer to store whether the probing direction is infeasible
Definition at line 4775 of file relax_gcg.c.
References cutoff, GCGrelaxPerformProbingWithPricing(), lperror, lpsolved, nlpiterations, npricerounds, performProbing(), and SCIP_CALL().
Referenced by applyProbing(), executeStrongBranching(), GCGrelaxPerformProbingWithPricing(), performWeightedPricing(), and while().
◆ GCGrelaxEndProbing()
| GCG_EXPORT SCIP_RETCODE GCGrelaxEndProbing | ( | GCG * | gcg | ) |
end probing mode in both the original and master problems
- Parameters
-
gcg GCG data structure
Definition at line 4794 of file relax_gcg.c.
References assert(), SCIP_RelaxData::currentorigsol, SCIP_RelaxData::gcg, GCGgetMasterprob(), GCGgetOrigprob(), GCGgetRelax(), GCGrelaxEndProbing(), GCGtransformMastersolToOrigsol(), i, SCIP_RelaxData::lastmastersol, SCIP_RelaxData::masterinprobing, masterprob, nvars, SCIP_RelaxData::origsolfeasible, SCIP_RelaxData::probingheur, RELAX_INCLUDESLP, SCIP_CALL(), SCIPdebugMessage(), solval, SCIP_RelaxData::storedfeasibility, SCIP_RelaxData::storedorigsol, var, and vars.
Referenced by applyProbing(), executeStrongBranching(), GCGrelaxEndProbing(), SCIP_CALL(), and SCIP_DECL_HEUREXEC().
◆ GCGrelaxUpdateCurrentSol()
| GCG_EXPORT SCIP_RETCODE GCGrelaxUpdateCurrentSol | ( | GCG * | gcg | ) |
transforms the current solution of the master problem into the original problem's space and saves this solution as currentsol in the relaxator's data
- Parameters
-
gcg GCG data structure
Definition at line 4964 of file relax_gcg.c.
References assert(), checkAndAddExternalBranchingCandidate(), SCIP_RelaxData::currentorigsol, freeCurrentOrigSol(), GCG_DECMODE_BENDERS, GCG_DECMODE_DANTZIGWOLFE, GCGgetDecompositionMode(), GCGgetMasterprob(), GCGgetOrigprob(), GCGgetRelax(), GCGmasterIsSolValid(), GCGmasterVarGetNOrigvars(), GCGmasterVarGetOrigvars(), GCGrelaxUpdateCurrentSol(), GCGtransformMastersolToOrigsol(), GCGvarIsMaster(), i, j, SCIP_RelaxData::lastmasterlpiters, SCIP_RelaxData::lastmasternode, masterprob, mastervars, nmastervars, SCIP_RelaxData::origsolfeasible, RELAX_INCLUDESLP, SCIP_CALL(), and SCIPdebugMessage().
Referenced by GCGrelaxUpdateCurrentSol(), performProbing(), SCIP_DECL_BENDERSPOSTSOLVE(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_SEPAEXECLP(), and SCIP_DECL_SEPAEXECLP().
◆ GCGinitializeMasterProblemSolve()
| SCIP_RETCODE GCGinitializeMasterProblemSolve | ( | GCG * | gcg | ) |
initialize master problem for solving
- Parameters
-
gcg GCG data structure
Definition at line 5686 of file relax_gcg.c.
References assert(), GCGgetOrigprob(), GCGgetRelax(), GCGinitializeMasterProblemSolve(), and initializeMasterProblemSolve().
Referenced by GCGinitializeMasterProblemSolve(), and SCIP_DECL_EVENTEXEC().
◆ GCGstashLimitSettings()
| SCIP_RETCODE GCGstashLimitSettings | ( | GCG * | gcg | ) |
stash limit settings if not already stashed
- Note
- This function is used to prevent that SCIP interrupts (due to limits) the solving process when the B&B trees are not synchronized. Otherwise it may happen that SCIP creates a dummy node in one tree that cannot be mirrored to the other one.
- Parameters
-
gcg GCG data structure
Definition at line 5700 of file relax_gcg.c.
References assert(), GCGgetMasterprob(), GCGgetOrigprob(), GCGgetRelax(), GCGstashLimitSettings(), SCIP_RelaxData::limitsettingsstashed, masterprob, SCIP_CALL(), SCIP_RelaxData::stashedgaplimit, SCIP_RelaxData::stashednodelimit, SCIP_RelaxData::stashedsollimit, SCIP_RelaxData::stashedstallnodelimit, and SCIP_RelaxData::stashedtimelimit.
Referenced by GCGcreateConsMasterbranch(), GCGpresolve(), GCGsolve(), GCGstashLimitSettings(), and solveProblem().
◆ GCGrestoreLimitSettings()
| SCIP_RETCODE GCGrestoreLimitSettings | ( | GCG * | gcg | ) |
restore limit settings if currently stashed
- Parameters
-
gcg GCG data structure
Definition at line 5738 of file relax_gcg.c.
References assert(), GCGgetMasterprob(), GCGgetOrigprob(), GCGgetRelax(), GCGrestoreLimitSettings(), SCIP_RelaxData::limitsettingsstashed, masterprob, SCIP_CALL(), setMasterLimits(), SCIP_RelaxData::stashedgaplimit, SCIP_RelaxData::stashednodelimit, SCIP_RelaxData::stashedsollimit, SCIP_RelaxData::stashedstallnodelimit, and SCIP_RelaxData::stashedtimelimit.
Referenced by createBranchNodesInOrigprob(), GCGrestoreLimitSettings(), SCIP_DECL_NODESELSELECT(), and SCIP_DECL_RELAXEXEC().
◆ GCGsetPricingProblemParameters()
| SCIP_RETCODE GCGsetPricingProblemParameters | ( | GCG_DECTYPE | dectype, |
| SCIP * | pricingprob, | ||
| int | clocktype, | ||
| SCIP_Real | infinity, | ||
| SCIP_Real | epsilon, | ||
| SCIP_Real | sumepsilon, | ||
| SCIP_Real | feastol, | ||
| SCIP_Real | lpfeastolfactor, | ||
| SCIP_Real | dualfeastol, | ||
| SCIP_Bool | enableppcuts ) |
sets the pricing problem parameters
- Parameters
-
dectype the dectype of the decomp pricingprob SCIP data structure of the pricing problem clocktype clocktype to use in the pricing problem infinity values larger than this are considered infinity in the pricing problem epsilon absolute values smaller than this are considered zero in the pricing problem sumepsilon absolute values of sums smaller than this are considered zero in the pricing problem feastol feasibility tolerance for constraints in the pricing problem lpfeastolfactor primal feasibility tolerance factor of LP solver in the pricing problem dualfeastol feasibility tolerance for reduced costs in LP solution in the pricing problem enableppcuts should ppcuts be stored for sepa_basis
Definition at line 865 of file relax_gcg.c.
References assert(), GCG_DECTYPE_DIAGONAL, GCGsetPricingProblemParameters(), and SCIP_CALL().
Referenced by createPricingProblem(), GCGsetPricingProblemParameters(), and setTestpricingProblemParameters().
◆ GCGrelaxGetGcg()
| GCG_EXPORT GCG * GCGrelaxGetGcg | ( | SCIP * | origprob | ) |
returns the GCG data structure
- Parameters
-
origprob SCIP data structure
Definition at line 5788 of file relax_gcg.c.
References assert(), SCIP_RelaxData::gcg, GCGrelaxGetGcg(), origprob, and RELAX_NAME.
Referenced by GCGorigGetGcg(), and GCGrelaxGetGcg().
◆ GCGrelaxIncludeSepa()
| GCG_EXPORT SCIP_RETCODE GCGrelaxIncludeSepa | ( | GCG * | gcg, |
| SCIP_SEPA ** | sepa, | ||
| GCG_SEPA ** | gcgsepa, | ||
| const char * | name, | ||
| const char * | desc, | ||
| int | priority, | ||
| int | freq, | ||
| SCIP_Real | maxbounddist, | ||
| SCIP_Bool | usessubscip, | ||
| SCIP_Bool | delay, | ||
| SCIP_DECL_SEPAEXECLP((*sepaexeclp)) | , | ||
| SCIP_DECL_SEPAEXECSOL((*sepaexecsol)) | , | ||
| SCIP_SEPADATA * | sepadata, | ||
| GCG_DECL_SEPAGETCOLCOEFFICIENT((*sepagetcolcoef)) | ) |
includes a separator into the relaxator data
- Parameters
-
gcg SCIP data structure sepa pointer to store created scip separator gcgsepa pointer to store created GCG separator (can be NULL) name name of separator desc description of separator priority priority of separator (>= 0: before, < 0: after constraint handlers) freq frequency for calling separator maxbounddist maximal relative distance from current node's dual bound to primal bound compared to best node's dual bound for applying separation usessubscip does the separator use a secondary SCIP instance? delay should separator be delayed, if other separators found cuts? - LP solution separation method of separator - arbitrary primal solution separation method of separator sepadata separator data - method for computing the column coefficient for a cut callback to delete the mastersepacutdata
Definition at line 5807 of file relax_gcg.c.
References assert(), ensureSizeSeparators(), GCG_DECL_SEPAGETCOLCOEFFICIENT, GCG_DECL_SEPAMASTERCUTDELETE, GCGgetMasterprob(), GCGgetOrigprob(), GCGgetRelax(), GCGrelaxIncludeSepa(), SCIP_RelaxData::nseparators, SCIP_CALL(), GCG_Sepa::separator, and SCIP_RelaxData::separators.
Referenced by GCGrelaxIncludeSepa(), and SCIPincludeSepaSubsetrow().