C++ wrapper for relaxation handlers.
Definition in file objrelax.h.
Go to the source code of this file.
Functions | |
| 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) |
| SCIP_RETCODE SCIPincludeObjRelax | ( | SCIP * | scip, |
| scip::ObjRelax * | objrelax, | ||
| SCIP_Bool | deleteobject | ||
| ) |
creates the relaxator for the given relaxator object and includes it in SCIP
The method should be called in one of the following ways:
creates the relaxator for the given relaxator object and includes it in SCIP
| scip | SCIP data structure |
| objrelax | relaxator object |
| deleteobject | should the relaxator object be deleted when relaxator is freed? |
Definition at line 195 of file objrelax.cpp.
References 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(), and scip::ObjRelax::SCIP_DECL_RELAXEXITSOL().
| 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 222 of file objrelax.cpp.
References SCIPfindRelax(), and SCIPrelaxGetData().
Referenced by scip::ObjRelax::SCIP_DECL_RELAXEXITSOL().
| 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 241 of file objrelax.cpp.
References SCIPrelaxGetData().
Referenced by scip::ObjRelax::SCIP_DECL_RELAXEXITSOL().