Scippy

SCIP

Solving Constraint Integer Programs

SCIP_Primal Struct Reference

Detailed Description

primal data and solution storage

Definition at line 46 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
 
SCIP_Bool updateviolations
 

Field Documentation

◆ nsolsfound

◆ nlimsolsfound

SCIP_Longint SCIP_Primal::nlimsolsfound

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

Definition at line 49 of file struct_primal.h.

Referenced by displayRelevantStats(), presolve(), primalAddOrigSol(), primalAddSol(), SCIPcopyConcurrentSolvingStats(), SCIPgetNLimSolsFound(), SCIPprintSolutionStatistics(), 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 52 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 54 of file struct_primal.h.

Referenced by primalSetCutoffbound(), primalSetUpperbound(), SCIPgetLowerbound(), SCIPgetUpperbound(), SCIPprimalSetUpperbound(), and SCIPprimalUpperboundIsSol().

◆ cutoffbound

◆ sols

◆ partialsols

SCIP_SOL** SCIP_Primal::partialsols

partial solutions

Definition at line 58 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 59 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 60 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 61 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 63 of file struct_primal.h.

Referenced by ensureSolsSize().

◆ partialsolssize

int SCIP_Primal::partialsolssize

size of partialsols array

Definition at line 64 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 66 of file struct_primal.h.

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

◆ existingsolssize

int SCIP_Primal::existingsolssize

size of existingsols array

Definition at line 67 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 68 of file struct_primal.h.

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

◆ updateviolations

SCIP_Bool SCIP_Primal::updateviolations

marks whether the updating of violations is turned on

Definition at line 70 of file struct_primal.h.

Referenced by SCIPprimalSetUpdateViolations(), and SCIPprimalUpdateViolations().