Program listing for file numerics/src/MCP/MCP_Solvers.h#
Return to documentation for this file
1#ifndef MCP_SOLVERS_H
2#define MCP_SOLVERS_H
3
4
5
6#include "MixedComplementarityProblem.h"
7#include "SolverOptions.h"
8
9#if defined(__cplusplus) && !defined(BUILD_AS_CPP)
10extern "C" {
11#endif
12
13
14void mcp_newton_FB_FBLSA(MixedComplementarityProblem* problem, double* z, double* Fmcp,
15 int* info, SolverOptions* options);
16
17void mcp_newton_min_FBLSA(MixedComplementarityProblem* problem, double* z, double* Fmcp,
18 int* info, SolverOptions* options);
19
20int mcp_compute_error(MixedComplementarityProblem* problem, double* z, double* w,
21 double* error);
22
23
24void mcp_old_driver_init(MixedComplementarityProblem_old* problem, SolverOptions* options);
25
26
27void mcp_old_driver_reset(MixedComplementarityProblem_old* problem, SolverOptions* options);
28
29
30void mcp_old_FischerBurmeister(MixedComplementarityProblem_old* problem, double* z, double* w,
31 int* info, SolverOptions* options);
32
33
34void mcp_old_FischerBurmeister_init(MixedComplementarityProblem_old* problem,
35 SolverOptions* options);
36
37
38void mcp_old_FischerBurmeister_reset(MixedComplementarityProblem_old* problem,
39 SolverOptions* options);
40
41int mcp_old_compute_error(MixedComplementarityProblem_old* problem, double* z, double* w,
42 double* error);
43
44#if defined(__cplusplus) && !defined(BUILD_AS_CPP)
45}
46#endif
47
48#endif