PaGMO  1.1.5
snopt_PAGMO.h
1 /* Josh Griffin ... modeled after npsol.h written by */
2 /* Mike Gertz - 2-Aug-98 */
3 /* Function prototypes for functions in the snopt distribution */
4 
5 #ifndef SNOPT
6 #define SNOPT
7 
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11 
12  typedef long int integer;
13  typedef double doublereal;
14  typedef long int ftnlen;
15  typedef int (*U_fp)(...);
16  typedef int (*My_fp)( integer *Status, integer *n,
17  doublereal x[], integer *needF, integer *neF, doublereal F[],
18  integer *needG, integer *neG, doublereal G[],
19  char *cu, integer *lencu,
20  integer iu[], integer *leniu,
21  doublereal ru[], integer *lenru );
22 
23  void snopta_
24  ( integer *start, integer *nf, integer *n,
25  integer *nxname, integer *nfname, doublereal *objadd, integer *objrow,
26  char *prob, My_fp usrfun, integer *iafun, integer *javar,
27  integer *lena, integer *nea, doublereal *a, integer *igfun,
28  integer *jgvar, integer *leng, integer *neg, doublereal *xlow,
29  doublereal *xupp, char *xnames, doublereal *flow, doublereal *fupp,
30  char *fnames, doublereal *x, integer *xstate, doublereal *xmul,
31  doublereal *f, integer *fstate, doublereal *fmul, integer *inform__,
32  integer *mincw, integer *miniw, integer *minrw, integer *ns,
33  integer *ninf, doublereal *sinf, char *cu, integer *lencu, integer *iu,
34  integer *leniu, doublereal *ru, integer *lenru, char *cw, integer *lencw,
35  integer *iw, integer *leniw, doublereal *rw, integer *lenrw,
36  ftnlen prob_len, ftnlen xnames_len, ftnlen fnames_len, ftnlen cu_len,
37  ftnlen cw_len);
38 
39  void sninit_
40  ( integer *iPrint, integer *iSumm, char *cw,
41  integer *lencw, integer *iw, integer *leniw,
42  doublereal *rw, integer *lenrw, ftnlen cw_len );
43 
44  void sngeti_
45  ( char *buffer, integer *ivalue, integer *inform__,
46  char *cw, integer *lencw, integer *iw,
47  integer *leniw, doublereal *rw, integer *lenrw,
48  ftnlen buffer_len, ftnlen cw_len);
49 
50  void sngetr_
51  ( char *buffer, doublereal *ivalue, integer *inform__,
52  char *cw, integer *lencw, integer *iw,
53  integer *leniw, doublereal *rw, integer *lenrw,
54  ftnlen buffer_len, ftnlen cw_len);
55 
56  void snset_
57  ( char *buffer, integer *iprint, integer *isumm,
58  integer *inform__, char *cw, integer *lencw,
59  integer *iw, integer *leniw,
60  doublereal *rw, integer *lenrw,
61  ftnlen buffer_len, ftnlen cw_len);
62 
63  void sngetc_
64  ( char *buffer, char *ivalue, integer *inform__,
65  char *cw, integer *lencw, integer *iw,
66  integer *leniw, doublereal *rw, integer *lenrw,
67  ftnlen buffer_len, ftnlen ivalue_len, ftnlen cw_len);
68 
69  void snseti_
70  ( char *buffer, integer *ivalue, integer *iprint,
71  integer *isumm, integer *inform__, char *cw,
72  integer *lencw, integer *iw, integer *leniw,
73  doublereal *rw, integer *lenrw, ftnlen buffer_len,
74  ftnlen cw_len);
75 
76  void snsetr_
77  ( char *buffer, doublereal *rvalue, integer * iprint,
78  integer *isumm, integer *inform__, char *cw,
79  integer *lencw, integer *iw, integer *leniw,
80  doublereal *rw, integer *lenrw, ftnlen buffer_len,
81  ftnlen cw_len);
82 
83  void snspec_
84  ( integer *ispecs, integer *inform__, char *cw,
85  integer *lencw, integer *iw, integer *leniw,
86  doublereal *rw, integer *lenrw, ftnlen cw_len);
87 
88  void snmema_
89  ( integer *iexit, integer *nf, integer *n, integer *nxname,
90  integer *nfname, integer *nea, integer *neg,
91  integer *mincw, integer *miniw,
92  integer *minrw, char *cw, integer *lencw, integer *iw,
93  integer *leniw, doublereal *rw, integer *lenrw,
94  ftnlen cw_len);
95 
96  void snjac_
97  ( integer *inform__, integer *nf, integer *n, My_fp userfg,
98  integer *iafun, integer *javar, integer *lena,
99  integer *nea, doublereal *a, integer *igfun,
100  integer *jgvar, integer *leng, integer *neg,
101  doublereal *x, doublereal *xlow, doublereal *xupp,
102  integer *mincw, integer *miniw,
103  integer *minrw, char *cu, integer *lencu,
104  integer *iu, integer *leniu, doublereal *ru,
105  integer *lenru, char *cw, integer *lencw, integer *iw,
106  integer *leniw, doublereal *rw, integer *lenrw,
107  ftnlen cu_len, ftnlen cw_len );
108 
109 #ifdef __cplusplus
110 }
111 #endif
112 
113 #endif