Scippy

SCIP

Solving Constraint Integer Programs

nlpi_worhp.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-2022 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 visit scipopt.org. */
13 /* */
14 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
15 
16 /**@file nlpi_worhp.h
17  * @brief Worhp NLP interface
18  * @ingroup NLPIS
19  * @author Benjamin Mueller
20  * @author Renke Kuhlmann
21  */
22 
23 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
24 
25 #ifndef __SCIP_NLPI_WORHP_H__
26 #define __SCIP_NLPI_WORHP_H__
27 
28 #include "scip/type_nlpi.h"
29 
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
33 
34 /** create solver interface for Worhp solver and includes it into SCIP, if Worhp is available
35  *
36  * @ingroup NLPIIncludes
37  */
38 SCIP_EXPORT
40  SCIP* scip, /**< SCIP data structure */
41  SCIP_Bool useip /**< TRUE for using Interior Point, FALSE for SQP */
42  );
43 
44 /**@addtogroup NLPIS
45  *
46  * @{
47  */
48 
49 /** gets string that identifies Worhp (version number) */
50 SCIP_EXPORT
51 const char* SCIPgetSolverNameWorhp(
52  void
53  );
54 
55 /** gets string that describes Worhp (version number) */
56 SCIP_EXPORT
57 const char* SCIPgetSolverDescWorhp(
58  void
59  );
60 
61 /** returns whether Worhp is available, i.e., whether it has been linked in */
62 SCIP_EXPORT
64  void
65  );
66 
67 /** @} */
68 
69 #ifdef __cplusplus
70 }
71 #endif
72 
73 #endif /* __SCIP_NLPI_WORHP_H__ */
SCIP_RETCODE SCIPincludeNlpSolverWorhp(SCIP *scip, SCIP_Bool useip)
Definition: nlpi_worhp.c:1581
const char * SCIPgetSolverDescWorhp(void)
Definition: nlpi_worhp.c:1651
enum SCIP_Retcode SCIP_RETCODE
Definition: type_retcode.h:54
SCIP_Bool SCIPisWorhpAvailableWorhp(void)
Definition: nlpi_worhp.c:1659
#define SCIP_Bool
Definition: def.h:84
const char * SCIPgetSolverNameWorhp(void)
Definition: nlpi_worhp.c:1637
type definitions for NLP solver interfaces