Scippy

SCIP

Solving Constraint Integer Programs

stptest_misc.c File Reference

Detailed Description

tests for Steiner tree methods

Author
Daniel Rehfeldt

This file implements tests for Steiner problem heuristics.

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

Definition in file stptest_misc.c.

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

Go to the source code of this file.

Functions

static SCIP_RETCODE graphBuildV5E5 (SCIP *scip, GRAPH **g, SCIP_Bool pc)
 
static SCIP_RETCODE pseudoDelSingle (SCIP *scip)
 
static SCIP_RETCODE pseudoDelDouble (SCIP *scip)
 
static SCIP_RETCODE pseudoAncestorsCreation (SCIP *scip)
 
static SCIP_RETCODE pseudoAncestorsMerge (SCIP *scip)
 
static SCIP_RETCODE pseudoAncestorsMergePc (SCIP *scip)
 
static SCIP_RETCODE pseudoAncestorsHash (SCIP *scip)
 
static SCIP_RETCODE pseudoAncestorsHashPc (SCIP *scip)
 
static SCIP_RETCODE completegraph (SCIP *scip)
 
static SCIP_RETCODE completemst1 (SCIP *scip)
 
static SCIP_RETCODE completemst2 (SCIP *scip)
 
static SCIP_RETCODE completemst3 (SCIP *scip)
 
static SCIP_RETCODE completemst4 (SCIP *scip)
 
static SCIP_RETCODE completemst5 (SCIP *scip)
 
SCIP_RETCODE stptest_pseudoAncestors (SCIP *scip)
 
SCIP_RETCODE stptest_pseudoDel (SCIP *scip)
 
SCIP_RETCODE stptest_dheap (SCIP *scip)
 
SCIP_RETCODE stptest_completegraph (SCIP *scip)
 

Function Documentation

◆ graphBuildV5E5()

static SCIP_RETCODE graphBuildV5E5 ( SCIP scip,
GRAPH **  g,
SCIP_Bool  pc 
)
static

◆ pseudoDelSingle()

◆ pseudoDelDouble()

◆ pseudoAncestorsCreation()

◆ pseudoAncestorsMerge()

◆ pseudoAncestorsMergePc()

◆ pseudoAncestorsHash()

◆ pseudoAncestorsHashPc()

◆ completegraph()

static SCIP_RETCODE completegraph ( SCIP scip)
static

◆ completemst1()

◆ completemst2()

◆ completemst3()

◆ completemst4()

◆ completemst5()

◆ stptest_pseudoAncestors()

SCIP_RETCODE stptest_pseudoAncestors ( SCIP scip)

test pseudo ancestors

Parameters
scipSCIP data structure

Definition at line 757 of file stptest_misc.c.

References pseudoAncestorsCreation(), pseudoAncestorsHash(), pseudoAncestorsHashPc(), pseudoAncestorsMerge(), pseudoAncestorsMergePc(), SCIP_CALL, and SCIP_OKAY.

◆ stptest_pseudoDel()

SCIP_RETCODE stptest_pseudoDel ( SCIP scip)

test pseudo deletion

Parameters
scipSCIP data structure

Definition at line 775 of file stptest_misc.c.

References pseudoDelDouble(), pseudoDelSingle(), SCIP_CALL, and SCIP_OKAY.

Referenced by stptest_testAll().

◆ stptest_dheap()

SCIP_RETCODE stptest_dheap ( SCIP scip)

◆ stptest_completegraph()

SCIP_RETCODE stptest_completegraph ( SCIP scip)
Parameters
scipSCIP data structure

Definition at line 893 of file stptest_misc.c.

References completegraph(), completemst1(), completemst2(), completemst3(), completemst4(), completemst5(), SCIP_CALL, and SCIP_OKAY.

Referenced by stptest_testAll().