Scippy

SCIP

Solving Constraint Integer Programs

SCIP_Primal Struct Reference

Detailed Description

primal data and solution storage

Definition at line 36 of file struct_primal.h.

#include <struct_primal.h>

Data Fields

SCIP_Longint nsolsfound
 
SCIP_Longint nlimsolsfound
 
SCIP_Longint nbestsolsfound
 
SCIP_Longint nlimbestsolsfound
 
SCIP_Real upperbound
 
SCIP_Real cutoffbound
 
SCIP_SOL ** sols
 
SCIP_SOL ** existingsols
 
SCIP_SOLcurrentsol
 
SCIP_SOLprimalray
 
int solssize
 
int nsols
 
int existingsolssize
 
int nexistingsols
 

Field Documentation

SCIP_Longint SCIP_Primal::nsolsfound

number of primal CIP solutions found up to now

Definition at line 38 of file struct_primal.h.

Referenced by displayRelevantStats(), primalAddOrigSol(), primalAddSol(), printSolutionStatistics(), SCIPgetNSolsFound(), SCIPheurExec(), SCIPtransformProb(), and transformSols().

SCIP_Longint SCIP_Primal::nlimsolsfound

number of primal CIP solutions respecting the objective limit found up to now

Definition at line 39 of file struct_primal.h.

Referenced by displayRelevantStats(), primalAddOrigSol(), primalAddSol(), printSolutionStatistics(), SCIPgetNLimSolsFound(), and SCIPprintStage().

SCIP_Longint SCIP_Primal::nbestsolsfound

number of new best primal CIP solutions found up to now

Definition at line 41 of file struct_primal.h.

Referenced by primalAddSol(), printSolutionStatistics(), SCIPgetNBestSolsFound(), SCIPheurExec(), and SCIPprimalHeuristics().

SCIP_Longint SCIP_Primal::nlimbestsolsfound

number of new best primal CIP solutions respecting the objective limit found up to now

Definition at line 42 of file struct_primal.h.

SCIP_Real SCIP_Primal::upperbound

upper (primal) bound of CIP: objective value of best solution or user bound

Definition at line 44 of file struct_primal.h.

Referenced by getPrimalbound(), getUpperbound(), primalSetCutoffbound(), primalSetUpperbound(), SCIPprimalSetUpperbound(), and SCIPprimalUpperboundIsSol().

SCIP_Real SCIP_Primal::cutoffbound
SCIP_SOL** SCIP_Primal::existingsols

all existing primal solutions (feasible and infeasible)

Definition at line 48 of file struct_primal.h.

Referenced by ensureExistingsolsSize(), SCIPprimalAddOrigObjoffset(), SCIPprimalSolCreated(), SCIPprimalSolFreed(), and SCIPprimalUpdateVarObj().

SCIP_SOL* SCIP_Primal::currentsol

internal solution for temporarily storing the current solution

Definition at line 49 of file struct_primal.h.

Referenced by primalLinkCurrentSol(), SCIPprimalAddCurrentSol(), and SCIPprimalTryCurrentSol().

SCIP_SOL* SCIP_Primal::primalray

solution representing the primal ray for (infeasible or) unbounded problems; warning: this does not have to be a feasible solution

Definition at line 50 of file struct_primal.h.

Referenced by SCIPgetPrimalRayVal(), SCIPhasPrimalRay(), solveNodeLP(), and updatePrimalRay().

int SCIP_Primal::solssize

size of sols array

Definition at line 52 of file struct_primal.h.

Referenced by ensureSolsSize().

int SCIP_Primal::existingsolssize

size of existingsols array

Definition at line 54 of file struct_primal.h.

Referenced by ensureExistingsolsSize().

int SCIP_Primal::nexistingsols

number of primal CIP solutions stored in existingsols array

Definition at line 55 of file struct_primal.h.

Referenced by ensureExistingsolsSize(), SCIPprimalAddOrigObjoffset(), SCIPprimalSolCreated(), SCIPprimalSolFreed(), and SCIPprimalUpdateVarObj().