pub_sol.h
Go to the documentation of this file.
32/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
119/** gets information if solution was found by the LP, a primal heuristic, or a custom relaxator */
125/** gets heuristic that found this solution, or NULL if solution has type different than SCIP_SOLTYPE_HEUR */
131/** gets relaxation handler that found this solution, or NULL if solution has different type than SCIP_SOLTYPE_RELAX */
137/** informs the solution that it now belongs to the given primal heuristic. For convenience and backwards compatibility,
138 * the method accepts NULL as input for \p heur, in which case the solution type is set to SCIP_SOLTYPE_LPRELAX.
221/** comparison method for sorting solution by decreasing objective value (best solution will be sorted to the end) */
227/* In optimized mode, the function calls are overwritten by defines to reduce the number of function calls and
232#define SCIPsolIsOriginal(sol) ((sol)->solorigin == SCIP_SOLORIGIN_ORIGINAL || (sol)->solorigin == SCIP_SOLORIGIN_PARTIAL)
common defines and data types used in all packages of SCIP
void SCIPsolOrigAddObjvalExact(SCIP_SOL *sol, SCIP_RATIONAL *addval)
Definition: sol.c:4205
SCIP_Real SCIPsolGetRelBoundViolation(SCIP_SOL *sol)
Definition: sol.c:3977
SCIP_Real SCIPsolGetAbsBoundViolation(SCIP_SOL *sol)
Definition: sol.c:3967
SCIP_Real SCIPsolGetAbsIntegralityViolation(SCIP_SOL *sol)
Definition: sol.c:3987
SCIP_Real SCIPsolGetAbsLPRowViolation(SCIP_SOL *sol)
Definition: sol.c:3997
SCIP_Real SCIPsolGetRelLPRowViolation(SCIP_SOL *sol)
Definition: sol.c:4007
Definition: struct_heur.h:98
Definition: struct_rational.h:47
Definition: struct_relax.h:47
Definition: struct_sol.h:74
datastructures for storing primal CIP solutions
type definitions for primal heuristics
type definitions for rational numbers
type definitions for relaxators
type definitions for storing primal CIP solutions