Go to the documentation of this file.
27 #include "scip/def.h"
28 #include "scip/type_retcode.h"
29 #include "scip/type_scip.h"
36 enum SCIP_Objsense
38 SCIP_OBJSENSE_MAXIMIZE = -1, /**< maximization of objective function */
39 SCIP_OBJSENSE_MINIMIZE = +1 /**< minimization of objective function (the default) */
41 typedef enum SCIP_Objsense SCIP_OBJSENSE;
44 typedef struct SCIP_ProbData SCIP_PROBDATA; /**< user problem data set by the reader */
55 #define SCIP_DECL_PROBDELORIG(x) SCIP_RETCODE x (SCIP* scip, SCIP_PROBDATA** probdata)
74 #define SCIP_DECL_PROBTRANS(x) SCIP_RETCODE x (SCIP* scip, SCIP_PROBDATA* sourcedata, SCIP_PROBDATA** targetdata)
86 #define SCIP_DECL_PROBDELTRANS(x) SCIP_RETCODE x (SCIP* scip, SCIP_PROBDATA** probdata)
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.
97 #define SCIP_DECL_PROBINITSOL(x) SCIP_RETCODE x (SCIP* scip, SCIP_PROBDATA* probdata)
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)
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