Scippy

SCIP

Solving Constraint Integer Programs

heur_proximity.h
Go to the documentation of this file.
1 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
2 /* */
3 /* This file is part of the program and library */
4 /* SCIP --- Solving Constraint Integer Programs */
5 /* */
6 /* Copyright (C) 2002-2014 Konrad-Zuse-Zentrum */
7 /* fuer Informationstechnik Berlin */
8 /* */
9 /* SCIP is distributed under the terms of the ZIB Academic License. */
10 /* */
11 /* You should have received a copy of the ZIB Academic License */
12 /* along with SCIP; see the file COPYING. If not email to scip@zib.de. */
13 /* */
14 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
15 
16 /**@file heur_proximity.h
17  * @ingroup PRIMALHEURISTICS
18  * @brief improvement heuristic which uses an auxiliary objective instead of the original objective function which
19  * is itself added as a constraint to a sub-SCIP instance. The heuristic was presented by Matteo Fischetti
20  * and Michele Monaci
21  * @author Gregor Hendel
22  */
23 
24 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
25 
26 #ifndef __SCIP_HEUR_PROXIMITY_H__
27 #define __SCIP_HEUR_PROXIMITY_H__
28 
29 
30 #include "scip/scip.h"
31 
32 #ifdef __cplusplus
33 extern "C" {
34 #endif
35 
36 /** main procedure of the proximity heuristic, creates and solves a sub-SCIP */
37 extern
39  SCIP* scip, /**< original SCIP data structure */
40  SCIP_HEUR* heur, /**< heuristic data structure */
41  SCIP_RESULT* result, /**< result data structure */
42  SCIP_Real minimprove, /**< factor by which proximity should at least improve the incumbent */
43  SCIP_Longint nnodes, /**< node limit for the subproblem */
44  SCIP_Longint nlpiters, /**< LP iterations limit for the subproblem */
45  SCIP_Longint* nusednodes, /**< pointer to store number of used nodes in subscip */
46  SCIP_Longint* nusedlpiters /**< pointer to store number of used LP iterations in subscip */
47 );
48 
49 /** creates the proximity primal heuristic and includes it in SCIP */
50 extern
52  SCIP* scip /**< SCIP data structure */
53  );
54 
55 #ifdef __cplusplus
56 }
57 #endif
58 
59 #endif
60