00001
00002
00003
00004
00005
00006 #include "suCFSQPDLL.h"
00007
00008 #include <stdio.h>
00009 #include <math.h>
00010 #include <stdlib.h>
00011
00012
00013 #ifdef __cplusplus
00014 extern "C" {
00015 #endif
00016
00017 #ifndef __STDC__
00018 #ifdef apollo
00019 extern char *calloc();
00020 #else
00021 #include <malloc.h>
00022 #endif
00023 #endif
00024
00025 #define TRUE 1
00026 #define FALSE 0
00027
00028
00029
00030
00031 extern SUCFSQP_API int x_is_new;
00032
00033
00034 extern SUCFSQP_API double objeps;
00035 extern SUCFSQP_API double objrep;
00036 extern SUCFSQP_API double gLgeps;
00037 extern SUCFSQP_API int nstop;
00038
00039
00040
00041
00042
00043 #ifdef __STDC__
00044 SUCFSQP_API void grobfd(int,int,double *,double *,void (*)(int,int,
00045 double *,double *,void *),void *);
00046 SUCFSQP_API void grcnfd(int,int,double *,double *,void (*)(int,int,
00047 double *,double *,void *),void *);
00048 #else
00049 SUCFSQP_API void grobfd();
00050 SUCFSQP_API void grcnfd();
00051 #endif
00052
00053
00054
00055
00056
00057 #ifdef __STDC__
00058 SUCFSQP_API void cfsqp(int,int,int,int,int,int,int,int,int,int *,int,int,
00059 int,int *,double,double,double,double,double *,
00060 double *,double *,double *,double *,double *,
00061 void (*)(int,int,double *,double *,void *),
00062 void (*)(int,int,double *,double *,void *),
00063 void (*)(int,int,double *,double *,
00064 void (*)(int,int,double *,double *,void *),void *),
00065 void (*)(int,int,double *,double *,
00066 void (*)(int,int,double *,double *,void *),void *),
00067 void *);
00068 #else
00069 SUCFSQP_API void cfsqp();
00070 #endif
00071
00072
00073 #ifdef __cplusplus
00074 }
00075 #endif
00076