Program listing for file numerics/src/LCP/LCP_Solvers.h#
Return to documentation for this file
1#ifndef LCP_SOLVERS_H
2#define LCP_SOLVERS_H
3
4
5
6#include "NumericsFwd.h"
7#include "SiconosConfig.h"
8
9#if defined(__cplusplus) && !defined(BUILD_AS_CPP)
10extern "C"
11{
12#endif
13
14
15 void lcp_qp(LinearComplementarityProblem* problem, double *z, double *w, int *info, SolverOptions* options);
16
17
18 void lcp_cpg(LinearComplementarityProblem* problem, double *z, double *w, int *info, SolverOptions* options);
19
20
21 void lcp_pgs(LinearComplementarityProblem* problem, double *z, double *w, int *info, SolverOptions* options);
22
23
24 void lcp_rpgs(LinearComplementarityProblem* problem, double *z, double *w, int *info, SolverOptions* options);
25
26
27 void lcp_psor(LinearComplementarityProblem* problem, double *z, double *w, int *info, SolverOptions* options);
28
29
30 void lcp_nsqp(LinearComplementarityProblem* problem, double *z, double *w, int *info, SolverOptions* options);
31
32
33 void lcp_latin(LinearComplementarityProblem* problem, double *z, double *w, int *info, SolverOptions* options);
34
35
36 void lcp_latin_w(LinearComplementarityProblem* problem, double *z, double *w, int *info, SolverOptions* options);
37
38
39 void lcp_lexicolemke(LinearComplementarityProblem* problem, double *z, double *w, int *info, SolverOptions* options);
40
41
42 void lcp_newton_min(LinearComplementarityProblem* problem, double *z, double *w, int *info, SolverOptions* options);
43
44
45
46 void lcp_newton_FB(LinearComplementarityProblem* problem, double *z, double *w, int *info, SolverOptions* options);
47
48
49 void lcp_newton_minFB(LinearComplementarityProblem* problem, double *z, double *w, int *info, SolverOptions* options);
50
51
52 void lcp_path(LinearComplementarityProblem* problem, double *z, double *w, int *info, SolverOptions* options);
53
54
55 void lcp_enum(LinearComplementarityProblem* problem, double *z, double *w, int *info, SolverOptions* options);
56
57
58 void lcp_enum_init(LinearComplementarityProblem* problem, SolverOptions* options, int withMemAlloc);
59
60
61 void lcp_enum_reset(LinearComplementarityProblem* problem, SolverOptions* options, int withMemAlloc);
62
63
64 void lcp_avi_caoferris(LinearComplementarityProblem* problem, double *z, double *w, int *info, SolverOptions* options);
65
66
67 void lcp_pivot(LinearComplementarityProblem* problem, double *z, double *w, int *info, SolverOptions* options);
68 void lcp_pivot_covering_vector(LinearComplementarityProblem* problem, double* u , double* s, int *info , SolverOptions* options, double* cov_vec);
69 void lcp_pivot_lumod(LinearComplementarityProblem* problem, double *z, double *w, int *info, SolverOptions* options);
70 void lcp_pivot_lumod_covering_vector(LinearComplementarityProblem* problem, double* u , double* s, int *info , SolverOptions* options, double* cov_vec);
71
72
73 void lcp_pathsearch(LinearComplementarityProblem* problem, double *z, double *w, int *info, SolverOptions* options);
74
75
76 void lcp_gams(LinearComplementarityProblem* problem, double *z, double *w, int *info, SolverOptions* options);
77
78
79 void lcp_nsgs_SBM(LinearComplementarityProblem* problem, double *z, double *w, int* info, SolverOptions* options);
80
81 void lcp_nsgs_SBM_buildLocalProblem(int rowNumber, SparseBlockStructuredMatrix* const blmat, LinearComplementarityProblem* local_problem, double* q, double* z);
82
83
84 int lcp_compute_error(LinearComplementarityProblem* problem, double *z , double *w, double tolerance, double* error);
85
86
87 void lcp_compute_error_only(unsigned int n, double *z , double *w, double * error);
88
89
90
91
92
93
94
95
96
97
98
99
100
101 int lcp_driver_DenseMatrix(LinearComplementarityProblem* problem, double *z , double *w, SolverOptions* options);
102
103 void lcp_ConvexQP_ProjectedGradient(LinearComplementarityProblem* problem, double *reaction, double *velocity, int* info, SolverOptions* options);
104
105
106 void lcp_lexicolemke_set_default(SolverOptions* options);
107 void lcp_nsgs_sbm_set_default(SolverOptions* options);
108 void lcp_latin_set_default(SolverOptions* options);
109 void lcp_latin_w_set_default(SolverOptions* options);
110 void lcp_newton_FB_set_default(SolverOptions* options);
111 void lcp_psor_set_default(SolverOptions* options);
112 void lcp_rpgs_set_default(SolverOptions* options);
113 void lcp_enum_set_default(SolverOptions* options);
114 void lcp_pivot_set_default(SolverOptions* options);
115 void lcp_pathsearch_set_default(SolverOptions* options);
116 void lcp_pivot_lumod_set_default(SolverOptions* options);
117
118
119
120 #if defined(__cplusplus) && !defined(BUILD_AS_CPP)
121}
122#endif
123
124#endif