source: ThirdParty/SCIP/trunk/lpiswitch.h

Last change on this file was 3585, checked in by stefan, 4 years ago

fix compiler warnings

  • Property svn:eol-style set to native
File size: 1.3 KB
RevLine 
[2690]1/* Copyright (C) 2012 Stefan Vigerske and others
2 * All Rights Reserved.
3 * This code is published under the Eclipse Public License.
4 *
5 * Author: Stefan Vigerske
6 */
7
8#ifndef LPISWITCH_H_
9#define LPISWITCH_H_
10
11#include "scip/type_retcode.h"
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17enum SCIP_LPISW_LPSolver
18{
[2691]19   SCIP_LPISW_CLP = 0,
20   SCIP_LPISW_CPLEX = 1,
21   SCIP_LPISW_GUROBI = 2,
22   SCIP_LPISW_MOSEK = 3,
23   SCIP_LPISW_NONE = 4,
24   SCIP_LPISW_QSOPT = 5,
25   SCIP_LPISW_SOPLEX = 6,
[3235]26   SCIP_LPISW_SOPLEX2 = 7,
27   SCIP_LPISW_XPRESS = 8,
28   SCIP_LPISW_NSOLVERS = 9
[2690]29};
30typedef enum SCIP_LPISW_LPSolver SCIP_LPISW_LPSOLVER;
31
[2693]32static const char* const SCIP_LPISW_SOLVERNAMES[SCIP_LPISW_NSOLVERS] =
[3235]33{ "clp", "cplex", "gurobi", "mosek", "none", "qsopt", "soplex", "soplex2", "xpress" };
[2691]34
[2690]35/** gets enum of currently used LP solver */
36extern
[3585]37SCIP_LPISW_LPSOLVER SCIPlpiSwitchGetCurrentSolver(void);
[2690]38
39/** sets static function pointers to LPI functions of a particular solver */
40extern
41SCIP_RETCODE SCIPlpiSwitchSetSolver(
42   SCIP_LPISW_LPSOLVER   lpsolver            /**< LP Solver to use */
43   );
44
[2759]45/** sets static function pointers to LPI functions of default solver (determined during configure) */
46extern
[3585]47SCIP_RETCODE SCIPlpiSwitchSetDefaultSolver(void);
[2759]48
[2690]49#ifdef __cplusplus
50}
51#endif
52
53#endif /* LPISWITCH_H_ */
Note: See TracBrowser for help on using the repository browser.