reopt.h
Go to the documentation of this file.
21 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/ 157 * First, we check whether the current node is the root node, e.g., node == NULL. In this case, we do not need to calculate 161 * 3. the last n optimal solutions were found by heur_reoptsols (in this case, the stored tree was only needed to 164 * If the current node is different to the root node we calculate the local similarity, i.e., exclude all variables 287 /** returns the number of leaf nodes of the subtree induced by @p node (of the whole tree if node == NULL) */ 294 /** returns the child nodes of @p node that need to be reoptimized next or NULL if @p node is a leaf */ 393 /** splits the root into several nodes and moves the child nodes of the root to one of the created nodes */
SCIP_REOPTNODE * SCIPreoptGetReoptnode(SCIP_REOPT *reopt, unsigned int id) Definition: reopt.c:4524 SCIP_Real SCIPreoptGetSimToPrevious(SCIP_REOPT *reopt) Definition: reopt.c:4471 Definition: struct_scip.h:53 SCIP_RETCODE SCIPreoptApplyCompression(SCIP_REOPT *reopt, SCIP_SET *set, BMS_BLKMEM *blkmem, SCIP_REOPTNODE **representatives, int nrepresentatives, SCIP_Bool *success) Definition: reopt.c:5320 SCIP_SOL * SCIPreoptGetBestSolRun(SCIP_REOPT *reopt, int run) Definition: reopt.c:4554 SCIP_Bool SCIPreoptGetSolveLP(SCIP_REOPT *reopt, SCIP_SET *set, SCIP_NODE *node) Definition: reopt.c:6252 SCIP_RETCODE SCIPreoptnodeDelete(SCIP_REOPTNODE **reoptnode, BMS_BLKMEM *blkmem) Definition: reopt.c:6346 Definition: struct_var.h:196 SCIP_RETCODE SCIPreoptFree(SCIP_REOPT **reopt, SCIP_SET *set, SCIP_PRIMAL *origprimal, BMS_BLKMEM *blkmem) Definition: reopt.c:4042 int SCIPreoptGetNLeaves(SCIP_REOPT *reopt, SCIP_NODE *node) Definition: reopt.c:4766 SCIP_RETCODE SCIPreoptGetLeaves(SCIP_REOPT *reopt, SCIP_NODE *node, unsigned int *leaves, int leavessize, int *nleaves) Definition: reopt.c:5211 SCIP_RETCODE SCIPreoptnodeAddCons(SCIP_REOPTNODE *reoptnode, BMS_BLKMEM *blkmem, SCIP_VAR **consvars, SCIP_Real *consvals, int nvars, REOPT_CONSTYPE constype) Definition: reopt.c:6387 SCIP_RETCODE SCIPreoptApply(SCIP_REOPT *reopt, SCIP *scip, SCIP_SET *set, SCIP_STAT *stat, SCIP_PROB *transprob, SCIP_PROB *origprob, SCIP_TREE *tree, SCIP_LP *lp, SCIP_BRANCHCAND *branchcand, SCIP_EVENTQUEUE *eventqueue, SCIP_CLIQUETABLE *cliquetable, BMS_BLKMEM *blkmem, unsigned int randseed, SCIP_REOPTNODE *reoptnode, unsigned int id, SCIP_Real estimate, SCIP_NODE **childnodes, int *ncreatedchilds, int *naddedconss, int childnodessize, SCIP_Bool *success) Definition: reopt.c:5738 Definition: struct_primal.h:36 SCIP_RETCODE SCIPreoptGetSolsRun(SCIP_REOPT *reopt, int run, SCIP_SOL **sols, int solssize, int *nsols) Definition: reopt.c:4339 SCIP_RETCODE SCIPreoptAddDualBndchg(SCIP_REOPT *reopt, SCIP_SET *set, BMS_BLKMEM *blkmem, SCIP_NODE *node, SCIP_VAR *var, SCIP_Real newval, SCIP_Real oldval) Definition: reopt.c:5073 SCIP_RETCODE SCIPreoptAddSol(SCIP_REOPT *reopt, SCIP_SET *set, SCIP_STAT *stat, SCIP_PRIMAL *origprimal, BMS_BLKMEM *blkmem, SCIP_SOL *sol, SCIP_Bool bestsol, SCIP_Bool *added, SCIP_VAR **vars, int nvars, int run) Definition: reopt.c:4155 Definition: struct_reopt.h:65 Definition: struct_prob.h:38 void SCIPreoptSetNImprovingSols(SCIP_REOPT *reopt, int nimprovingsols) Definition: reopt.c:4297 public methods for reoptimization type definitions for return codes for SCIP methods SCIP_Real SCIPreoptGetOldObjCoef(SCIP_REOPT *reopt, int run, int idx) Definition: reopt.c:4538 type definitions for collecting reoptimization information Definition: struct_tree.h:122 int SCIPreoptGetNDualBndchgs(SCIP_REOPT *reopt, SCIP_NODE *node) Definition: reopt.c:5138 Definition: struct_sol.h:50 Definition: struct_set.h:56 void SCIPreoptnodeGetPath(SCIP_REOPT *reopt, SCIP_REOPTNODE *reoptnode, SCIP_VAR **vars, SCIP_Real *vals, SCIP_BOUNDTYPE *boundtypes, int varssize, int *nbndchgs, int *nbndchgsafterdual) Definition: reopt.c:5664 void SCIPreoptnodeInit(SCIP_REOPTNODE *reoptnode, SCIP_SET *set) Definition: reopt.c:6295 SCIP_RETCODE SCIPreoptSaveOpenNodes(SCIP_REOPT *reopt, SCIP_SET *set, BMS_BLKMEM *blkmem, SCIP_NODE **leaves, int nleaves, SCIP_NODE **childs, int nchilds, SCIP_NODE **siblings, int nsiblings) Definition: reopt.c:5271 SCIP_SOL * SCIPreoptGetLastBestSol(SCIP_REOPT *reopt) Definition: reopt.c:4508 SCIP_RETCODE SCIPreoptCreate(SCIP_REOPT **reopt, SCIP_SET *set, BMS_BLKMEM *blkmem) Definition: reopt.c:3977 SCIP_RETCODE SCIPreoptResetDualBndchgs(SCIP_REOPT *reopt, SCIP_NODE *node, BMS_BLKMEM *blkmem) Definition: reopt.c:5639 SCIP_RETCODE SCIPreoptAddRun(SCIP_REOPT *reopt, SCIP_SET *set, BMS_BLKMEM *blkmem, SCIP_VAR **vars, int nvars, int size) Definition: reopt.c:4234 int SCIPreoptGetNNodes(SCIP_REOPT *reopt, SCIP_NODE *node) Definition: reopt.c:4581 SCIP_RETCODE SCIPreoptCheckRestart(SCIP_REOPT *reopt, SCIP_SET *set, BMS_BLKMEM *blkmem, SCIP_NODE *node, SCIP_VAR **transvars, int ntransvars, SCIP_Bool *restart) Definition: reopt.c:4408 SCIP_RETCODE SCIPreoptSplitRoot(SCIP_REOPT *reopt, SCIP_TREE *tree, SCIP_SET *set, BMS_BLKMEM *blkmem, unsigned int randseed, int *ncreatedchilds, int *naddedconss) Definition: reopt.c:5420 data structures for collecting reoptimization information SCIP_RETCODE SCIPreoptDeleteNode(SCIP_REOPT *reopt, SCIP_SET *set, unsigned int id, BMS_BLKMEM *blkmem) Definition: reopt.c:5719 SCIP_RETCODE SCIPreoptnodeAddBndchg(SCIP_REOPTNODE *reoptnode, BMS_BLKMEM *blkmem, SCIP_VAR *var, SCIP_Real val, SCIP_BOUNDTYPE boundtype) Definition: reopt.c:6360 Definition: struct_reopt.h:113 int SCIPreoptGetNAddedConss(SCIP_REOPT *reopt, SCIP_NODE *node) Definition: reopt.c:4131 SCIP_RETCODE SCIPreoptGetChildIDs(SCIP_REOPT *reopt, SCIP_SET *set, BMS_BLKMEM *blkmem, SCIP_NODE *node, unsigned int *childs, int childssize, int *nchilds) Definition: reopt.c:5158 Definition: struct_lp.h:255 Definition: struct_implics.h:86 SCIP_RETCODE SCIPreoptnodeReset(SCIP_REOPT *reopt, SCIP_SET *set, BMS_BLKMEM *blkmem, SCIP_REOPTNODE *reoptnode) Definition: reopt.c:6328 SCIP_Real SCIPreoptGetSimilarity(SCIP_REOPT *reopt, SCIP_SET *set, int run1, int run2, SCIP_VAR **transvars, int ntransvars) Definition: reopt.c:4489 Definition: struct_stat.h:44 SCIP_RETCODE SCIPreoptAddInfNode(SCIP_REOPT *reopt, SCIP_SET *set, BMS_BLKMEM *blkmem, SCIP_NODE *node) Definition: reopt.c:4801 Definition: struct_tree.h:165 void SCIPreoptSetNCheckedSols(SCIP_REOPT *reopt, int ncheckedsols) Definition: reopt.c:4276 type definitions for collecting primal CIP solutions and primal informations common defines and data types used in all packages of SCIP Definition: struct_event.h:204 Definition: objbranchrule.h:33 Definition: struct_branch.h:36 SCIP_RETCODE SCIPreoptAddGlbCons(SCIP_REOPT *reopt, SCIP_VAR **vars, SCIP_Real *vals, int nvars, BMS_BLKMEM *blkmem) Definition: reopt.c:6136 SCIP_RETCODE SCIPreoptAddOptSol(SCIP_REOPT *reopt, SCIP_SOL *sol, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_STAT *stat, SCIP_PRIMAL *origprimal) Definition: reopt.c:4208 SCIP_RETCODE SCIPreoptCheckCutoff(SCIP_REOPT *reopt, SCIP_SET *set, BMS_BLKMEM *blkmem, SCIP_NODE *node, SCIP_EVENTTYPE eventtype, SCIP_LPSOLSTAT lpsolstat, SCIP_Bool isrootnode, SCIP_Bool isfocusnode, SCIP_Real lowerbound, int effectiverootdepth) Definition: reopt.c:4825 SCIP_RETCODE SCIPreoptApplyGlbConss(SCIP *scip, SCIP_REOPT *reopt, SCIP_SET *set, SCIP_STAT *stat, BMS_BLKMEM *blkmem) Definition: reopt.c:6173 |