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
81 SCIP_VALSEXACT* valsexact; /**< exact solution values (only used if this is an exact solution) */
85 SCIP_RELAX* relax; /**< relaxation handler that found the solution, if solution has relax type */
97 SCIP_SOLTYPE type; /**< type of solution: heuristic or (LP) relaxation solution, or unspecified origin */
99 SCIP_Longint lpcount; /**< number of LPs solved when this solution was created, needed for debug checks
107 * Solutions with origin ORIGINAL contain the values for original variables. The stored objective value also
common defines and data types used in all packages of SCIP
Definition: struct_misc.h:181
Definition: struct_heur.h:98
Definition: struct_rational.h:56
Definition: struct_rational.h:47
Definition: struct_misc.h:159
Definition: struct_relax.h:47
Definition: struct_sol.h:74
union SCIP_Sol::@20 creator
Definition: struct_sol.h:111
Definition: struct_sol.h:51
Definition: struct_scip.h:72
type definitions for primal heuristics
type definitions for miscellaneous datastructures
type definitions for relaxators
type definitions for storing primal CIP solutions