Scippy

GCG

Branch-and-Price & Column Generation for Everyone

decomp.h File Reference

Detailed Description

private methods for working with decomp structures

Author
Martin Bergner

Definition in file decomp.h.

#include "type_decomp.h"
#include "type_detector.h"
#include "scip/scip.h"

Go to the source code of this file.

Functions

SCIP_RETCODE DECdecompSetDetectorChain (SCIP *scip, DEC_DECOMP *decomp, DEC_DETECTOR **detectors, int ndetectors)
 
void DECdecompSetPartialdecID (DEC_DECOMP *decomp, int id)
 

Function Documentation

◆ DECdecompSetDetectorChain()

SCIP_RETCODE DECdecompSetDetectorChain ( SCIP *  scip,
DEC_DECOMP decomp,
DEC_DETECTOR **  detectors,
int  ndetectors 
)

sets the detectors for the given decomposition

Note
make sure you know what you are doing, only use at initialization
Parameters
scipSCIP data structure
decompdecomposition data structure
detectorsnew detector chain
ndetectorsnumber of new detectors (i.e. length of the detector array)

Definition at line 1610 of file decomp.c.

References DecDecomp::detectorchain, and DecDecomp::sizedetectorchain.

Referenced by createDecompFromPartialdec().

◆ DECdecompSetPartialdecID()

void DECdecompSetPartialdecID ( DEC_DECOMP decomp,
int  id 
)

sets the id of the original partialdec

Definition at line 1648 of file decomp.c.

References DecDecomp::partialdecid.

Referenced by createDecompFromPartialdec().