QPALM 1.1.0
Proximal Augmented Lagrangian method for Quadratic Programs
qpalm_fortran.h
Go to the documentation of this file.
1#ifdef __cplusplus
2extern "C" {
3#endif
4
5// include guard
6#ifndef QPALM_FORTRAN_H
7#define QPALM_FORTRAN_H
8
9// required packages
10#include <qpalm.h>
11
12#ifdef QPALM_FORTRAN_64BIT_INDICES
13typedef long f_int;
14#else
15typedef int f_int;
16#endif
17
18#ifdef QPALM_FORTRAN_SINGLE_PRECISION
19typedef float f_float;
20#else
21typedef double f_float;
22#endif
23
25 f_int m,
26 f_int h_ne,
27 f_int H_ptr[],
28 f_int H_row[],
29 f_float H_val[],
30 f_float g[n],
31 f_float f,
32 f_int a_ne,
33 f_int A_ptr[],
34 f_int A_row[],
35 f_float A_val[],
36 f_float c_l[],
37 f_float c_u[],
38 QPALMSettings settings_c,
39 f_float x[],
40 f_float y[],
41 QPALMInfo *info_c );
42
43// end include guard
44#endif
45
46#ifdef __cplusplus
47} /* extern "C" */
48#endif
QPALM main solver API.
double f_float
Definition: qpalm_fortran.h:21
int f_int
Definition: qpalm_fortran.h:15
void qpalm_fortran_c(f_int n, f_int m, f_int h_ne, f_int H_ptr[], f_int H_row[], f_float H_val[], f_float g[n], f_float f, f_int a_ne, f_int A_ptr[], f_int A_row[], f_float A_val[], f_float c_l[], f_float c_u[], QPALMSettings settings_c, f_float x[], f_float y[], QPALMInfo *info_c)
Definition: qpalm_fortran.c:9
Solver return information.
Definition: types.h:74
Settings struct.
Definition: types.h:117