pub_sol.h
Go to the documentation of this file.
32/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
105/** gets information if solution was found by the LP, a primal heuristic, or a custom relaxator */
111/** gets heuristic that found this solution, or NULL if solution has type different than SCIP_SOLTYPE_HEUR */
117/** gets relaxation handler that found this solution, or NULL if solution has different type than SCIP_SOLTYPE_RELAX */
123/** informs the solution that it now belongs to the given primal heuristic. For convenience and backwards compatibility,
124 * the method accepts NULL as input for \p heur, in which case the solution type is set to SCIP_SOLTYPE_LPRELAX.
209/* In optimized mode, the function calls are overwritten by defines to reduce the number of function calls and
214#define SCIPsolIsOriginal(sol) ((sol)->solorigin == SCIP_SOLORIGIN_ORIGINAL || (sol)->solorigin == SCIP_SOLORIGIN_PARTIAL)
common defines and data types used in all packages of SCIP
SCIP_Real SCIPsolGetRelBoundViolation(SCIP_SOL *sol)
Definition: sol.c:2623
SCIP_Real SCIPsolGetAbsBoundViolation(SCIP_SOL *sol)
Definition: sol.c:2613
SCIP_Real SCIPsolGetAbsIntegralityViolation(SCIP_SOL *sol)
Definition: sol.c:2633
SCIP_Real SCIPsolGetAbsLPRowViolation(SCIP_SOL *sol)
Definition: sol.c:2643
SCIP_Real SCIPsolGetRelLPRowViolation(SCIP_SOL *sol)
Definition: sol.c:2653
Definition: struct_heur.h:98
Definition: struct_relax.h:47
Definition: struct_sol.h:74
datastructures for storing primal CIP solutions
type definitions for primal heuristics
type definitions for relaxators
type definitions for storing primal CIP solutions