Loading...
Searching...
No Matches
relax_gcg.h
Go to the documentation of this file.
39/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
71 int maxdepth, /**< maximal depth level, up to which this branching rule should be used (or -1) */
72 SCIP_Real maxbounddist, /**< maximal relative distance from current node's dual bound to primal bound
77 GCG_DECL_BRANCHDEACTIVEMASTER((*branchdeactivemaster)),/**< deactivation method for branchrule */
82 GCG_DECL_BRANCHGETEXTENDEDMASTERCONS((*branchgetextendedmastercons)), /**< extended master cons getter of branching rule */
83 GCG_DECL_BRANCHGETEXTENDEDMASTERCONSCOEFF((*branchgetextendedmasterconscoeff)) /**< column coefficient calculation method for extended master conss */
130/** notifies the branching rule that a new mastervariable was created while this node was active */
152 GCG_BRANCHRULE*** branchrules, /**< branching rules that created extended master conss (can be NULL) */
153 GCG_BRANCHDATA*** branchdata, /**< data represeting the branching decisions of the active nodes (can be NULL) */
154 GCG_EXTENDEDMASTERCONSDATA*** extendedmasterconsdata, /**< array of extended master conss generated by branching in all currently active nodes */
155 int* nextendedmasterconss /**< number of currently active branching rules that created extended master conss */
199 * @note A corresponding probing node must be added to the master problem right before solving the probing LP
210 * furthermore, this method must be called after bound changes to the original problem have been made
218 * which ensures that bound changes are transferred to master and pricing problems as well as additional
222 * furthermore, this method must be called after bound changes to the original problem have been made
241 int probingdepth /**< probing depth of the node in the probing path that should be reactivated */
249 SCIP_Longint* nlpiterations, /**< pointer to store the number of performed LP iterations (or NULL) */
262 SCIP_Longint* nlpiterations, /**< pointer to store the number of performed LP iterations (or NULL) */
292 * @note This function is used to prevent that SCIP interrupts (due to limits) the solving process when the B&B trees are not synchronized.
293 * Otherwise it may happen that SCIP creates a dummy node in one tree that cannot be mirrored to the other one.
319 SCIP_Real infinity, /**< values larger than this are considered infinity in the pricing problem */
320 SCIP_Real epsilon, /**< absolute values smaller than this are considered zero in the pricing problem */
321 SCIP_Real sumepsilon, /**< absolute values of sums smaller than this are considered zero in the pricing problem */
323 SCIP_Real lpfeastolfactor, /**< primal feasibility tolerance factor of LP solver in the pricing problem */
324 SCIP_Real dualfeastol, /**< feasibility tolerance for reduced costs in LP solution in the pricing problem */
344 SCIP_Real maxbounddist, /**< maximal relative distance from current node's dual bound to primal bound compared
349 SCIP_DECL_SEPAEXECSOL ((*sepaexecsol)), /**< arbitrary primal solution separation method of separator */
351 GCG_DECL_SEPAGETCOLCOEFFICIENT((*sepagetcolcoef)),/**< method for computing the column coefficient for a cut */
352 GCG_DECL_SEPAMASTERCUTDELETE((*sepamastercutdelete))/**< callback to delete the mastersepacutdata */
#define SCIP_Longint
#define SCIP_Bool
#define SCIP_Real
#define infinity
GCG interface methods.
Definition class_conspartition.cpp:44
SCIP_RETCODE GCGrelaxBranchActiveMaster(GCG *gcg, GCG_BRANCHRULE *branchrule, GCG_BRANCHDATA *branchdata)
Definition relax_gcg.c:3781
SCIP_RETCODE GCGrelaxBranchGetAllActiveExtendedMasterConss(GCG *gcg, GCG_BRANCHRULE ***branchrules, GCG_BRANCHDATA ***branchdata, GCG_EXTENDEDMASTERCONSDATA ***extendedmasterconsdata, int *nextendedmasterconss)
Definition relax_gcg.c:3931
SCIP_RETCODE GCGrelaxNewProbingnodeMaster(GCG *gcg)
Definition relax_gcg.c:4508
SCIP_RETCODE GCGrelaxBranchPropMaster(GCG *gcg, GCG_BRANCHRULE *branchrule, GCG_BRANCHDATA *branchdata, SCIP_RESULT *result)
Definition relax_gcg.c:3837
SCIP_RETCODE GCGrelaxBranchMasterSolved(GCG *gcg, GCG_BRANCHRULE *branchrule, GCG_BRANCHDATA *branchdata, SCIP_Real newlowerbound)
Definition relax_gcg.c:3961
SCIP_RETCODE GCGrelaxBranchNewCol(GCG *gcg, GCG_BRANCHRULE *branchrule, GCG_BRANCHDATA *branchdata, SCIP_VAR *mastervar)
Definition relax_gcg.c:3885
SCIP_RETCODE GCGrelaxNewProbingnodeMasterCons(GCG *gcg, GCG_BRANCHRULE *branchrule, GCG_BRANCHDATA *branchdata, SCIP_CONS **origbranchconss, int norigbranchconss, int maxorigbranchconss)
Definition relax_gcg.c:4562
SCIP_RETCODE GCGrelaxPerformProbing(GCG *gcg, int maxlpiterations, SCIP_Longint *nlpiterations, SCIP_Real *lpobjvalue, SCIP_Bool *lpsolved, SCIP_Bool *lperror, SCIP_Bool *cutoff)
Definition relax_gcg.c:4756
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)),)
Definition relax_gcg.c:3717
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)),)
Definition relax_gcg.c:5807
SCIP_RETCODE GCGrelaxStartProbing(GCG *gcg, SCIP_HEUR *probingheur)
Definition relax_gcg.c:4390
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)
Definition relax_gcg.c:865
SCIP_RETCODE GCGrelaxBranchDataDelete(GCG *gcg, GCG_BRANCHRULE *branchrule, GCG_BRANCHDATA **branchdata, SCIP_Bool origbranch, SCIP_Bool force)
Definition relax_gcg.c:3858
SCIP_RETCODE GCGrelaxTransOrigToMasterCons(GCG *gcg, SCIP_CONS *cons, SCIP_CONS **transcons)
Definition relax_gcg.c:3982
SCIP_RETCODE GCGrelaxNewProbingnodeOrig(GCG *gcg)
Definition relax_gcg.c:4459
SCIP_RETCODE GCGinitializeMasterProblemSolve(GCG *gcg)
Definition relax_gcg.c:5686
SCIP_RETCODE GCGrelaxPerformProbingWithPricing(GCG *gcg, int maxpricerounds, SCIP_Longint *nlpiterations, int *npricerounds, SCIP_Real *lpobjvalue, SCIP_Bool *lpsolved, SCIP_Bool *lperror, SCIP_Bool *cutoff)
Definition relax_gcg.c:4775
SCIP_RETCODE GCGrelaxBacktrackProbing(GCG *gcg, int probingdepth)
Definition relax_gcg.c:4618
SCIP_RETCODE GCGrelaxBranchGetExtendedMasterCons(GCG *gcg, GCG_BRANCHRULE *branchrule, GCG_BRANCHDATA *branchdata, GCG_EXTENDEDMASTERCONSDATA **extendedmasterconsdata)
Definition relax_gcg.c:3905
SCIP_RETCODE GCGrelaxBranchDeactiveMaster(GCG *gcg, GCG_BRANCHRULE *branchrule, GCG_BRANCHDATA *branchdata)
Definition relax_gcg.c:3809
struct SCIP_Branchrule SCIP_BRANCHRULE
struct SCIP_BranchruleData SCIP_BRANCHRULEDATA
#define GCG_DECL_BRANCHGETEXTENDEDMASTERCONSCOEFF(x)
Definition type_branchgcg.h:151
#define GCG_DECL_BRANCHGETEXTENDEDMASTERCONS(x)
Definition type_branchgcg.h:136
struct SCIP_Cons SCIP_CONS
struct GCG_ExtendedMasterConsData GCG_EXTENDEDMASTERCONSDATA
Definition type_extendedmasterconsdata.h:57
struct SCIP_Heur SCIP_HEUR
enum SCIP_Result SCIP_RESULT
enum SCIP_Retcode SCIP_RETCODE
struct Scip SCIP
struct SCIP_SepaData SCIP_SEPADATA
#define SCIP_DECL_SEPAEXECSOL(x)
#define SCIP_DECL_SEPAEXECLP(x)
struct SCIP_Sepa SCIP_SEPA
struct SCIP_Sol SCIP_SOL
struct SCIP_Var SCIP_VAR