Scippy

SCIP

Solving Constraint Integer Programs

SCIP_Primal Struct Reference

Detailed Description

primal data and solution storage

Definition at line 37 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 ** partialsols
 
SCIP_SOL ** existingsols
 
SCIP_SOLcurrentsol
 
SCIP_SOLprimalray
 
int solssize
 
int partialsolssize
 
int nsols
 
int npartialsols
 
int existingsolssize
 
int nexistingsols
 

Field Documentation

◆ nsolsfound

SCIP_Longint SCIP_Primal::nsolsfound

◆ nlimsolsfound

SCIP_Longint SCIP_Primal::nlimsolsfound

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

Definition at line 40 of file struct_primal.h.

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

◆ nbestsolsfound

◆ nlimbestsolsfound

SCIP_Longint SCIP_Primal::nlimbestsolsfound

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

Definition at line 43 of file struct_primal.h.

◆ upperbound

SCIP_Real SCIP_Primal::upperbound

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

Definition at line 45 of file struct_primal.h.

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

◆ cutoffbound

◆ sols

◆ partialsols

SCIP_SOL** SCIP_Primal::partialsols

partial solutions

Definition at line 49 of file struct_primal.h.

Referenced by ensurePartialsolsSize(), primalAddOrigPartialSol(), and SCIPgetPartialSols().

◆ existingsols

SCIP_SOL** SCIP_Primal::existingsols

all existing primal solutions (feasible, partial, and infeasible)

Definition at line 50 of file struct_primal.h.

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

◆ currentsol

SCIP_SOL* SCIP_Primal::currentsol

internal solution for temporarily storing the current solution

Definition at line 51 of file struct_primal.h.

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

◆ primalray

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 52 of file struct_primal.h.

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

◆ solssize

int SCIP_Primal::solssize

size of sols array

Definition at line 54 of file struct_primal.h.

Referenced by ensureSolsSize().

◆ partialsolssize

int SCIP_Primal::partialsolssize

size of partialsols array

Definition at line 55 of file struct_primal.h.

Referenced by ensurePartialsolsSize().

◆ nsols

◆ npartialsols

int SCIP_Primal::npartialsols

number of partial solutions stored in partialsol array

Definition at line 57 of file struct_primal.h.

Referenced by ensurePartialsolsSize(), primalAddOrigPartialSol(), and SCIPgetNPartialSols().

◆ existingsolssize

int SCIP_Primal::existingsolssize

size of existingsols array

Definition at line 58 of file struct_primal.h.

Referenced by ensureExistingsolsSize().

◆ nexistingsols

int SCIP_Primal::nexistingsols

number of primal CIP solutions stored in existingsols array

Definition at line 59 of file struct_primal.h.

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