Scippy

SCIP

Solving Constraint Integer Programs

SCIP_Benderscut Struct Reference

Detailed Description

Benders' decomposition cuts data

Definition at line 37 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_CONS ** addedconss
 
SCIP_ROW ** addedcuts
 
int addedconsssize
 
int addedcutssize
 
int naddedconss
 
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 39 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 40 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 41 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 42 of file struct_benderscut.h.

Referenced by SCIPbenderscutGetDesc().

◆ benderscutdata

SCIP_BENDERSCUTDATA* SCIP_Benderscut::benderscutdata

Benders' decomposition cuts local data

Definition at line 50 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 51 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 52 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 53 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 54 of file struct_benderscut.h.

Referenced by SCIPbenderscutIsLPCut().

◆ initialized

SCIP_Bool SCIP_Benderscut::initialized

has the Benders' decomposition cut been initialized?

Definition at line 55 of file struct_benderscut.h.

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

◆ addedconss

SCIP_CONS** SCIP_Benderscut::addedconss

an array to store the added constraints

Definition at line 57 of file struct_benderscut.h.

Referenced by SCIPbenderscutExit(), SCIPbenderscutGetAddedConss(), SCIPbenderscutInit(), and SCIPbenderscutStoreCons().

◆ addedcuts

SCIP_ROW** SCIP_Benderscut::addedcuts

an array to store the added cuts

Definition at line 58 of file struct_benderscut.h.

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

◆ addedconsssize

int SCIP_Benderscut::addedconsssize

the size of the added constraint array

Definition at line 59 of file struct_benderscut.h.

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

◆ addedcutssize

int SCIP_Benderscut::addedcutssize

the size of the added cuts array

Definition at line 60 of file struct_benderscut.h.

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

◆ naddedconss

int SCIP_Benderscut::naddedconss

the number of the added constraint

Definition at line 61 of file struct_benderscut.h.

Referenced by SCIPbenderscutExit(), SCIPbenderscutGetAddedConss(), and SCIPbenderscutStoreCons().

◆ naddedcuts

int SCIP_Benderscut::naddedcuts

the number of the added cuts

Definition at line 62 of file struct_benderscut.h.

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

◆ enabled

SCIP_Bool SCIP_Benderscut::enabled

is this Benders' decomposition cut enabled?

Definition at line 65 of file struct_benderscut.h.

Referenced by SCIPbenderscutExec(), and SCIPbenderscutSetEnabled().