prob.c
Go to the documentation of this file.
21 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/ 181 * If the problem type requires the use of variable pricers, these pricers should be activated with calls 182 * to SCIPactivatePricer(). These pricers are automatically deactivated, when the problem is freed. 193 SCIP_HASHMAP* consmap, /**< a hashmap to store the mapping of source constraints to the corresponding 213 SCIP_CALL( SCIPprobCreate(prob, blkmem, set, name, NULL, NULL, NULL, NULL, NULL, NULL, NULL, FALSE) ); 218 SCIP_CALL( sourceprob->probcopy(set->scip, sourcescip, sourceprob->probdata, varmap, consmap, &targetdata, global, &result) ); 247 * If the problem type requires the use of variable pricers, these pricers should be activated with calls 248 * to SCIPactivatePricer(). These pricers are automatically deactivated, when the problem is freed. 256 SCIP_DECL_PROBTRANS ((*probtrans)), /**< creates user data of transformed problem by transforming original user data */ 258 SCIP_DECL_PROBINITSOL ((*probinitsol)), /**< solving process initialization method of transformed data */ 259 SCIP_DECL_PROBEXITSOL ((*probexitsol)), /**< solving process deinitialization method of transformed data */ 260 SCIP_DECL_PROBCOPY ((*probcopy)), /**< copies user data if you want to copy it to a subscip, or NULL */ 338 /** sets callback to create user data of transformed problem by transforming original user data */ 341 SCIP_DECL_PROBTRANS ((*probtrans)) /**< creates user data of transformed problem by transforming original user data */ 363 SCIP_DECL_PROBINITSOL ((*probinitsol)) /**< solving process initialization callback of transformed data */ 374 SCIP_DECL_PROBEXITSOL ((*probexitsol)) /**< solving process deinitialization callback of transformed data */ 385 SCIP_DECL_PROBCOPY ((*probcopy)) /**< copies user data if you want to copy it to a subscip, or NULL */ 515 /* create target problem data (probdelorig and probtrans are not needed, probdata is set later) */ 517 SCIP_CALL( SCIPprobCreate(target, blkmem, set, transname, source->probdelorig, source->probtrans, source->probdeltrans, 533 SCIP_CALL( SCIPvarTransform(source->vars[v], blkmem, set, stat, source->objsense, &targetvar) ); 534 SCIP_CALL( SCIPprobAddVar(*target, blkmem, set, lp, branchcand, eventfilter, eventqueue, targetvar) ); 565 /* objective value is always integral, iff original objective value is always integral and shift is integral */ 566 (*target)->objisintegral = source->objisintegral && SCIPsetIsIntegral(set, (*target)->objoffset); 568 /* check, whether objective value is always integral by inspecting the problem, if it is the case adjust the 571 SCIP_CALL( SCIPprobCheckObjIntegral(*target, source, blkmem, set, stat, primal, tree, reopt, lp, eventqueue) ); 582 /** resets the global and local bounds of original variables in original problem to their original values */ 604 /** (Re)Sort the variables, which appear in the four categories (binary, integer, implicit, continuous) after presolve 605 * with respect to their original index (within their categories). Adjust the problem index afterwards which is 606 * supposed to reflect the position in the variable array. This additional (re)sorting is supposed to get more robust 607 * against the order presolving fixed variables. (We also reobtain a possible block structure induced by the user 657 SCIPdebugMessage("Variable: Problem index <%d>, original index <%d> \n", vars[v]->probindex, vars[v]->index); 698 /* original variables cannot go into transformed problem and transformed variables cannot go into original problem */ 752 || (SCIPvarGetType(var) == SCIP_VARTYPE_INTEGER && insertpos == prob->nbinvars + prob->nintvars - 1) 753 || (SCIPvarGetType(var) == SCIP_VARTYPE_IMPLINT && insertpos == prob->nbinvars + prob->nintvars + prob->nimplvars - 1) 815 /* move last binary, last integer, last implicit, and last continuous variable forward to fill the free slot */ 855 /* inform the variable that it is no longer in the problem; if necessary, delete it from the implication graph */ 911 /* original variables cannot go into transformed problem and transformed variables cannot go into original problem */ 942 SCIPdebugMessage("added variable <%s> to problem (%d variables: %d binary, %d integer, %d implicit, %d continuous)\n", 943 SCIPvarGetName(var), prob->nvars, prob->nbinvars, prob->nintvars, prob->nimplvars, prob->ncontvars); 960 /** marks variable to be removed from the problem; however, the variable is NOT removed from the constraints */ 967 SCIP_Bool* deleted /**< pointer to store whether marking variable to be deleted was successful */ 986 /* don't remove the direct counterpart of an original variable from the transformed problem, because otherwise 994 SCIPdebugMessage("deleting variable <%s> from problem (%d variables: %d binary, %d integer, %d implicit, %d continuous)\n", 995 SCIPvarGetName(var), prob->nvars, prob->nbinvars, prob->nintvars, prob->nimplvars, prob->ncontvars); 1011 /* remember that the variable should be deleted from the problem in SCIPprobPerformVarDeletions() */ 1039 * do this only in solving stage, in presolving, it is already handled by the constraint handlers 1173 /* variable switched from unfixed to fixed (if it was fixed before, probindex would have been -1) */ 1294 /** releases and removes constraint from the problem; if the user has not captured the constraint for his own use, the 1391 SCIPdebugMessage("adding %g to objective offset %g: new offset = %g\n", addval, prob->objoffset, prob->objoffset + addval); 1406 /** sets limit on objective function, such that only solutions better than this limit are accepted */ 1417 /** informs the problem, that its objective value is always integral in every feasible solution */ 1427 /** sets integral objective value flag, if all variables with non-zero objective values are integral and have 1428 * integral objective value and also updates the cutoff bound if primal solution is already known 1453 /* if there exist unknown variables, we cannot conclude that the objective value is always integral */ 1470 /* if variable's objective value is fractional, the problem's objective value may also be fractional */ 1474 /* if variable with non-zero objective value is continuous, the problem's objective value may be fractional */ 1485 /* update upper bound and cutoff bound in primal data structure due to new internality information */ 1486 SCIP_CALL( SCIPprimalUpdateObjoffset(primal, blkmem, set, stat, eventqueue, transprob, origprob, tree, reopt, lp) ); 1588 SCIP_CALL( SCIPcalcIntegralScalar(objvals, nints, -SCIPsetEpsilon(set), +SCIPsetEpsilon(set), OBJSCALE_MAXDNOM, OBJSCALE_MAXSCALE, 1613 SCIPdebugMessage("integral objective scalar: gcd=%" SCIP_LONGINT_FORMAT ", intscalar=%g\n", gcd, intscalar); 1638 SCIPdebugMessage(" -> var <%s>: newobj = %.6f\n", SCIPvarGetName(transprob->vars[v]), objvals[v]); 1639 SCIP_CALL( SCIPvarChgObj(transprob->vars[v], blkmem, set, transprob, primal, lp, eventqueue, objvals[v]) ); 1647 SCIP_CALL( SCIPprimalUpdateObjoffset(primal, blkmem, set, stat, eventqueue, transprob, origprob, tree, reopt, lp) ); 1683 /** remembers the best solution w.r.t. root reduced cost propagation as root solution in the problem variables */ 1773 /* update the current solution as best root solution in the problem variables if it is better */ 1778 /** informs problem, that the presolving process was finished, and updates all internal data structures */ 1787 /** initializes problem for branch and bound process and resets all constraint's ages and histories of current run */ 1822 /** deinitializes problem after branch and bound process, and converts all COLUMN variables back into LOOSE variables */ 1856 /* invalided root reduced cost, root reduced solution, and root LP objective value for each variable */ 1886 /** returns the number of implicit binary variables, meaning variable of vartype != SCIP_VARTYPE_BINARY and != 1889 * @note this number needs to be computed, because it cannot be updated like the other counters for binary and integer 1890 * variables, each time the variable type changes(, we would need to update this counter each time a global bound 1891 * changes), even at the end of presolving this cannot be computed, because some variable can change to an 1971 return (SCIP_Real)transprob->objsense * transprob->objscale * (objval + transprob->objoffset) + origprob->objoffset; 1993 return (SCIP_Real)transprob->objsense * (objval - origprob->objoffset)/transprob->objscale - transprob->objoffset; 2007 SCIPerrorMessage("Cannot find variable if variable-names hashtable was disabled (due to parameter <misc/usevartable>)\n"); 2026 SCIPerrorMessage("Cannot find constraint if constraint-names hashtable was disabled (due to parameter <misc/useconstable>)\n"); 2066 SCIPmessageFPrintInfo(messagehdlr, file, " Variables : %d (%d binary, %d integer, %d implicit integer, %d continuous)\n", 2068 SCIPmessageFPrintInfo(messagehdlr, file, " Constraints : %d initial, %d maximal\n", prob->startnconss, prob->maxnconss); 2070 SCIPmessageFPrintInfo(messagehdlr, file, " Objective sense : %s\n", prob->objsense == SCIP_OBJSENSE_MINIMIZE ? "minimize" : "maximize"); 2137 /** returns TRUE iff all columns, i.e. every variable with non-empty column w.r.t. all ever created rows, are present 2138 * in the LP, and FALSE, if there are additional already existing columns, that may be added to the LP in pricing 2160 return prob->objlim >= SCIP_INVALID ? (SCIP_Real)(prob->objsense) * SCIPsetInfinity(set) : prob->objlim;
Definition: type_result.h:33 internal methods for managing events void SCIPvarUpdateBestRootSol(SCIP_VAR *var, SCIP_SET *set, SCIP_Real rootsol, SCIP_Real rootredcost, SCIP_Real rootlpobjval) Definition: var.c:12537 SCIP_RETCODE SCIPlpUpdateAddVar(SCIP_LP *lp, SCIP_SET *set, SCIP_VAR *var) Definition: lp.c:15981 SCIP_RETCODE SCIPconsActivate(SCIP_CONS *cons, SCIP_SET *set, SCIP_STAT *stat, int depth, SCIP_Bool focusnode) Definition: cons.c:6379 internal methods for branch and bound tree Definition: type_var.h:40 Definition: struct_scip.h:53 SCIP_RETCODE SCIPhashtableInsert(SCIP_HASHTABLE *hashtable, void *element) Definition: misc.c:1567 Definition: type_prob.h:38 void SCIPprobUpdateBestRootSol(SCIP_PROB *prob, SCIP_SET *set, SCIP_STAT *stat, SCIP_LP *lp) Definition: prob.c:1684 SCIP_Bool SCIPsetIsFeasEQ(SCIP_SET *set, SCIP_Real val1, SCIP_Real val2) Definition: set.c:5578 void SCIPlpSetRootLPIsRelax(SCIP_LP *lp, SCIP_Bool isrelax) Definition: lp.c:19295 SCIP_RETCODE SCIPeventqueueAdd(SCIP_EVENTQUEUE *eventqueue, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_PRIMAL *primal, SCIP_LP *lp, SCIP_BRANCHCAND *branchcand, SCIP_EVENTFILTER *eventfilter, SCIP_EVENT **event) Definition: event.c:2057 Definition: type_result.h:49 SCIP_RETCODE SCIPprobChgVarType(SCIP_PROB *prob, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_BRANCHCAND *branchcand, SCIP_CLIQUETABLE *cliquetable, SCIP_VAR *var, SCIP_VARTYPE vartype) Definition: prob.c:1093 SCIP_RETCODE SCIPprobVarChangedStatus(SCIP_PROB *prob, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_BRANCHCAND *branchcand, SCIP_CLIQUETABLE *cliquetable, SCIP_VAR *var) Definition: prob.c:1139 void SCIPprobAddObjoffset(SCIP_PROB *prob, SCIP_Real addval) Definition: prob.c:1383 Definition: struct_var.h:196 void SCIPprobStoreRootSol(SCIP_PROB *prob, SCIP_SET *set, SCIP_LP *lp, SCIP_Bool roothaslp) Definition: prob.c:1661 Definition: struct_primal.h:36 SCIP_Bool SCIPsetIsFeasIntegral(SCIP_SET *set, SCIP_Real val) Definition: set.c:5721 Definition: struct_event.h:169 SCIP_RETCODE SCIPvarTransform(SCIP_VAR *origvar, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_STAT *stat, SCIP_OBJSENSE objsense, SCIP_VAR **transvar) Definition: var.c:3277 Definition: struct_message.h:35 void SCIPprobSetExitsol(SCIP_PROB *prob, SCIP_DECL_PROBEXITSOL((*probexitsol))) Definition: prob.c:372 Definition: type_var.h:53 SCIP_Real SCIPprobInternObjval(SCIP_PROB *transprob, SCIP_PROB *origprob, SCIP_SET *set, SCIP_Real objval) Definition: prob.c:1975 internal methods for branching rules and branching candidate storage void SCIPvarSetBestRootSol(SCIP_VAR *var, SCIP_Real rootsol, SCIP_Real rootredcost, SCIP_Real rootlpobjval) Definition: var.c:13101 SCIP_RETCODE SCIPprobInitSolve(SCIP_PROB *prob, SCIP_SET *set) Definition: prob.c:1788 Definition: struct_prob.h:38 SCIP_RETCODE SCIPprobScaleObj(SCIP_PROB *transprob, SCIP_PROB *origprob, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_STAT *stat, SCIP_PRIMAL *primal, SCIP_TREE *tree, SCIP_REOPT *reopt, SCIP_LP *lp, SCIP_EVENTQUEUE *eventqueue) Definition: prob.c:1537 SCIP_RETCODE SCIPprobFree(SCIP_PROB **prob, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_STAT *stat, SCIP_EVENTQUEUE *eventqueue, SCIP_LP *lp) Definition: prob.c:394 void SCIPprobUpdateNObjVars(SCIP_PROB *prob, SCIP_SET *set, SCIP_Real oldobj, SCIP_Real newobj) Definition: prob.c:1493 SCIP_Bool SCIPconshdlrNeedsCons(SCIP_CONSHDLR *conshdlr) Definition: cons.c:4781 internal methods for LP management SCIP_RETCODE SCIPconsResetAge(SCIP_CONS *cons, SCIP_SET *set) Definition: cons.c:6787 internal methods for collecting primal CIP solutions and primal informations Definition: type_retcode.h:44 SCIP_RETCODE SCIPhashtableCreate(SCIP_HASHTABLE **hashtable, BMS_BLKMEM *blkmem, int tablesize, SCIP_DECL_HASHGETKEY((*hashgetkey)), SCIP_DECL_HASHKEYEQ((*hashkeyeq)), SCIP_DECL_HASHKEYVAL((*hashkeyval)), void *userptr) Definition: misc.c:1480 Definition: struct_lp.h:123 Definition: struct_set.h:56 void SCIPprobPrintPseudoSol(SCIP_PROB *prob, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr) Definition: prob.c:2035 SCIP_RETCODE SCIPprobAddConsName(SCIP_PROB *prob, SCIP_CONS *cons) Definition: prob.c:1197 void SCIPprobSetInitsol(SCIP_PROB *prob, SCIP_DECL_PROBINITSOL((*probinitsol))) Definition: prob.c:361 static SCIP_RETCODE probEnsureVarsMem(SCIP_PROB *prob, SCIP_SET *set, int num) Definition: prob.c:54 SCIP_RETCODE SCIPvarChgType(SCIP_VAR *var, SCIP_VARTYPE vartype) Definition: var.c:5713 void SCIPprobSetCopy(SCIP_PROB *prob, SCIP_DECL_PROBCOPY((*probcopy))) Definition: prob.c:383 Definition: struct_misc.h:101 SCIP_Real SCIPvarGetImplRedcost(SCIP_VAR *var, SCIP_SET *set, SCIP_Bool varfixing, SCIP_STAT *stat, SCIP_PROB *prob, SCIP_LP *lp) Definition: var.c:12723 SCIP_RETCODE SCIPprobPerformVarDeletions(SCIP_PROB *prob, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_STAT *stat, SCIP_EVENTQUEUE *eventqueue, SCIP_CLIQUETABLE *cliquetable, SCIP_LP *lp, SCIP_BRANCHCAND *branchcand) Definition: prob.c:1022 static SCIP_RETCODE probEnsureDeletedvarsMem(SCIP_PROB *prob, SCIP_SET *set, int num) Definition: prob.c:102 SCIP_RETCODE SCIPprobRemoveVarName(SCIP_PROB *prob, SCIP_VAR *var) Definition: prob.c:878 void SCIPprobSetObjsense(SCIP_PROB *prob, SCIP_OBJSENSE objsense) Definition: prob.c:1370 internal methods for storing and manipulating the main problem Definition: struct_cons.h:36 SCIP_RETCODE SCIPconsTransform(SCIP_CONS *origcons, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_CONS **transcons) Definition: cons.c:6060 SCIP_RETCODE SCIPprobExitSolve(SCIP_PROB *prob, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_EVENTQUEUE *eventqueue, SCIP_LP *lp, SCIP_Bool restart) Definition: prob.c:1823 SCIP_CONS * SCIPprobFindCons(SCIP_PROB *prob, const char *name) Definition: prob.c:2016 SCIP_RETCODE SCIPvarChgObj(SCIP_VAR *var, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_PROB *prob, SCIP_PRIMAL *primal, SCIP_LP *lp, SCIP_EVENTQUEUE *eventqueue, SCIP_Real newobj) Definition: var.c:5764 SCIP_RETCODE SCIPvarRelease(SCIP_VAR **var, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_EVENTQUEUE *eventqueue, SCIP_LP *lp) Definition: var.c:2752 SCIP_RETCODE SCIPeventCreateVarAdded(SCIP_EVENT **event, BMS_BLKMEM *blkmem, SCIP_VAR *var) Definition: event.c:436 SCIP_RETCODE SCIPconshdlrDelVars(SCIP_CONSHDLR *conshdlr, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_STAT *stat) Definition: cons.c:3836 static SCIP_RETCODE probEnsureConssMem(SCIP_PROB *prob, SCIP_SET *set, int num) Definition: prob.c:126 Definition: type_var.h:42 Definition: type_var.h:44 SCIP_RETCODE SCIPprobSetName(SCIP_PROB *prob, const char *name) Definition: prob.c:1873 Definition: type_retcode.h:33 Definition: struct_event.h:143 void SCIPsortPtr(void **ptrarray, SCIP_DECL_SORTPTRCOMP((*ptrcomp)), int len) internal methods for global SCIP settings SCIP_RETCODE SCIPprobAddVarName(SCIP_PROB *prob, SCIP_VAR *var) Definition: prob.c:862 SCIP_RETCODE SCIPprobResetBounds(SCIP_PROB *prob, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_STAT *stat) Definition: prob.c:583 void SCIPmessagePrintInfo(SCIP_MESSAGEHDLR *messagehdlr, const char *formatstr,...) Definition: message.c:578 SCIP_RETCODE SCIPhashtableRemove(SCIP_HASHTABLE *hashtable, void *element) Definition: misc.c:1719 SCIP_RETCODE SCIPconsAddLocks(SCIP_CONS *cons, SCIP_SET *set, int nlockspos, int nlocksneg) Definition: cons.c:6950 SCIP_RETCODE SCIPprobCreate(SCIP_PROB **prob, BMS_BLKMEM *blkmem, SCIP_SET *set, const char *name, SCIP_DECL_PROBDELORIG((*probdelorig)), SCIP_DECL_PROBTRANS((*probtrans)), SCIP_DECL_PROBDELTRANS((*probdeltrans)), SCIP_DECL_PROBINITSOL((*probinitsol)), SCIP_DECL_PROBEXITSOL((*probexitsol)), SCIP_DECL_PROBCOPY((*probcopy)), SCIP_PROBDATA *probdata, SCIP_Bool transformed) Definition: prob.c:250 SCIP_Bool SCIPsetIsEQ(SCIP_SET *set, SCIP_Real val1, SCIP_Real val2) Definition: set.c:5202 SCIP_Real SCIPlpGetObjval(SCIP_LP *lp, SCIP_SET *set, SCIP_PROB *prob) Definition: lp.c:15076 Definition: type_lp.h:34 SCIP_RETCODE SCIPconshdlrUnlockVars(SCIP_CONSHDLR *conshdlr, SCIP_SET *set) Definition: cons.c:3882 data structures and methods for collecting reoptimization information internal methods for problem variables public data structures and miscellaneous methods Definition: type_var.h:55 SCIP_RETCODE SCIPvarRemove(SCIP_VAR *var, BMS_BLKMEM *blkmem, SCIP_CLIQUETABLE *cliquetable, SCIP_SET *set, SCIP_Bool final) Definition: var.c:5631 SCIP_RETCODE SCIPconsRelease(SCIP_CONS **cons, BMS_BLKMEM *blkmem, SCIP_SET *set) Definition: cons.c:5857 void SCIPvarStoreRootSol(SCIP_VAR *var, SCIP_Bool roothaslp) Definition: var.c:12526 Definition: type_var.h:54 Definition: type_var.h:46 void SCIPprobSetTrans(SCIP_PROB *prob, SCIP_DECL_PROBTRANS((*probtrans))) Definition: prob.c:339 SCIP_RETCODE SCIPprobCheckObjIntegral(SCIP_PROB *transprob, SCIP_PROB *origprob, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_STAT *stat, SCIP_PRIMAL *primal, SCIP_TREE *tree, SCIP_REOPT *reopt, SCIP_LP *lp, SCIP_EVENTQUEUE *eventqueue) Definition: prob.c:1430 SCIP_RETCODE SCIPeventCreateVarDeleted(SCIP_EVENT **event, BMS_BLKMEM *blkmem, SCIP_VAR *var) Definition: event.c:454 SCIP_Bool SCIPprobAllColsInLP(SCIP_PROB *prob, SCIP_SET *set, SCIP_LP *lp) Definition: prob.c:2140 SCIP_RETCODE SCIPprobRemoveConsName(SCIP_PROB *prob, SCIP_CONS *cons) Definition: prob.c:1212 Definition: struct_reopt.h:113 Definition: type_var.h:41 Definition: type_var.h:45 SCIP_RETCODE SCIPbranchcandUpdateVar(SCIP_BRANCHCAND *branchcand, SCIP_SET *set, SCIP_VAR *var) Definition: branch.c:1080 void * SCIPhashtableRetrieve(SCIP_HASHTABLE *hashtable, void *key) Definition: misc.c:1627 void SCIPprobPrintStatistics(SCIP_PROB *prob, SCIP_MESSAGEHDLR *messagehdlr, FILE *file) Definition: prob.c:2057 SCIP_RETCODE SCIPprobDelCons(SCIP_PROB *prob, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_STAT *stat, SCIP_CONS *cons) Definition: prob.c:1297 SCIP_Bool SCIPsetIsDualfeasPositive(SCIP_SET *set, SCIP_Real val) Definition: set.c:5912 SCIP_RETCODE SCIPvarLoose(SCIP_VAR *var, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_EVENTQUEUE *eventqueue, SCIP_PROB *prob, SCIP_LP *lp) Definition: var.c:3423 void SCIPlpStoreRootObjval(SCIP_LP *lp, SCIP_SET *set, SCIP_PROB *prob) Definition: lp.c:15135 static SCIP_RETCODE probEnsureFixedvarsMem(SCIP_PROB *prob, SCIP_SET *set, int num) Definition: prob.c:78 SCIP_Bool SCIPvarIsTransformedOrigvar(SCIP_VAR *var) Definition: var.c:12120 Definition: struct_lp.h:255 static SCIP_RETCODE probRemoveVar(SCIP_PROB *prob, BMS_BLKMEM *blkmem, SCIP_CLIQUETABLE *cliquetable, SCIP_SET *set, SCIP_VAR *var) Definition: prob.c:768 SCIP_RETCODE SCIPprobCopy(SCIP_PROB **prob, BMS_BLKMEM *blkmem, SCIP_SET *set, const char *name, SCIP *sourcescip, SCIP_PROB *sourceprob, SCIP_HASHMAP *varmap, SCIP_HASHMAP *consmap, SCIP_Bool global) Definition: prob.c:184 public methods for message output Definition: struct_implics.h:86 void SCIPprobUpdateDualbound(SCIP_PROB *prob, SCIP_Real newbound) Definition: prob.c:1510 void SCIPprobSetDelorig(SCIP_PROB *prob, SCIP_DECL_PROBDELORIG((*probdelorig))) Definition: prob.c:328 Definition: type_lpi.h:79 void SCIPmessageFPrintInfo(SCIP_MESSAGEHDLR *messagehdlr, FILE *file, const char *formatstr,...) Definition: message.c:602 SCIP_RETCODE SCIPvarResetBounds(SCIP_VAR *var, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_STAT *stat) Definition: var.c:8714 internal methods for problem statistics void SCIPprobSetDualbound(SCIP_PROB *prob, SCIP_Real dualbound) Definition: prob.c:1396 internal methods for constraints and constraint handlers SCIP_RETCODE SCIPprimalUpdateObjoffset(SCIP_PRIMAL *primal, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_STAT *stat, SCIP_EVENTQUEUE *eventqueue, SCIP_PROB *transprob, SCIP_PROB *origprob, SCIP_TREE *tree, SCIP_REOPT *reopt, SCIP_LP *lp) Definition: primal.c:365 SCIP_RETCODE SCIPprobTransform(SCIP_PROB *source, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_STAT *stat, SCIP_PRIMAL *primal, SCIP_TREE *tree, SCIP_REOPT *reopt, SCIP_LP *lp, SCIP_BRANCHCAND *branchcand, SCIP_EVENTFILTER *eventfilter, SCIP_EVENTQUEUE *eventqueue, SCIP_PROB **target) Definition: prob.c:486 SCIP_RETCODE SCIPcalcIntegralScalar(SCIP_Real *vals, int nvals, SCIP_Real mindelta, SCIP_Real maxdelta, SCIP_Longint maxdnom, SCIP_Real maxscale, SCIP_Real *intscalar, SCIP_Bool *success) Definition: misc.c:7375 Definition: type_set.h:42 SCIP_RETCODE SCIPbranchcandRemoveVar(SCIP_BRANCHCAND *branchcand, SCIP_VAR *var) Definition: branch.c:1063 SCIP_Bool SCIPhashtableExists(SCIP_HASHTABLE *hashtable, void *element) Definition: misc.c:1692 void SCIPprobSetDeltrans(SCIP_PROB *prob, SCIP_DECL_PROBDELTRANS((*probdeltrans))) Definition: prob.c:350 SCIP_Real SCIPprobExternObjval(SCIP_PROB *transprob, SCIP_PROB *origprob, SCIP_SET *set, SCIP_Real objval) Definition: prob.c:1953 SCIP_RETCODE SCIPprobAddCons(SCIP_PROB *prob, SCIP_SET *set, SCIP_STAT *stat, SCIP_CONS *cons) Definition: prob.c:1230 Definition: struct_stat.h:44 SCIP_RETCODE SCIPconsDeactivate(SCIP_CONS *cons, SCIP_SET *set, SCIP_STAT *stat) Definition: cons.c:6421 Definition: struct_tree.h:165 SCIP_Bool SCIPsetIsDualfeasNegative(SCIP_SET *set, SCIP_Real val) Definition: set.c:5923 SCIP_RETCODE SCIPprobDelVar(SCIP_PROB *prob, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_EVENTQUEUE *eventqueue, SCIP_VAR *var, SCIP_Bool *deleted) Definition: prob.c:961 common defines and data types used in all packages of SCIP Definition: struct_event.h:204 SCIP_RETCODE SCIPprobExitPresolve(SCIP_PROB *prob, SCIP_SET *set) Definition: prob.c:1779 Definition: type_prob.h:39 SCIP_RETCODE SCIPlpUpdateDelVar(SCIP_LP *lp, SCIP_SET *set, SCIP_VAR *var) Definition: lp.c:16002 Definition: type_retcode.h:43 SCIP_Real SCIPcolGetRedcost(SCIP_COL *col, SCIP_STAT *stat, SCIP_LP *lp) Definition: lp.c:3758 Definition: type_var.h:43 Definition: struct_branch.h:36 SCIP_RETCODE SCIPconshdlrLockVars(SCIP_CONSHDLR *conshdlr, SCIP_SET *set) Definition: cons.c:3867 SCIP_Longint SCIPcalcGreComDiv(SCIP_Longint val1, SCIP_Longint val2) Definition: misc.c:7083 Definition: type_lpi.h:81 SCIP_RETCODE SCIPprobAddVar(SCIP_PROB *prob, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_LP *lp, SCIP_BRANCHCAND *branchcand, SCIP_EVENTFILTER *eventfilter, SCIP_EVENTQUEUE *eventqueue, SCIP_VAR *var) Definition: prob.c:893 Definition: type_var.h:56 |