Scippy

SCIP

Solving Constraint Integer Programs

SCIP_Benderscut Struct Reference

Detailed Description

Benders' decomposition cuts data

Definition at line 47 of file struct_benderscut.h.

#include <struct_benderscut.h>

Public Member Functions

 SCIP_DECL_BENDERSCUTCOPY ((*benderscutcopy))
 
 SCIP_DECL_BENDERSCUTFREE ((*benderscutfree))
 
 SCIP_DECL_BENDERSCUTINIT ((*benderscutinit))
 
 SCIP_DECL_BENDERSCUTEXIT ((*benderscutexit))
 
 SCIP_DECL_BENDERSCUTINITSOL ((*benderscutinitsol))
 
 SCIP_DECL_BENDERSCUTEXITSOL ((*benderscutexitsol))
 
 SCIP_DECL_BENDERSCUTEXEC ((*benderscutexec))
 

Data Fields

SCIP_Longint ncalls
 
SCIP_Longint nfound
 
char * name
 
char * desc
 
SCIP_BENDERSCUTDATAbenderscutdata
 
SCIP_CLOCKsetuptime
 
SCIP_CLOCKbenderscutclock
 
int priority
 
SCIP_Bool islpcut
 
SCIP_Bool initialized
 
SCIP_BENDERSCUTCUT ** addedcuts
 
int addedcutssize
 
int naddedcuts
 
SCIP_Bool enabled
 

Member Function Documentation

◆ SCIP_DECL_BENDERSCUTCOPY()

SCIP_Benderscut::SCIP_DECL_BENDERSCUTCOPY ( benderscutcopy)

copy method of the Benders' decomposition cut or NULL if you don't want to copy your plugin into sub-SCIPs

◆ SCIP_DECL_BENDERSCUTFREE()

SCIP_Benderscut::SCIP_DECL_BENDERSCUTFREE ( benderscutfree)

destructor of the Benders' decomposition cut

◆ SCIP_DECL_BENDERSCUTINIT()

SCIP_Benderscut::SCIP_DECL_BENDERSCUTINIT ( benderscutinit)

initialize the Benders' decomposition cut

◆ SCIP_DECL_BENDERSCUTEXIT()

SCIP_Benderscut::SCIP_DECL_BENDERSCUTEXIT ( benderscutexit)

deinitialize the Benders' decomposition cut

◆ SCIP_DECL_BENDERSCUTINITSOL()

SCIP_Benderscut::SCIP_DECL_BENDERSCUTINITSOL ( benderscutinitsol)

solving process initialization method of the Benders' decomposition cut

◆ SCIP_DECL_BENDERSCUTEXITSOL()

SCIP_Benderscut::SCIP_DECL_BENDERSCUTEXITSOL ( benderscutexitsol)

solving process deinitialization method of the Benders' decomposition cut

◆ SCIP_DECL_BENDERSCUTEXEC()

SCIP_Benderscut::SCIP_DECL_BENDERSCUTEXEC ( benderscutexec)

execution method of the Benders' decomposition cut

Field Documentation

◆ ncalls

SCIP_Longint SCIP_Benderscut::ncalls

number of times, this Benders' decomposition cut was called

Definition at line 49 of file struct_benderscut.h.

Referenced by SCIPbenderscutExec(), SCIPbenderscutGetNCalls(), and SCIPbenderscutInit().

◆ nfound

SCIP_Longint SCIP_Benderscut::nfound

number of cuts found so far by this Benders' decomposition cut

Definition at line 50 of file struct_benderscut.h.

Referenced by SCIPbenderscutExec(), SCIPbenderscutGetNFound(), and SCIPbenderscutInit().

◆ name

char* SCIP_Benderscut::name

name of the Benders' decomposition cut

Definition at line 51 of file struct_benderscut.h.

Referenced by SCIPbenderscutExec(), SCIPbenderscutExit(), SCIPbenderscutGetName(), and SCIPbenderscutInit().

◆ desc

char* SCIP_Benderscut::desc

description of the Benders' decomposition cut

Definition at line 52 of file struct_benderscut.h.

Referenced by SCIPbenderscutGetDesc().

◆ benderscutdata

SCIP_BENDERSCUTDATA* SCIP_Benderscut::benderscutdata

Benders' decomposition cuts local data

Definition at line 60 of file struct_benderscut.h.

Referenced by SCIPbenderscutGetData(), and SCIPbenderscutSetData().

◆ setuptime

SCIP_CLOCK* SCIP_Benderscut::setuptime

time spend for setting up the Benders' decomposition cut plugin

Definition at line 61 of file struct_benderscut.h.

Referenced by SCIPbenderscutExit(), SCIPbenderscutExitsol(), SCIPbenderscutGetSetupTime(), SCIPbenderscutInit(), and SCIPbenderscutInitsol().

◆ benderscutclock

SCIP_CLOCK* SCIP_Benderscut::benderscutclock

the execution time of the Benders' decomposition cut plugin

Definition at line 62 of file struct_benderscut.h.

Referenced by SCIPbenderscutExec(), SCIPbenderscutGetTime(), and SCIPbenderscutInit().

◆ priority

int SCIP_Benderscut::priority

priority of the Benders' decomposition cuts

Definition at line 63 of file struct_benderscut.h.

Referenced by SCIP_DECL_SORTPTRCOMP(), SCIPbenderscutGetPriority(), SCIPbenderscutSetPriority(), and SCIPbendersSetBenderscutPriority().

◆ islpcut

SCIP_Bool SCIP_Benderscut::islpcut

does this Benders' cut use LP information?

Definition at line 64 of file struct_benderscut.h.

Referenced by SCIPbenderscutIsLPCut().

◆ initialized

SCIP_Bool SCIP_Benderscut::initialized

has the Benders' decomposition cut been initialized?

Definition at line 65 of file struct_benderscut.h.

Referenced by SCIPbenderscutExit(), SCIPbenderscutInit(), and SCIPbenderscutIsInitialized().

◆ addedcuts

SCIP_BENDERSCUTCUT** SCIP_Benderscut::addedcuts

array to store the data required to form a cut/constraint

Definition at line 67 of file struct_benderscut.h.

Referenced by SCIPbenderscutExit(), SCIPbenderscutGetAddedCutData(), SCIPbenderscutInit(), and SCIPbenderscutStoreCut().

◆ addedcutssize

int SCIP_Benderscut::addedcutssize

the size of the added cuts array

Definition at line 68 of file struct_benderscut.h.

Referenced by SCIPbenderscutExit(), SCIPbenderscutInit(), and SCIPbenderscutStoreCut().

◆ naddedcuts

int SCIP_Benderscut::naddedcuts

the number of the added cuts

Definition at line 69 of file struct_benderscut.h.

Referenced by SCIPbenderscutExit(), SCIPbenderscutGetNAddedCuts(), and SCIPbenderscutStoreCut().

◆ enabled

SCIP_Bool SCIP_Benderscut::enabled

is this Benders' decomposition cut enabled?

Definition at line 72 of file struct_benderscut.h.

Referenced by SCIPbenderscutExec(), and SCIPbenderscutSetEnabled().