diff options
author | Harpreet | 2016-09-03 00:36:51 +0530 |
---|---|---|
committer | Harpreet | 2016-09-03 00:36:51 +0530 |
commit | a0d9443af147e949c1e6a01ac24749d12593ec5b (patch) | |
tree | 1a1955c5482ae608fd7f618b06f4ecc6a0d39a23 /libFOSSEE_Scilab_intqpipopt.c | |
parent | 4b64cf486f5c999fd8167758cae27839f3b50848 (diff) | |
download | FOSSEE-Optim-toolbox-development-a0d9443af147e949c1e6a01ac24749d12593ec5b.tar.gz FOSSEE-Optim-toolbox-development-a0d9443af147e949c1e6a01ac24749d12593ec5b.tar.bz2 FOSSEE-Optim-toolbox-development-a0d9443af147e949c1e6a01ac24749d12593ec5b.zip |
cbcintlinprog added
Diffstat (limited to 'libFOSSEE_Scilab_intqpipopt.c')
-rw-r--r-- | libFOSSEE_Scilab_intqpipopt.c | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/libFOSSEE_Scilab_intqpipopt.c b/libFOSSEE_Scilab_intqpipopt.c deleted file mode 100644 index 3bfc236..0000000 --- a/libFOSSEE_Scilab_intqpipopt.c +++ /dev/null @@ -1,34 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -#include <mex.h> -#include <sci_gateway.h> -#include <api_scilab.h> -#include <MALLOC.h> -static int direct_gateway(char *fname,void F(void)) { F();return 0;}; -extern Gatefunc cpp_intfminunc; -extern Gatefunc cpp_intfminbnd; -extern Gatefunc cpp_intfmincon; -static GenericTable Tab[]={ - {(Myinterfun)sci_gateway,cpp_intfminunc,"inter_fminunc"}, - {(Myinterfun)sci_gateway,cpp_intfminbnd,"inter_fminbnd"}, - {(Myinterfun)sci_gateway,cpp_intfmincon,"inter_fmincon"}, -}; - -int C2F(libFOSSEE_Scilab_intqpipopt)() -{ - Rhs = Max(0, Rhs); - if (*(Tab[Fin-1].f) != NULL) - { - if(pvApiCtx == NULL) - { - pvApiCtx = (StrCtx*)MALLOC(sizeof(StrCtx)); - } - pvApiCtx->pstName = (char*)Tab[Fin-1].name; - (*(Tab[Fin-1].f))(Tab[Fin-1].name,Tab[Fin-1].F); - } - return 0; -} -#ifdef __cplusplus -} -#endif |