Scippy

SCIP

Solving Constraint Integer Programs

Parallel Interface

Detailed Description

methods to construct the parallel interface of SCIP

Functions

SCIP_RETCODE SCIPconstructSyncstore (SCIP *scip)
 
SCIP_RETCODE SCIPfreeSyncstore (SCIP *scip)
 
SCIP_SYNCSTORESCIPgetSyncstore (SCIP *scip)
 

Function Documentation

◆ SCIPconstructSyncstore()

SCIP_RETCODE SCIPconstructSyncstore ( SCIP scip)

Constructs the parallel interface to execute processes concurrently.

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Precondition
This method can be called if scip is in one of the following stages:

See SCIP_STAGE for a complete list of all possible solving stages.

Parameters
scipSCIP data structure

Definition at line 41952 of file scip.c.

References checkStage(), FALSE, SCIP_CALL, SCIP_OKAY, SCIPsyncstoreCreate(), Scip::syncstore, and TRUE.

◆ SCIPfreeSyncstore()

SCIP_RETCODE SCIPfreeSyncstore ( SCIP scip)

releases the current synchronization store

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Precondition
This method can be called if scip is in one of the following stages:

See SCIP_STAGE for a complete list of all possible solving stages.

releases the current parallel interface

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Precondition
This method can be called if scip is in one of the following stages:

See SCIP_STAGE for a complete list of all possible solving stages.

Parameters
scipSCIP data structure

Definition at line 41985 of file scip.c.

References checkStage(), FALSE, SCIP_CALL, SCIP_OKAY, SCIPsyncstoreRelease(), Scip::syncstore, and TRUE.

◆ SCIPgetSyncstore()

SCIP_SYNCSTORE* SCIPgetSyncstore ( SCIP scip)

Gets the synchronization store.

Returns
the SCIP_SYNCSTORE parallel interface pointer to submit jobs for concurrent processing.
Precondition
This method can be called if scip is in one of the following stages:

See SCIP_STAGE for a complete list of all possible solving stages.

Gets the parallel interface to execute processes concurrently.

Returns
the SCIP_SYNCSTORE parallel interface pointer to submit jobs for concurrent processing.
Precondition
This method can be called if scip is in one of the following stages:

See SCIP_STAGE for a complete list of all possible solving stages.

Parameters
scipSCIP data structure

Definition at line 42017 of file scip.c.

References checkStage(), FALSE, SCIP_CALL_ABORT, Scip::syncstore, and TRUE.

Referenced by SCIP_DECL_DISPOUTPUT(), SCIP_DECL_EVENTINIT(), SCIPconcsolverSync(), SCIPconcurrentSolve(), SCIPdispAutoActivate(), SCIPgetConcurrentDualbound(), SCIPgetConcurrentPrimalbound(), SCIPsolveConcurrent(), SCIPsolveIsStopped(), and SCIPsyncstoreInit().