1 #ifndef SOCLCP_CST_H
2 #define SOCLCP_CST_H
3 /** \file SOCLCP_cst.h */
4 
5 /** \enum SOCLCP_SOLVER encode the list of solvers as integers to avoid mispelling
6  * with const char* const  variables
7  */
8 enum SOCLCP_SOLVER
9 {
10 
11   /** SOCLCP solvers on local formulation */
12   SICONOS_SOCLCP_NSGS = 1100,
13   /* SICONOS_SOCLCP_NSGSV = 501, */
14   /* SICONOS_SOCLCP_PROX = 502, */
15   /* SICONOS_SOCLCP_TFP = 503, */
16   /* SICONOS_SOCLCP_NSN_AC = 504, */
17   SICONOS_SOCLCP_VI_FPP = 1106,
18   SICONOS_SOCLCP_VI_EG = 1107,
19   /* SICONOS_SOCLCP_HP = 508, */
20   /* SICONOS_SOCLCP_NCPGlockerFBFixedPoint = 510, */
21   /* SICONOS_SOCLCP_NSN_FB = 513, */
22 
23   /** SOCLCP for one cone (used mainly inside NSGS solvers) */
24   SICONOS_SOCLCP_ProjectionOnCone = 1150,
25   SICONOS_SOCLCP_ProjectionOnConeWithLocalIteration = 1151,
26   SICONOS_SOCLCP_ProjectionOnConeWithRegularization = 1152
27   /* SICONOS_SOCLCP_AlartCurnierNewton = 550, */
28   /* SICONOS_SOCLCP_NCPGlockerFBNewton = 551, */
29   /* SICONOS_SOCLCP_NCPGlockerFBPATH = 556, */
30   /* SICONOS_SOCLCP_projectionOnCylinder = 557, */
31   /* SICONOS_SOCLCP_ProjectionOnCone_velocity = 558, */
32   /* SICONOS_SOCLCP_PGoC = 559, */
33   /* SICONOS_SOCLCP_DeSaxceFixedPoint = 560, */
34   /* SICONOS_SOCLCP_DampedAlartCurnierNewton = 561, */
35   /* SICONOS_SOCLCP_QUARTIC = 562, */
36   /* SICONOS_SOCLCP_QUARTIC_NU = 563, */
37 
38   /** SOCLCP local solvers on global formulation */
39   /* SICONOS_SOCLCP_GLOBAL_NSGS_WR = 600, */
40   /* SICONOS_SOCLCP_GLOBAL_NSGSV_WR = 601, */
41   /* SICONOS_SOCLCP_GLOBAL_PROX_WR = 602, */
42   /* SICONOS_SOCLCP_GLOBAL_DSFP_WR = 603, */
43   /* SICONOS_SOCLCP_GLOBAL_TFP_WR = 604, */
44   /* SICONOS_SOCLCP_GLOBAL_NSGS = 605, */
45   /* SICONOS_SOCLCP_GLOBAL_NSN_AC_WR = 606, */
46   /* SICONOS_SOCLCP_GLOBAL_AC = 607 */
47 
48 };
49 
50 
51 enum SICONOS_DPARAM_SOCLCP
52 {
53  SICONOS_DPARAM_SOCLCP_PROJECTION_RHO = 3,
54  /** index to save relaxation parameter value */
55  SICONOS_DPARAM_SOCLCP_NSGS_RELAXATION = 8,
56 };
57 
58 
59 enum SICONOS_IPARAM_SOCLCP
60 {
61  SICONOS_IPARAM_SOCLCP_NSGS_WITH_RELAXATION = 8,
62  SICONOS_IPARAM_SOCLCP_PROJECTION_CONE_INDEX = 4,
63 };
64 
65 
66 
67 extern const char* const   SICONOS_SOCLCP_NSGS_STR ;
68 extern const char* const   SICONOS_SOCLCP_NSGSV_STR ;
69 extern const char* const   SICONOS_SOCLCP_PROX_STR;
70 extern const char* const   SICONOS_SOCLCP_TFP_STR ;
71 extern const char* const   SICONOS_SOCLCP_NSN_AC_STR ;
72 extern const char* const   SICONOS_SOCLCP_NSN_FB_STR ;
73 extern const char* const   SICONOS_SOCLCP_DSFP_STR ;
74 extern const char* const   SICONOS_SOCLCP_VI_EG_STR ;
75 extern const char* const   SICONOS_SOCLCP_VI_FPP_STR ;
76 extern const char* const   SICONOS_SOCLCP_EG_STR ;
77 extern const char* const   SICONOS_SOCLCP_FPP_STR ;
78 extern const char* const   SICONOS_SOCLCP_HP_STR ;
79 extern const char* const   SICONOS_SOCLCP_NCPGlockerFBFixedPoint_STR;
80 extern const char* const   SICONOS_SOCLCP_AlartCurnierNewton_STR;
81 extern const char* const   SICONOS_SOCLCP_DampedAlartCurnierNewton_STR;
82 extern const char* const   SICONOS_SOCLCP_NCPGlockerFBNewton_STR;
83 extern const char* const   SICONOS_SOCLCP_ProjectionOnConeWithDiagonalization_STR;
84 extern const char* const   SICONOS_SOCLCP_ProjectionOnCone_STR;
85 extern const char* const   SICONOS_SOCLCP_ProjectionOnConeWithLocalIteration_STR;
86 extern const char* const   SICONOS_SOCLCP_ProjectionOnConeWithRegularization_STR;
87 extern const char* const   SICONOS_SOCLCP_NCPGlockerFBPATH_STR;
88 extern const char* const   SICONOS_SOCLCP_projectionOnCylinder_STR;
89 extern const char* const   SICONOS_SOCLCP_ProjectionOnCone_velocity_STR;
90 extern const char* const   SICONOS_SOCLCP_PGoC_STR;
91 extern const char* const   SICONOS_SOCLCP_DeSaxceFixedPoint_STR;
92 extern const char* const   SICONOS_SOCLCP_QUARTIC_STR ;
93 extern const char* const   SICONOS_SOCLCP_QUARTIC_NU_STR ;
94 
95 #endif
96