source: ThirdParty/SCIP/trunk/lpiswitch.h @ 2690

Last change on this file since 2690 was 2690, checked in by stefan, 7 years ago

allow for several LP solvers in one SCIP library - yeah :-)

  • Property svn:eol-style set to native
File size: 894 bytes
Line 
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{
19   SCIP_LPISW_CLP,
20   SCIP_LPISW_CPLEX,
21   SCIP_LPISW_GUROBI,
22   SCIP_LPISW_MOSEK,
23   SCIP_LPISW_NONE,
24   SCIP_LPISW_QSOPT,
25   SCIP_LPISW_SOPLEX,
26   SCIP_LPISW_XPRESS
27};
28typedef enum SCIP_LPISW_LPSolver SCIP_LPISW_LPSOLVER;
29
30/** gets enum of currently used LP solver */
31extern
32SCIP_LPISW_LPSOLVER SCIPlpiSwitchGetCurrentSolver();
33
34/** sets static function pointers to LPI functions of a particular solver */
35extern
36SCIP_RETCODE SCIPlpiSwitchSetSolver(
37   SCIP_LPISW_LPSOLVER   lpsolver            /**< LP Solver to use */
38   );
39
40#ifdef __cplusplus
41}
42#endif
43
44#endif /* LPISWITCH_H_ */
Note: See TracBrowser for help on using the repository browser.