SCIP

Solving Constraint Integer Programs

Detailed Description

Steiner tree relaxator.

Author
Daniel Rehfeldt

Definition in file relax_stp.h.

#include "scip/scip.h"

Go to the source code of this file.

Functions

SCIP_RETCODE SCIPincludeRelaxStp (SCIP *scip)
 
SCIP_Bool SCIPStpRelaxIsActive (SCIP *scip)
 

Function Documentation

◆ SCIPincludeRelaxStp()

SCIP_RETCODE SCIPincludeRelaxStp ( SCIP *  scip)

creates the STP relaxator and includes it in SCIP

creates the stp relaxator and includes it in SCIP

Parameters
scipSCIP data structure

Definition at line 332 of file relax_stp.c.

References FALSE, NULL, RELAX_DESC, RELAX_FREQ, RELAX_NAME, RELAX_PRIORITY, SCIP_CALL, SCIP_OKAY, SCIPaddBoolParam(), SCIPallocMemory, SCIPcreateRandom(), SCIPincludeRelaxBasic(), SCIPsetRelaxExitsol(), SCIPsetRelaxFree(), SCIPsetRelaxInitsol(), and TRUE.

Referenced by runShell(), and subscipSetupCallbacks().

◆ SCIPStpRelaxIsActive()

SCIP_Bool SCIPStpRelaxIsActive ( SCIP *  scip)

is the relaxator active?

Parameters
scipSCIP data structure

Definition at line 318 of file relax_stp.c.

References SCIPfindRelax(), and SCIPrelaxGetData().

Referenced by SCIP_DECL_HEUREXEC().