A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://scip.zib.de/doc/html/group__PublicRelaxatorMethods.php below:

SCIP Doxygen Documentation: Relaxation Handlers

public methods for relaxation handlers

  SCIP_DECL_SORTPTRCOMP (SCIPrelaxComp)     SCIP_DECL_SORTPTRCOMP (SCIPrelaxCompName)   SCIP_RELAXDATASCIPrelaxGetData (SCIP_RELAX *relax)   void  SCIPrelaxSetData (SCIP_RELAX *relax, SCIP_RELAXDATA *relaxdata)   const char *  SCIPrelaxGetName (SCIP_RELAX *relax)   const char *  SCIPrelaxGetDesc (SCIP_RELAX *relax)   int  SCIPrelaxGetPriority (SCIP_RELAX *relax)   int  SCIPrelaxGetFreq (SCIP_RELAX *relax)   SCIP_Real  SCIPrelaxGetSetupTime (SCIP_RELAX *relax)   SCIP_Real  SCIPrelaxGetTime (SCIP_RELAX *relax)   SCIP_Longint  SCIPrelaxGetNCalls (SCIP_RELAX *relax)   SCIP_Longint  SCIPrelaxGetNCutoffs (SCIP_RELAX *relax)   SCIP_Longint  SCIPrelaxGetNImprovedLowerbound (SCIP_RELAX *relax)   SCIP_Real  SCIPrelaxGetImprovedLowerboundTime (SCIP_RELAX *relax)   SCIP_Longint  SCIPrelaxGetNAddedConss (SCIP_RELAX *relax)   SCIP_Longint  SCIPrelaxGetNReducedDomains (SCIP_RELAX *relax)   SCIP_Longint  SCIPrelaxGetNSeparatedCuts (SCIP_RELAX *relax)   SCIP_Bool  SCIPrelaxIsInitialized (SCIP_RELAX *relax)   void  SCIPrelaxMarkUnsolved (SCIP_RELAX *relax)   SCIP_RETCODE  SCIPincludeRelax (SCIP *scip, const char *name, const char *desc, int priority, int freq, SCIP_DECL_RELAXCOPY((*relaxcopy)), SCIP_DECL_RELAXFREE((*relaxfree)), SCIP_DECL_RELAXINIT((*relaxinit)), SCIP_DECL_RELAXEXIT((*relaxexit)), SCIP_DECL_RELAXINITSOL((*relaxinitsol)), SCIP_DECL_RELAXEXITSOL((*relaxexitsol)), SCIP_DECL_RELAXEXEC((*relaxexec)), SCIP_RELAXDATA *relaxdata)   SCIP_RETCODE  SCIPincludeRelaxBasic (SCIP *scip, SCIP_RELAX **relaxptr, const char *name, const char *desc, int priority, int freq, SCIP_DECL_RELAXEXEC((*relaxexec)), SCIP_RELAXDATA *relaxdata)   SCIP_RETCODE  SCIPsetRelaxCopy (SCIP *scip, SCIP_RELAX *relax, SCIP_DECL_RELAXCOPY((*relaxcopy)))   SCIP_RETCODE  SCIPsetRelaxFree (SCIP *scip, SCIP_RELAX *relax, SCIP_DECL_RELAXFREE((*relaxfree)))   SCIP_RETCODE  SCIPsetRelaxInit (SCIP *scip, SCIP_RELAX *relax, SCIP_DECL_RELAXINIT((*relaxinit)))   SCIP_RETCODE  SCIPsetRelaxExit (SCIP *scip, SCIP_RELAX *relax, SCIP_DECL_RELAXEXIT((*relaxexit)))   SCIP_RETCODE  SCIPsetRelaxInitsol (SCIP *scip, SCIP_RELAX *relax, SCIP_DECL_RELAXINITSOL((*relaxinitsol)))   SCIP_RETCODE  SCIPsetRelaxExitsol (SCIP *scip, SCIP_RELAX *relax, SCIP_DECL_RELAXEXITSOL((*relaxexitsol)))   SCIP_RELAXSCIPfindRelax (SCIP *scip, const char *name)   SCIP_RELAX **  SCIPgetRelaxs (SCIP *scip)   int  SCIPgetNRelaxs (SCIP *scip)   SCIP_RETCODE  SCIPsetRelaxPriority (SCIP *scip, SCIP_RELAX *relax, int priority)   ◆ SCIP_DECL_SORTPTRCOMP() [1/2] SCIP_DECL_SORTPTRCOMP ( SCIPrelaxComp  )

compares two relaxation handlers w. r. to their priority

Definition at line 56 of file relax.c.

◆ SCIP_DECL_SORTPTRCOMP() [2/2] SCIP_DECL_SORTPTRCOMP ( SCIPrelaxCompName  ) ◆ SCIPrelaxGetData() ◆ SCIPrelaxSetData() ◆ SCIPrelaxGetName() const char * SCIPrelaxGetName ( SCIP_RELAXrelax ) ◆ SCIPrelaxGetDesc() const char * SCIPrelaxGetDesc ( SCIP_RELAXrelax ) ◆ SCIPrelaxGetPriority() ◆ SCIPrelaxGetFreq() ◆ SCIPrelaxGetSetupTime() ◆ SCIPrelaxGetTime() ◆ SCIPrelaxGetNCalls() ◆ SCIPrelaxGetNCutoffs() ◆ SCIPrelaxGetNImprovedLowerbound() ◆ SCIPrelaxGetImprovedLowerboundTime() ◆ SCIPrelaxGetNAddedConss() ◆ SCIPrelaxGetNReducedDomains() ◆ SCIPrelaxGetNSeparatedCuts() ◆ SCIPrelaxIsInitialized() ◆ SCIPrelaxMarkUnsolved() ◆ SCIPincludeRelax() SCIP_RETCODE SCIPincludeRelax ( SCIPscip, const char *  name, const char *  desc, int  priority, int  freq, SCIP_DECL_RELAXCOPY((*relaxcopy))  , SCIP_DECL_RELAXFREE((*relaxfree))  , SCIP_DECL_RELAXINIT((*relaxinit))  , SCIP_DECL_RELAXEXIT((*relaxexit))  , SCIP_DECL_RELAXINITSOL((*relaxinitsol))  , SCIP_DECL_RELAXEXITSOL((*relaxexitsol))  , SCIP_DECL_RELAXEXEC((*relaxexec))  , SCIP_RELAXDATArelaxdata  )

creates a relaxation handler and includes it in SCIP

Note
method has all relaxation handler callbacks as arguments and is thus changed every time a new callback is added in future releases; consider using SCIPincludeRelaxBasic() and setter functions if you seek for a method which is less likely to change in future releases
Parameters
scip SCIP data structure name name of relaxation handler desc description of relaxation handler priority priority of the relaxation handler (negative: after LP, non-negative: before LP) freq frequency for calling relaxation handler relaxdata relaxation handler data

Definition at line 61 of file scip_relax.c.

References FALSE, NULL, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIPcheckStage(), SCIPerrorMessage, SCIPfindRelax(), SCIPrelaxCreate(), SCIPsetIncludeRelax(), and TRUE.

Referenced by SCIPincludeObjRelax().

◆ SCIPincludeRelaxBasic()

creates a relaxation handler and includes it in SCIP. All non fundamental (or optional) callbacks as, e.g., init and exit callbacks, will be set to NULL. Optional callbacks can be set via specific setter functions, see SCIPsetRelaxInit(), SCIPsetRelaxExit(), SCIPsetRelaxCopy(), SCIPsetRelaxFree(), SCIPsetRelaxInitsol(), and SCIPsetRelaxExitsol()

Note
if you want to set all callbacks with a single method call, consider using SCIPincludeRelax() instead

creates a relaxation handler and includes it in SCIP. All non fundamental (or optional) callbacks as, e.g., init and exit callbacks, will be set to NULL. Optional callbacks can be set via specific setter functions, see SCIPsetRelaxInit(), SCIPsetRelaxExit(), SCIPsetRelaxCopy(), SCIPsetRelaxFree(), SCIPsetRelaxInitsol(), and SCIPsetRelaxExitsol()

Precondition
This method can be called if SCIP is in one of the following stages:
Note
if you want to set all callbacks with a single method call, consider using SCIPincludeRelax() instead
Parameters
scip SCIP data structure relaxptr reference to relaxation pointer, or NULL name name of relaxation handler desc description of relaxation handler priority priority of the relaxation handler (negative: after LP, non-negative: before LP) freq frequency for calling relaxation handler relaxdata relaxation handler data

Definition at line 106 of file scip_relax.c.

References FALSE, NULL, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIPcheckStage(), SCIPerrorMessage, SCIPfindRelax(), SCIPrelaxCreate(), SCIPsetIncludeRelax(), and TRUE.

Referenced by SCIPincludeRelaxLp(), and SCIPincludeRelaxNlp().

◆ SCIPsetRelaxCopy() ◆ SCIPsetRelaxFree() ◆ SCIPsetRelaxInit() ◆ SCIPsetRelaxExit() ◆ SCIPsetRelaxInitsol() ◆ SCIPsetRelaxExitsol() ◆ SCIPfindRelax() ◆ SCIPgetRelaxs() ◆ SCIPgetNRelaxs() int SCIPgetNRelaxs ( SCIPscip ) ◆ SCIPsetRelaxPriority()

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4