All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
objvardata.h File Reference Detailed DescriptionC++ wrapper for user variable data. Definition in file objvardata.h. Go to the source code of this file.
Function Documentation
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(). |