Scippy

SCIP

Solving Constraint Integer Programs

stptest_pcreduce.c File Reference

Detailed Description

tests for Steiner tree reductions

Author
Daniel Rehfeldt

This file implements unit tests for Steiner problem PC/MW reductions.

A list of all interface methods can be found in stptest.h.

Definition in file stptest_pcreduce.c.

#include <stdio.h>
#include <assert.h>
#include "stptest.h"
#include "graph.h"
#include "reduce.h"
#include "heur_local.h"
#include "heur_tm.h"
#include "portab.h"

Go to the source code of this file.

Functions

static SCIP_RETCODE checkSdWalk (SCIP *scip, SCIP_Bool extended, GRAPH **g, int *nelims)
 
static SCIP_RETCODE testRmwChain2DeletesNode (SCIP *scip)
 
static SCIP_RETCODE testRmwNpv3DeletesNode (SCIP *scip)
 
static SCIP_RETCODE testRmwAnsDeletesOneNode (SCIP *scip)
 
static SCIP_RETCODE testRmwAnsDeletesOneEdge (SCIP *scip)
 
static SCIP_RETCODE testRmwAnsDeletesTwoNodes (SCIP *scip)
 
static SCIP_RETCODE testRmwTerminalContraction (SCIP *scip)
 
static SCIP_RETCODE testRmwTerminalDeg1Contraction1 (SCIP *scip)
 
static SCIP_RETCODE testRmwTerminalDeg1Contraction2 (SCIP *scip)
 
static SCIP_RETCODE testRmwTerminalDeg1Contraction3 (SCIP *scip)
 
static SCIP_RETCODE testSdPcKillsEdge1 (SCIP *scip)
 
static SCIP_RETCODE testSdPcKillsEdge2 (SCIP *scip)
 
static SCIP_RETCODE testSdPcKillsTwoEdges (SCIP *scip)
 
static SCIP_RETCODE testSdStarPcKillsEdge (SCIP *scip)
 
SCIP_RETCODE stptest_pcreduce (SCIP *scip)
 

Function Documentation

◆ checkSdWalk()

static SCIP_RETCODE checkSdWalk ( SCIP scip,
SCIP_Bool  extended,
GRAPH **  g,
int *  nelims 
)
static

◆ testRmwChain2DeletesNode()

◆ testRmwNpv3DeletesNode()

◆ testRmwAnsDeletesOneNode()

static SCIP_RETCODE testRmwAnsDeletesOneNode ( SCIP scip)
static

◆ testRmwAnsDeletesOneEdge()

◆ testRmwAnsDeletesTwoNodes()

static SCIP_RETCODE testRmwAnsDeletesTwoNodes ( SCIP scip)
static

◆ testRmwTerminalContraction()

static SCIP_RETCODE testRmwTerminalContraction ( SCIP scip)
static

◆ testRmwTerminalDeg1Contraction1()

static SCIP_RETCODE testRmwTerminalDeg1Contraction1 ( SCIP scip)
static

◆ testRmwTerminalDeg1Contraction2()

static SCIP_RETCODE testRmwTerminalDeg1Contraction2 ( SCIP scip)
static

◆ testRmwTerminalDeg1Contraction3()

static SCIP_RETCODE testRmwTerminalDeg1Contraction3 ( SCIP scip)
static

◆ testSdPcKillsEdge1()

static SCIP_RETCODE testSdPcKillsEdge1 ( SCIP scip)
static

◆ testSdPcKillsEdge2()

static SCIP_RETCODE testSdPcKillsEdge2 ( SCIP scip)
static

◆ testSdPcKillsTwoEdges()

static SCIP_RETCODE testSdPcKillsTwoEdges ( SCIP scip)
static

◆ testSdStarPcKillsEdge()

◆ stptest_pcreduce()