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