struct_sol.h
Go to the documentation of this file.
31/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
63 * For reasons of efficiency, a working solution only stores values that have been accessed at least once,
65 * The user has to call SCIPsolUnlink() in order to retrieve all non-cached elements from the solution's source
66 * and to store the values in the solution's own array. This changes the solution's origin to SCIP_SOLORIGIN_ZERO.
67 * A linked solution with origin SCIP_SOLORIGIN_LPSOL or SCIP_SOLORIGIN_PSEUDOSOL becomes invalid after the
68 * next node is focused (i.e. the LP and pseudo solutions changed) and cannot be accessed anymore.
70 * Solutions with origin ORIGINAL contain the values for original variables. The stored objective value also
84 SCIP_RELAX* relax; /**< relaxation handler that found the solution, if solution has relax type */
96 SCIP_SOLTYPE type; /**< type of solution: heuristic or (LP) relaxation solution, or unspecified origin */
98 SCIP_Longint lpcount; /**< number of LPs solved when this solution was created, needed for debug checks
common defines and data types used in all packages of SCIP
Definition: struct_misc.h:180
Definition: struct_heur.h:98
Definition: struct_misc.h:158
Definition: struct_relax.h:47
Definition: struct_sol.h:74
union SCIP_Sol::@18 creator
Definition: struct_sol.h:51
type definitions for primal heuristics
type definitions for miscellaneous datastructures
type definitions for relaxators
type definitions for storing primal CIP solutions