All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
objvardata.cpp File Reference Detailed DescriptionC++ wrapper for user variable data. Definition in file objvardata.cpp. Go to the source code of this file.
Function Documentation
frees user data of original variable (called when the original variable is freed) Definition at line 53 of file objvardata.cpp.
frees user data of transformed variable (called when the transformed variable is freed) Definition at line 102 of file objvardata.cpp.
copies user data if you want to copy it to a subscip Definition at line 124 of file objvardata.cpp. References NULL, SCIP_CALL, SCIP_DIDNOTRUN, SCIP_OKAY, SCIP_SUCCESS, and TRUE.
create and capture problem variable and associates the given variable data with the variable; if variable is of integral type, fractional bounds are automatically rounded
Definition at line 166 of file objvardata.cpp. References SCIP_CALL, SCIP_OKAY, and SCIPcreateVar().
gets user variable data object for given problem variable Warning! This method should only be called after a variable was created with SCIPcreateObjVar(). Otherwise, a segmentation fault may arise, or an undefined pointer is returned.
Definition at line 198 of file objvardata.cpp. References NULL, and SCIPvarGetData(). |