Scippy

    SCIP

    Solving Constraint Integer Programs

    SCIP_Primal Struct Reference

    Detailed Description

    primal data and solution storage

    Definition at line 47 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_RATIONALupperboundexact
     
    SCIP_Real cutoffbound
     
    SCIP_RATIONALcutoffboundexact
     
    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

    SCIP_Longint SCIP_Primal::nsolsfound

    number of primal CIP solutions found up to now

    Definition at line 49 of file struct_primal.h.

    Referenced by primalAddOrigSol(), primalAddSol(), SCIPcopyConcurrentSolvingStats(), SCIPheurExec(), and SCIPprimalClear().

    ◆ nlimsolsfound

    SCIP_Longint SCIP_Primal::nlimsolsfound

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

    Definition at line 50 of file struct_primal.h.

    Referenced by primalAddOrigSol(), primalAddSol(), SCIPcopyConcurrentSolvingStats(), SCIPprimalClear(), and SCIPsolveCIP().

    ◆ nbestsolsfound

    SCIP_Longint SCIP_Primal::nbestsolsfound

    number of new best primal CIP solutions found up to now

    Definition at line 52 of file struct_primal.h.

    Referenced by addCurrentSolution(), primalAddSol(), SCIPcopyConcurrentSolvingStats(), SCIPheurExec(), SCIPprimalClear(), SCIPprimalHeuristics(), solveNode(), and solveNodeLP().

    ◆ nlimbestsolsfound

    SCIP_Longint SCIP_Primal::nlimbestsolsfound

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

    Definition at line 53 of file struct_primal.h.

    Referenced by SCIPprimalClear().

    ◆ upperbound

    SCIP_Real SCIP_Primal::upperbound

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

    Definition at line 55 of file struct_primal.h.

    Referenced by primalSetCutoffbound(), primalSetUpperbound(), primalSetUpperboundExact(), SCIPnodeFocus(), SCIPprimalClear(), SCIPprimalSetUpperbound(), and SCIPprimalUpperboundIsSol().

    ◆ upperboundexact

    SCIP_RATIONAL* SCIP_Primal::upperboundexact

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

    Definition at line 56 of file struct_primal.h.

    Referenced by primalAddSol(), primalSetCutoffboundExact(), primalSetUpperboundExact(), and SCIPnodeFocus().

    ◆ cutoffbound

    SCIP_Real SCIP_Primal::cutoffbound

    upper bound for better primal solutions (if objective value is always integral, cutoffbound is equal to ceil(upperbound) - 1.0 (+eps)

    Definition at line 57 of file struct_primal.h.

    Referenced by applyBounding(), priceAndCutLoop(), primalSetCutoffbound(), primalSetCutoffboundExact(), propAndSolve(), SCIPnodeFocus(), SCIPpriceLoop(), SCIPprimalClear(), SCIPprimalHeuristics(), SCIPprimalSetCutoffbound(), SCIPsolveCIP(), SCIPtreeEndProbing(), solOfInterest(), solveNode(), and treeBacktrackProbing().

    ◆ cutoffboundexact

    SCIP_RATIONAL* SCIP_Primal::cutoffboundexact

    store the exact cutoff bound here, if in exact solving mode

    Definition at line 59 of file struct_primal.h.

    Referenced by applyBounding(), primalSetCutoffbound(), primalSetCutoffboundExact(), primalSetUpperboundExact(), and solOfInterest().

    ◆ sols

    ◆ partialsols

    SCIP_SOL** SCIP_Primal::partialsols

    partial solutions

    Definition at line 61 of file struct_primal.h.

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

    ◆ existingsols

    SCIP_SOL** SCIP_Primal::existingsols

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

    Definition at line 62 of file struct_primal.h.

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

    ◆ currentsol

    SCIP_SOL* SCIP_Primal::currentsol

    internal solution for temporarily storing the current solution

    Definition at line 63 of file struct_primal.h.

    Referenced by primalLinkCurrentSol(), SCIPprimalAddCurrentSol(), SCIPprimalClear(), 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 64 of file struct_primal.h.

    Referenced by SCIPprimalClear(), SCIPprimalGetRay(), SCIPprimalUpdateRay(), solveNodeLP(), and updatePrimalRay().

    ◆ solssize

    int SCIP_Primal::solssize

    size of sols array

    Definition at line 66 of file struct_primal.h.

    Referenced by ensureSolsSize().

    ◆ partialsolssize

    int SCIP_Primal::partialsolssize

    size of partialsols array

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

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

    ◆ existingsolssize

    int SCIP_Primal::existingsolssize

    size of existingsols array

    Definition at line 70 of file struct_primal.h.

    Referenced by ensureExistingsolsSize().

    ◆ nexistingsols

    int SCIP_Primal::nexistingsols

    ◆ updateviolations

    SCIP_Bool SCIP_Primal::updateviolations

    marks whether the updating of violations is turned on

    Definition at line 73 of file struct_primal.h.

    Referenced by SCIPprimalClear(), SCIPprimalSetUpdateViolations(), and SCIPprimalUpdateViolations().