C++ wrapper for relaxation handlers.
Definition in file objrelax.cpp.
Go to the source code of this file.
Functions | |
| static | SCIP_DECL_RELAXCOPY (relaxCopyObj) |
| static | SCIP_DECL_RELAXFREE (relaxFreeObj) |
| static | SCIP_DECL_RELAXINIT (relaxInitObj) |
| static | SCIP_DECL_RELAXEXIT (relaxExitObj) |
| static | SCIP_DECL_RELAXINITSOL (relaxInitsolObj) |
| static | SCIP_DECL_RELAXEXITSOL (relaxExitsolObj) |
| static | SCIP_DECL_RELAXEXEC (relaxExecObj) |
| SCIP_RETCODE | SCIPincludeObjRelax (SCIP *scip, scip::ObjRelax *objrelax, SCIP_Bool deleteobject) |
| scip::ObjRelax * | SCIPfindObjRelax (SCIP *scip, const char *name) |
| scip::ObjRelax * | SCIPgetObjRelax (SCIP *scip, SCIP_RELAX *relax) |
|
static |
copy method for relaxator plugins (called when SCIP copies plugins)
Definition at line 62 of file objrelax.cpp.
References assert(), NULL, SCIP_CALL, SCIP_OKAY, SCIPincludeObjRelax(), SCIPrelaxGetData(), and TRUE.
|
static |
destructor of relaxator to free user data (called when SCIP is exiting)
Definition at line 87 of file objrelax.cpp.
References assert(), NULL, SCIP_CALL, SCIP_OKAY, SCIPrelaxGetData(), and SCIPrelaxSetData().
|
static |
initialization method of relaxator (called after problem was transformed)
Definition at line 113 of file objrelax.cpp.
References assert(), NULL, SCIP_CALL, SCIP_OKAY, and SCIPrelaxGetData().
|
static |
deinitialization method of relaxator (called before transformed problem is freed)
Definition at line 131 of file objrelax.cpp.
References assert(), NULL, SCIP_CALL, SCIP_OKAY, and SCIPrelaxGetData().
|
static |
solving process initialization method of relaxator (called when branch and bound process is about to begin)
Definition at line 148 of file objrelax.cpp.
References assert(), NULL, SCIP_CALL, SCIP_OKAY, and SCIPrelaxGetData().
|
static |
solving process deinitialization method of relaxator (called before branch and bound process data is freed)
Definition at line 165 of file objrelax.cpp.
References assert(), NULL, SCIP_CALL, SCIP_OKAY, and SCIPrelaxGetData().
|
static |
execution method of relaxator
Definition at line 182 of file objrelax.cpp.
References assert(), NULL, result, SCIP_CALL, SCIP_OKAY, and SCIPrelaxGetData().
| SCIP_RETCODE SCIPincludeObjRelax | ( | SCIP * | scip, |
| scip::ObjRelax * | objrelax, | ||
| SCIP_Bool | deleteobject ) |
creates the relaxator for the given relaxator object and includes it in SCIP
creates the relaxator for the given relaxator object and includes it in SCIP
The method should be called in one of the following ways:
| scip | SCIP data structure |
| objrelax | relaxator object |
| deleteobject | should the relaxator object be deleted when relaxator is freed? |
Definition at line 204 of file objrelax.cpp.
References assert(), NULL, SCIP_Bool, SCIP_CALL, scip::ObjRelax::scip_desc_, scip::ObjRelax::scip_freq_, scip::ObjRelax::scip_name_, SCIP_OKAY, scip::ObjRelax::scip_priority_, and SCIPincludeRelax().
Referenced by SCIP_DECL_RELAXCOPY().
| scip::ObjRelax * SCIPfindObjRelax | ( | SCIP * | scip, |
| const char * | name ) |
returns the relax object of the given name, or 0 if not existing
| scip | SCIP data structure |
| name | name of relaxator |
Definition at line 231 of file objrelax.cpp.
References assert(), NULL, SCIPfindRelax(), and SCIPrelaxGetData().
| scip::ObjRelax * SCIPgetObjRelax | ( | SCIP * | scip, |
| SCIP_RELAX * | relax ) |
returns the relax object for the given relaxator
| scip | SCIP data structure |
| relax | relaxator |
Definition at line 250 of file objrelax.cpp.
References assert(), NULL, and SCIPrelaxGetData().