Scippy

SCIP

Solving Constraint Integer Programs

Linking Struct Reference

Detailed Description

data related to one linking constraint

Definition at line 114 of file heur_dps.c.

Data Fields

SCIP_CONSlinkingcons
 
SCIP_CONS ** blockconss
 
SCIP_VAR ** slacks
 
SCIP_Realminactivity
 
SCIP_Realmaxactivity
 
SCIP_Realcurrentrhs
 
SCIP_Realcurrentlhs
 
int * blocknumbers
 
int nblocks
 
int nslacks
 
int nslacksperblock
 
int lastviolations
 
SCIP_Bool hasrhs
 
SCIP_Bool haslhs
 

Field Documentation

◆ linkingcons

SCIP_CONS* Linking::linkingcons

corresponding linking constraint of original problem

Definition at line 116 of file heur_dps.c.

Referenced by initCurrent(), and SCIP_DECL_HEUREXEC().

◆ blockconss

SCIP_CONS** Linking::blockconss

linking constraints of the blocks

Definition at line 117 of file heur_dps.c.

Referenced by createBlockproblem(), initCurrent(), roundPartition(), SCIP_DECL_HEUREXEC(), and updatePartition().

◆ slacks

SCIP_VAR** Linking::slacks

slackvars of the blocks

Definition at line 118 of file heur_dps.c.

Referenced by calculateShift(), createBlockproblem(), reuseSolution(), SCIP_DECL_HEUREXEC(), and updateLambda().

◆ minactivity

SCIP_Real* Linking::minactivity

minimal activity of constraint for each block

Definition at line 119 of file heur_dps.c.

Referenced by calculateShift(), createBlockproblem(), initCurrent(), and SCIP_DECL_HEUREXEC().

◆ maxactivity

SCIP_Real* Linking::maxactivity

maximal activity of constraint for each block

Definition at line 120 of file heur_dps.c.

Referenced by calculateShift(), createBlockproblem(), initCurrent(), and SCIP_DECL_HEUREXEC().

◆ currentrhs

SCIP_Real* Linking::currentrhs

current partition of rhs

Definition at line 121 of file heur_dps.c.

Referenced by calculateShift(), initCurrent(), roundPartition(), SCIP_DECL_HEUREXEC(), and updatePartition().

◆ currentlhs

SCIP_Real* Linking::currentlhs

current partition of lhs

Definition at line 122 of file heur_dps.c.

Referenced by calculateShift(), initCurrent(), roundPartition(), SCIP_DECL_HEUREXEC(), and updatePartition().

◆ blocknumbers

int* Linking::blocknumbers

◆ nblocks

int Linking::nblocks

number of blocks in which this linking constraint participates; dimension of arrays

Definition at line 124 of file heur_dps.c.

Referenced by calculateShift(), createBlockproblem(), initCurrent(), reoptimize(), reuseSolution(), roundPartition(), SCIP_DECL_HEUREXEC(), updateLambda(), and updatePartition().

◆ nslacks

int Linking::nslacks

number of slack variables

Definition at line 125 of file heur_dps.c.

Referenced by createBlockproblem(), and SCIP_DECL_HEUREXEC().

◆ nslacksperblock

int Linking::nslacksperblock

2, if ranged constraint; 1, if only rhs or lhs

Definition at line 126 of file heur_dps.c.

Referenced by calculateShift(), createBlockproblem(), initCurrent(), roundPartition(), SCIP_DECL_HEUREXEC(), and updateLambda().

◆ lastviolations

int Linking::lastviolations

number of iterations in which the constraint was violated in succession

Definition at line 127 of file heur_dps.c.

Referenced by SCIP_DECL_HEUREXEC(), and updateLambda().

◆ hasrhs

SCIP_Bool Linking::hasrhs

has linking constraint finite right-hand side?

Definition at line 128 of file heur_dps.c.

Referenced by calculateShift(), createBlockproblem(), initCurrent(), reuseSolution(), roundPartition(), SCIP_DECL_HEUREXEC(), updateLambda(), and updatePartition().

◆ haslhs

SCIP_Bool Linking::haslhs

has linking constraint finite left-hand side?

Definition at line 129 of file heur_dps.c.

Referenced by calculateShift(), createBlockproblem(), initCurrent(), reuseSolution(), roundPartition(), SCIP_DECL_HEUREXEC(), updateLambda(), and updatePartition().