heuristics.h
Go to the documentation of this file.
22 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
48 * This method performs a diving according to the settings defined by the diving settings @p diveset; Contrary to the
49 * name, SCIP enters probing mode (not diving mode) and dives along a path into the tree. Domain propagation
53 * score defined by the @p diveset and whose solution value has not yet been rendered infeasible by propagation,
56 * The algorithm iteratively selects the the next (unfixed) candidate in the list, until either enough domain changes
57 * or the resolve frequency of the LP trigger an LP resolve (and hence, the set of potential candidates changes),
61 * After the set of remaining candidates is empty or the targeted depth is reached, the node LP is
64 * @see heur_guideddiving.c for an example implementation of a dive set controlling the diving algorithm.
66 * @note the node from where the algorithm is called is checked for a basic LP solution. If the solution
67 * is non-basic, e.g., when barrier without crossover is used, the method returns without performing a dive.
69 * @note currently, when multiple diving heuristics call this method and solve an LP at the same node, only the first
80 SCIP_Longint iterlim, /**< nonnegative iteration limit for the LP solves, or -1 for dynamic setting */
89 SCIP_HASHMAP* varmap, /**< a hashmap to store the mapping of source variables to the corresponding
92 SCIP_VAR** fixedvars, /**< source variables whose copies should be fixed in the target SCIP environment, or NULL */
94 int nfixedvars, /**< number of source variables whose copies should be fixed in the target SCIP environment, or NULL */
95 SCIP_Bool uselprows, /**< should the linear relaxation of the problem defined by LP rows be copied? */
103 * a trust region constraint measures the deviation from the current incumbent solution \f$x^*\f$ by an auxiliary
108 * Only binary variables are taken into account. The deviation is penalized in the objective function using
111 * @note: the trust region constraint creates an auxiliary variable to penalize the deviation from
112 * the current incumbent solution. This variable can afterwards be accessed using SCIPfindVar() by its name
type definitions for miscellaneous datastructures
Definition: struct_scip.h:59
Definition: struct_var.h:198
SCIP_EXPORT SCIP_RETCODE SCIPperformGenericDivingAlgorithm(SCIP *scip, SCIP_DIVESET *diveset, SCIP_SOL *worksol, SCIP_HEUR *heur, SCIP_RESULT *result, SCIP_Bool nodeinfeasible, SCIP_Longint iterlim, SCIP_DIVECONTEXT divecontext)
Definition: heuristics.c:209
type definitions for return codes for SCIP methods
SCIP_EXPORT SCIP_RETCODE SCIPcopyLargeNeighborhoodSearch(SCIP *sourcescip, SCIP *subscip, SCIP_HASHMAP *varmap, const char *suffix, SCIP_VAR **fixedvars, SCIP_Real *fixedvals, int nfixedvars, SCIP_Bool uselprows, SCIP_Bool copycuts, SCIP_Bool *success, SCIP_Bool *valid)
Definition: heuristics.c:916
Definition: struct_sol.h:64
Definition: struct_misc.h:128
type definitions for primal heuristics
type definitions for SCIP's main datastructure
type definitions for problem variables
Definition: struct_heur.h:88
Definition: struct_heur.h:58
type definitions for storing primal CIP solutions
SCIP_EXPORT SCIP_RETCODE SCIPaddTrustregionNeighborhoodConstraint(SCIP *scip, SCIP *subscip, SCIP_VAR **subvars, SCIP_Real violpenalty)
Definition: heuristics.c:990
common defines and data types used in all packages of SCIP
Definition: objbenders.h:33