qpSWIFT
A Sparse Quadratic Programming Solver
qpSWIFT.h
Go to the documentation of this file.
1 #ifndef __QP_SWIFT_H__
2 #define __QP_SWIFT_H__
3 
4 #ifdef __cplusplus
5 extern "C"
6 {
7 #endif
8 #include "Auxilary.h"
9 
10 
11 /* Main Solver Functions */
12 
13 /* QP Setup Function sparse version */
14 QP *QP_SETUP(qp_int n, qp_int m, qp_int p, qp_int *Pjc, qp_int *Pir, qp_real *Ppr, qp_int *Ajc, qp_int *Air, qp_real *Apr, qp_int *Gjc, qp_int *Gir, qp_real *Gpr, qp_real *c, qp_real *h, qp_real *b, qp_real sigma_d, qp_int *Permut);
15 
16 /* QP Setup Function dense version */
17 QP *QP_SETUP_dense(qp_int n, qp_int m, qp_int p, qp_real *Ppr, qp_real *Apr, qp_real *Gpr, qp_real *c, qp_real *h, qp_real *b, qp_int *Permut, int ordering);
18 
19 /* QP Solve Function */
20 qp_int QP_SOLVE(QP *myQP);
21 
22 /* QP Clean Function sparse version */
23 void QP_CLEANUP(QP *myQP);
24 
25 /* QP Clean Function dense version */
26 void QP_CLEANUP_dense(QP *myQP);
27 
28 
29 #ifdef __cplusplus
30 }
31 #endif
32 
33 #endif
34 
QP_SETUP
QP * QP_SETUP(qp_int n, qp_int m, qp_int p, qp_int *Pjc, qp_int *Pir, qp_real *Ppr, qp_int *Ajc, qp_int *Air, qp_real *Apr, qp_int *Gjc, qp_int *Gir, qp_real *Gpr, qp_real *c, qp_real *h, qp_real *b, qp_real sigma_d, qp_int *Permut)
qpSWIFT entry point Function
Definition: qpSWIFT.c:60
QP_CLEANUP_dense
void QP_CLEANUP_dense(QP *myQP)
qpSWIFT exit function
Definition: qpSWIFT.c:754
QP_CLEANUP
void QP_CLEANUP(QP *myQP)
qpSWIFT exit function
Definition: qpSWIFT.c:661
QP
Definition: Auxilary.h:106
QP_SOLVE
qp_int QP_SOLVE(QP *myQP)
qpSWIFT main function
Definition: qpSWIFT.c:473
Auxilary.h
QP_SETUP_dense
QP * QP_SETUP_dense(qp_int n, qp_int m, qp_int p, qp_real *Ppr, qp_real *Apr, qp_real *Gpr, qp_real *c, qp_real *h, qp_real *b, qp_int *Permut, int ordering)
qpSWIFT entry point Function
Definition: qpSWIFT.c:260