relax.c
Go to the documentation of this file.
22 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/ 63 SCIP_CALL( SCIPsetRelaxPriority(scip, (SCIP_RELAX*)paramdata, SCIPparamGetInt(param)) ); /*lint !e740*/ 80 SCIPdebugMessage("including relaxation handler %s in subscip %p\n", SCIPrelaxGetName(relax), (void*)set->scip); 94 int priority, /**< priority of the relaxation handler (negative: after LP, non-negative: before LP) */ 96 SCIP_DECL_RELAXCOPY ((*relaxcopy)), /**< copy method of relaxation handler or NULL if you don't want to copy your plugin into sub-SCIPs */ 100 SCIP_DECL_RELAXINITSOL((*relaxinitsol)), /**< solving process initialization method of relaxation handler */ 101 SCIP_DECL_RELAXEXITSOL((*relaxexitsol)), /**< solving process deinitialization method of relaxation handler */ 141 (void) SCIPsnprintf(paramdesc, SCIP_MAXSTRLEN, "frequency for calling relaxation handler <%s> (-1: never, 0: only in root node)", name); 421 SCIP_DECL_RELAXINITSOL((*relaxinitsol)) /**< solving process initialization method of relaxation handler */ 432 SCIP_DECL_RELAXEXITSOL((*relaxexitsol)) /**< solving process deinitialization relaxation handler */ 506 SCIP_RELAX* relax, /**< the relaxation handler for which all clocks should be enabled or disabled */ 558 /** marks the current relaxation unsolved, s.t. the relaxation handler is called again in the next solving round */ 651 /** returns the objective value of the global relaxation solution w.r.t. the transformed problem */
Definition: type_result.h:33 SCIP_Real SCIPrelaxationGetSolObj(SCIP_RELAXATION *relaxation) Definition: relax.c:652 internal methods for clocks and timing issues Definition: type_result.h:49 void SCIPrelaxationSetSolValid(SCIP_RELAXATION *relaxation, SCIP_Bool isvalid) Definition: relax.c:620 void SCIPrelaxSetPriority(SCIP_RELAX *relax, SCIP_SET *set, int priority) Definition: relax.c:471 SCIP_RETCODE SCIPsetRelaxPriority(SCIP *scip, SCIP_RELAX *relax, int priority) Definition: scip.c:6591 void SCIPrelaxSetData(SCIP_RELAX *relax, SCIP_RELAXDATA *relaxdata) Definition: relax.c:364 Definition: struct_message.h:35 void SCIPrelaxSetCopy(SCIP_RELAX *relax, SCIP_DECL_RELAXCOPY((*relaxcopy))) Definition: relax.c:375 Definition: type_result.h:48 Definition: type_result.h:40 internal methods for handling parameter settings SCIP_Bool SCIPrelaxationIsSolValid(SCIP_RELAXATION *relaxation) Definition: relax.c:631 void SCIPclockEnableOrDisable(SCIP_CLOCK *clck, SCIP_Bool enable) Definition: clock.c:250 Definition: type_retcode.h:44 Definition: struct_set.h:56 Definition: type_clock.h:34 void SCIPrelaxSetFree(SCIP_RELAX *relax, SCIP_DECL_RELAXFREE((*relaxfree))) Definition: relax.c:386 SCIP_RETCODE SCIPrelaxationCreate(SCIP_RELAXATION **relaxation) Definition: relax.c:573 SCIP_RETCODE SCIPrelaxCreate(SCIP_RELAX **relax, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, BMS_BLKMEM *blkmem, const char *name, const char *desc, int priority, int freq, SCIP_DECL_RELAXCOPY((*relaxcopy)), SCIP_DECL_RELAXFREE((*relaxfree)), SCIP_DECL_RELAXINIT((*relaxinit)), SCIP_DECL_RELAXEXIT((*relaxexit)), SCIP_DECL_RELAXINITSOL((*relaxinitsol)), SCIP_DECL_RELAXEXITSOL((*relaxexitsol)), SCIP_DECL_RELAXEXEC((*relaxexec)), SCIP_RELAXDATA *relaxdata) Definition: relax.c:87 Definition: type_retcode.h:42 SCIP_Bool SCIPrelaxationIsSolZero(SCIP_RELAXATION *relaxation) Definition: relax.c:610 void SCIPrelaxSetInitsol(SCIP_RELAX *relax, SCIP_DECL_RELAXINITSOL((*relaxinitsol))) Definition: relax.c:419 void SCIPrelaxSetExitsol(SCIP_RELAX *relax, SCIP_DECL_RELAXEXITSOL((*relaxexitsol))) Definition: relax.c:430 Definition: type_retcode.h:33 internal methods for global SCIP settings SCIP_RETCODE SCIPrelaxCopyInclude(SCIP_RELAX *relax, SCIP_SET *set) Definition: relax.c:69 Definition: type_result.h:42 internal methods for relaxators SCIP_RETCODE SCIPsetAddIntParam(SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, BMS_BLKMEM *blkmem, const char *name, const char *desc, int *valueptr, SCIP_Bool isadvanced, int defaultvalue, int minvalue, int maxvalue, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata) Definition: set.c:2455 SCIP_RETCODE SCIPclockCreate(SCIP_CLOCK **clck, SCIP_CLOCKTYPE clocktype) Definition: clock.c:160 public data structures and miscellaneous methods SCIP_RETCODE SCIPrelaxationFree(SCIP_RELAXATION **relaxation) Definition: relax.c:587 SCIP_Bool SCIPrelaxIsSolved(SCIP_RELAX *relax, SCIP_STAT *stat) Definition: relax.c:547 SCIP_RETCODE SCIPrelaxInitsol(SCIP_RELAX *relax, SCIP_SET *set) Definition: relax.c:243 void SCIPrelaxEnableOrDisableClocks(SCIP_RELAX *relax, SCIP_Bool enable) Definition: relax.c:505 void SCIPrelaxationSetSolObj(SCIP_RELAXATION *relaxation, SCIP_Real obj) Definition: relax.c:641 void SCIPrelaxationSetSolZero(SCIP_RELAXATION *relaxation, SCIP_Bool iszero) Definition: relax.c:599 void SCIPrelaxationSolObjAdd(SCIP_RELAXATION *relaxation, SCIP_Real val) Definition: relax.c:662 public methods for message output Definition: type_result.h:43 internal methods for problem statistics Definition: struct_relax.h:36 Definition: struct_relax.h:58 datastructures for relaxators Definition: struct_stat.h:44 common defines and data types used in all packages of SCIP void SCIPrelaxSetExit(SCIP_RELAX *relax, SCIP_DECL_RELAXEXIT((*relaxexit))) Definition: relax.c:408 Definition: objbranchrule.h:33 SCIP_RETCODE SCIPrelaxExec(SCIP_RELAX *relax, SCIP_SET *set, SCIP_STAT *stat, int depth, SCIP_Real *lowerbound, SCIP_RESULT *result) Definition: relax.c:291 Definition: type_result.h:39 SCIP callable library. void SCIPrelaxSetInit(SCIP_RELAX *relax, SCIP_DECL_RELAXINIT((*relaxinit))) Definition: relax.c:397 SCIP_RETCODE SCIPrelaxExitsol(SCIP_RELAX *relax, SCIP_SET *set) Definition: relax.c:267 |