type_prob.h
Go to the documentation of this file.
22 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/ 74 #define SCIP_DECL_PROBTRANS(x) SCIP_RETCODE x (SCIP* scip, SCIP_PROBDATA* sourcedata, SCIP_PROBDATA** targetdata) 88 /** solving process initialization method of transformed data (called before the branch and bound process begins) 90 * This method is called before the branch and bound process begins and can be used to initialize user problem 91 * data that depends for example on the number of active problem variables, because these are now fixed. 99 /** solving process deinitialization method of transformed data (called before the branch and bound data is freed) 101 * This method is called before the branch and bound data is freed and should be used to free all data that 102 * was allocated in the solving process initialization method. The user has to make sure, that all LP rows associated 110 #define SCIP_DECL_PROBEXITSOL(x) SCIP_RETCODE x (SCIP* scip, SCIP_PROBDATA* probdata, SCIP_Bool restart) 114 * This method should copy the problem data of the source SCIP and create a target problem data for (target) 115 * SCIP. Implementing this callback is optional. If the copying process was successful the target SCIP gets this 116 * problem data assigned. In case the result pointer is set to SCIP_DIDNOTRUN the target SCIP will have no problem data 119 * The variable map and the constraint map can be used via the function SCIPgetVarCopy() and SCIPgetConsCopy(), 120 * respectively, to get for certain variables and constraints of the source SCIP the counter parts in the target 121 * SCIP. You should be very carefully in using these two methods since they could lead to an infinite loop due to 128 * - varmap, : a hashmap which stores the mapping of source variables to corresponding target variables 129 * - consmap, : a hashmap which stores the mapping of source constraints to corresponding target constraints 140 #define SCIP_DECL_PROBCOPY(x) SCIP_RETCODE x (SCIP* scip, SCIP* sourcescip, SCIP_PROBDATA* sourcedata, \ 141 SCIP_HASHMAP* varmap, SCIP_HASHMAP* consmap, SCIP_PROBDATA** targetdata, SCIP_Bool global, SCIP_RESULT* result)
Definition: type_prob.h:38 type definitions for return codes for SCIP methods type definitions for SCIP's main datastructure common defines and data types used in all packages of SCIP Definition: type_prob.h:39 |