QPALM main
Proximal Augmented Lagrangian method for Quadratic Programs
Loading...
Searching...
No Matches
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 <stdint.h>
11#include <qpalm.h>
12
13#ifdef QPALM_FORTRAN_64BIT_INDICES
14typedef int64_t f_int;
15#else
16typedef int32_t f_int;
17#endif
18
19#ifdef QPALM_FORTRAN_SINGLE_PRECISION
20typedef float f_float;
21#else
22typedef double f_float;
23#endif
24
26 f_int m,
27 f_int h_ne,
28 f_int H_ptr[],
29 f_int H_row[],
30 f_float H_val[],
31 f_float g[],
32 f_float f,
33 f_int a_ne,
34 f_int A_ptr[],
35 f_int A_row[],
36 f_float A_val[],
37 f_float c_l[],
38 f_float c_u[],
39 QPALMSettings settings_c,
40 f_float x[],
41 f_float y[],
42 QPALMInfo *info_c );
43
44// end include guard
45#endif
46
47#ifdef __cplusplus
48} /* extern "C" */
49#endif
QPALM main solver API.
double f_float
int32_t f_int
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[], 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)
Solver return information.
Definition types.h:81
Settings struct.
Definition types.h:124