Go to the documentation of this file.
36 #include "scip/def.h"
37 #include "scip/type_retcode.h"
38 #include "scip/type_scip.h"
45 enum SCIP_Objsense
47 SCIP_OBJSENSE_MAXIMIZE = -1, /**< maximization of objective function */
48 SCIP_OBJSENSE_MINIMIZE = +1 /**< minimization of objective function (the default) */
50 typedef enum SCIP_Objsense SCIP_OBJSENSE;
53 typedef struct SCIP_ProbData SCIP_PROBDATA; /**< user problem data set by the reader */
64 #define SCIP_DECL_PROBDELORIG(x) SCIP_RETCODE x (SCIP* scip, SCIP_PROBDATA** probdata)
83 #define SCIP_DECL_PROBTRANS(x) SCIP_RETCODE x (SCIP* scip, SCIP_PROBDATA* sourcedata, SCIP_PROBDATA** targetdata)
95 #define SCIP_DECL_PROBDELTRANS(x) SCIP_RETCODE x (SCIP* scip, SCIP_PROBDATA** probdata)
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.
106 #define SCIP_DECL_PROBINITSOL(x) SCIP_RETCODE x (SCIP* scip, SCIP_PROBDATA* probdata)
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
149 #define SCIP_DECL_PROBCOPY(x) SCIP_RETCODE x (SCIP* scip, SCIP* sourcescip, SCIP_PROBDATA* sourcedata, \
150 SCIP_HASHMAP* varmap, SCIP_HASHMAP* consmap, SCIP_PROBDATA** targetdata, SCIP_Bool global, SCIP_RESULT* result)
type definitions for return codes for SCIP methods
type definitions for SCIP's main datastructure
enum SCIP_Objsense SCIP_OBJSENSE
struct SCIP_ProbData SCIP_PROBDATA
common defines and data types used in all packages of SCIP