Ipopt Documentation  
 
Loading...
Searching...
No Matches
IpLinearSolvers.h
Go to the documentation of this file.
1// Copyright (C) 2021 COIN-OR Foundation
2// All Rights Reserved.
3// This code is published under the Eclipse Public License.
4
5#ifndef __IPLINEARSOLVERS_H__
6#define __IPLINEARSOLVERS_H__
7
8#include "IpoptConfig.h"
9#include "IpTypes.h"
10
11#define IPOPTLINEARSOLVER_MA27 0x001u
12#define IPOPTLINEARSOLVER_MA57 0x002u
13#define IPOPTLINEARSOLVER_MA77 0x004u
14#define IPOPTLINEARSOLVER_MA86 0x008u
15#define IPOPTLINEARSOLVER_MA97 0x010u
16#define IPOPTLINEARSOLVER_MC19 0x020u
17#define IPOPTLINEARSOLVER_ALLHSL (IPOPTLINEARSOLVER_MA27 | IPOPTLINEARSOLVER_MA57 | IPOPTLINEARSOLVER_MA77 | IPOPTLINEARSOLVER_MA86 | IPOPTLINEARSOLVER_MA97 | IPOPTLINEARSOLVER_MC19)
18
19#define IPOPTLINEARSOLVER_PARDISO 0x040u
20#define IPOPTLINEARSOLVER_PARDISOMKL 0x080u
21#define IPOPTLINEARSOLVER_SPRAL 0x100u
22#define IPOPTLINEARSOLVER_WSMP 0x200u
23#define IPOPTLINEARSOLVER_MUMPS 0x400u
24
25#ifdef __cplusplus
26extern "C"
27{
28#endif
29
30typedef unsigned int IpoptLinearSolver;
31
39 int buildinonly
40);
41
42#ifdef __cplusplus
43}
44#endif
45
46#endif /* __IPLINEARSOLVERS_H__ */
IPOPTLIB_EXPORT IpoptLinearSolver IPOPT_CALLCONV IpoptGetAvailableLinearSolvers(int buildinonly)
get bitflags indicating which linear solvers (and mc19) are available to Ipopt
unsigned int IpoptLinearSolver
#define IPOPT_CALLCONV
Definition IpTypes.h:41
#define IPOPTLIB_EXPORT