Ipopt Documentation
PardisoLoader.h
Go to the documentation of this file.
1
/* Copyright (C) 2008 GAMS Development 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 PARDISOLOADER_H_
9
#define PARDISOLOADER_H_
10
11
#ifdef __cplusplus
12
extern
"C"
13
{
14
#endif
15
24
IPOPTLIB_EXPORT
int
LSL_loadPardisoLib
(
25
const
char
* libname,
26
char
* msgbuf,
27
int
msglen
28
);
29
33
IPOPTLIB_EXPORT
int
LSL_unloadPardisoLib
();
34
38
IPOPTLIB_EXPORT
int
LSL_isPardisoLoaded
();
39
41
IPOPTLIB_EXPORT
char
*
LSL_PardisoLibraryName
();
42
43
#ifdef __cplusplus
44
}
45
#endif
46
47
#endif
/* PARADISOLOADER_H_ */
LSL_unloadPardisoLib
IPOPTLIB_EXPORT int LSL_unloadPardisoLib()
Unloads a loaded Pardiso library.
IPOPTLIB_EXPORT
#define IPOPTLIB_EXPORT
Definition:
config_default.h:16
LSL_PardisoLibraryName
IPOPTLIB_EXPORT char * LSL_PardisoLibraryName()
Returns name of the shared library that should contain Pardiso.
LSL_isPardisoLoaded
IPOPTLIB_EXPORT int LSL_isPardisoLoaded()
Indicates whether a Pardiso library has been successfully loaded.
LSL_loadPardisoLib
IPOPTLIB_EXPORT int LSL_loadPardisoLib(const char *libname, char *msgbuf, int msglen)
Tries to load a dynamically linked library with Pardiso.