Toggle navigation
SCIP Optimization Suite
SCIP
SoPlex
ZIMPL
UG
GCG
Documentation
SCIP 9.2.0
SCIP 8.1.0
SCIP 7.0.3
SCIP 6.0.2
SCIP 5.0.1
SCIP 4.0.1
SCIP 3.2.1
SCIP
Solving Constraint Integer Programs
heur_zeroobj.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-2017 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_zeroobj.h
17
* @ingroup PRIMALHEURISTICS
18
* @brief heuristic that tries to solve the problem without objective. In Gurobi, this heuristic is known as "Hail Mary"
19
* @author Timo Berthold
20
*/
21
22
/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
23
24
#ifndef __SCIP_HEUR_ZEROOBJ_H__
25
#define __SCIP_HEUR_ZEROOBJ_H__
26
27
28
#include "
scip/scip.h
"
29
30
#ifdef __cplusplus
31
extern
"C"
{
32
#endif
33
34
/** creates the zeroobj primal heuristic and includes it in SCIP
35
*
36
* @ingroup PrimalHeuristicIncludes
37
*/
38
extern
39
SCIP_RETCODE
SCIPincludeHeurZeroobj
(
40
SCIP
*
scip
/**< SCIP data structure */
41
);
42
43
/**@addtogroup PRIMALHEURISTICS
44
*
45
* @{
46
*/
47
48
/** main procedure of the zeroobj heuristic, creates and solves a sub-SCIP */
49
extern
50
SCIP_RETCODE
SCIPapplyZeroobj
(
51
SCIP
*
scip
,
/**< original SCIP data structure */
52
SCIP_HEUR
* heur,
/**< heuristic data structure */
53
SCIP_RESULT
* result,
/**< result data structure */
54
SCIP_Real
minimprove,
/**< factor by which zeroobj should at least improve the incumbent */
55
SCIP_Longint
nnodes
/**< node limit for the subproblem */
56
);
57
58
/* @} */
59
60
#ifdef __cplusplus
61
}
62
#endif
63
64
#endif
SCIP_RESULT
enum SCIP_Result SCIP_RESULT
Definition:
type_result.h:52
Scip
Definition:
struct_scip.h:58
SCIPapplyZeroobj
SCIP_RETCODE SCIPapplyZeroobj(SCIP *scip, SCIP_HEUR *heur, SCIP_RESULT *result, SCIP_Real minimprove, SCIP_Longint nnodes)
Definition:
heur_zeroobj.c:266
SCIP_RETCODE
enum SCIP_Retcode SCIP_RETCODE
Definition:
type_retcode.h:53
SCIPincludeHeurZeroobj
SCIP_RETCODE SCIPincludeHeurZeroobj(SCIP *scip)
Definition:
heur_zeroobj.c:549
SCIP_Heur
Definition:
struct_heur.h:79
SCIP_Real
#define SCIP_Real
Definition:
def.h:145
SCIP_Longint
#define SCIP_Longint
Definition:
def.h:130
nnodes
#define nnodes
Definition:
gastrans.c:65
scip
Definition:
objbranchrule.h:33
scip.h
SCIP callable library.