#include <stdio.h>
#include <string.h>
#include <scilab/stack-c.h>
#include <scilab/machine.h>
#include <scilab/sciprint.h>
Go to the source code of this file.
Typedefs | |
typedef int(* | gate_function )(char *) |
Functions | |
void | cleanupp () |
void | cleanupSB () |
void | cleanupVM () |
void | hotstart (double *g, double *lb, double *ub, double *lbA, double *ubA, int *nWSR, double *x, double *obj, int *status, int *nWSRout, double *y) |
void | hotstartSB (double *g, double *lb, double *ub, int *nWSR, double *x, double *obj, int *status, int *nWSRout, double *y) |
void | hotstartVM (double *H, double *g, double *A, double *lb, double *ub, double *lbA, double *ubA, int *nWSR, double *x, double *obj, int *status, int *nWSRout, double *y) |
void | init (double *H, double *g, double *A, double *lb, double *ub, double *lbA, double *ubA, int *nV, int *nC, int *nWSR, double *x, double *obj, int *status, int *nWSRout, double *y) |
void | initSB (double *H, double *g, double *lb, double *ub, int *nV, int *nWSR, double *x, double *obj, int *status, int *nWSRout, double *y) |
void | initVM (double *H, double *g, double *A, double *lb, double *ub, double *lbA, double *ubA, int *nV, int *nC, int *nWSR, double *x, double *obj, int *status, int *nWSRout, double *y) |
int | int_cleanup (char *fname) |
int | int_cleanupSB (char *fname) |
int | int_cleanupVM (char *fname) |
int | int_hotstart (char *fname) |
int | int_hotstartSB (char *fname) |
int | int_hotstartVM (char *fname) |
int | int_init (char *fname) |
int | int_initSB (char *fname) |
int | int_initVM (char *fname) |
int | int_qpOASES (char *fname) |
int | int_solve (char *fname) |
int | int_solveSB (char *fname) |
int | int_solveVM (char *fname) |
void | qpoases (double *H, double *g, double *A, double *lb, double *ub, double *lbA, double *ubA, int *nV, int *nC, int *nWSR, double *x, double *obj, int *status, int *nWSRout, double *y) |
int C2F() | qpOASESgateway () |
int | sci_gateway (char *name, gate_function f) |
Variables | |
int | qp_rowsA = -1 |
int | qp_rowsH = -1 |
int | qpb_rowsH = -1 |
int | sqp_rowsA = -1 |
int | sqp_rowsH = -1 |
Interface that enables to call qpOASES from scilab. (Please excuse a lot of copy and paste...)
Definition in file qpOASESinterface.c.
typedef int(* gate_function)(char *) |
Definition at line 61 of file qpOASESinterface.c.
void cleanupp | ( | ) |
Definition at line 344 of file qpOASESroutines.cpp.
void cleanupSB | ( | ) |
Definition at line 360 of file qpOASESroutines.cpp.
void cleanupVM | ( | ) |
Definition at line 375 of file qpOASESroutines.cpp.
void hotstart | ( | double * | g, |
double * | lb, | ||
double * | ub, | ||
double * | lbA, | ||
double * | ubA, | ||
int * | nWSR, | ||
double * | x, | ||
double * | obj, | ||
int * | status, | ||
int * | nWSRout, | ||
double * | y | ||
) |
Definition at line 254 of file qpOASESroutines.cpp.
void hotstartSB | ( | double * | g, |
double * | lb, | ||
double * | ub, | ||
int * | nWSR, | ||
double * | x, | ||
double * | obj, | ||
int * | status, | ||
int * | nWSRout, | ||
double * | y | ||
) |
Definition at line 283 of file qpOASESroutines.cpp.
void hotstartVM | ( | double * | H, |
double * | g, | ||
double * | A, | ||
double * | lb, | ||
double * | ub, | ||
double * | lbA, | ||
double * | ubA, | ||
int * | nWSR, | ||
double * | x, | ||
double * | obj, | ||
int * | status, | ||
int * | nWSRout, | ||
double * | y | ||
) |
Definition at line 312 of file qpOASESroutines.cpp.
void init | ( | double * | H, |
double * | g, | ||
double * | A, | ||
double * | lb, | ||
double * | ub, | ||
double * | lbA, | ||
double * | ubA, | ||
int * | nV, | ||
int * | nC, | ||
int * | nWSR, | ||
double * | x, | ||
double * | obj, | ||
int * | status, | ||
int * | nWSRout, | ||
double * | y | ||
) |
Definition at line 170 of file qpOASESroutines.cpp.
void initSB | ( | double * | H, |
double * | g, | ||
double * | lb, | ||
double * | ub, | ||
int * | nV, | ||
int * | nWSR, | ||
double * | x, | ||
double * | obj, | ||
int * | status, | ||
int * | nWSRout, | ||
double * | y | ||
) |
Definition at line 199 of file qpOASESroutines.cpp.
void initVM | ( | double * | H, |
double * | g, | ||
double * | A, | ||
double * | lb, | ||
double * | ub, | ||
double * | lbA, | ||
double * | ubA, | ||
int * | nV, | ||
int * | nC, | ||
int * | nWSR, | ||
double * | x, | ||
double * | obj, | ||
int * | status, | ||
int * | nWSRout, | ||
double * | y | ||
) |
Definition at line 225 of file qpOASESroutines.cpp.
int int_cleanup | ( | char * | fname | ) |
Definition at line 1039 of file qpOASESinterface.c.
int int_cleanupSB | ( | char * | fname | ) |
Definition at line 1057 of file qpOASESinterface.c.
int int_cleanupVM | ( | char * | fname | ) |
Definition at line 1074 of file qpOASESinterface.c.
int int_hotstart | ( | char * | fname | ) |
Definition at line 649 of file qpOASESinterface.c.
int int_hotstartSB | ( | char * | fname | ) |
Definition at line 777 of file qpOASESinterface.c.
int int_hotstartVM | ( | char * | fname | ) |
Definition at line 885 of file qpOASESinterface.c.
int int_init | ( | char * | fname | ) |
Definition at line 253 of file qpOASESinterface.c.
int int_initSB | ( | char * | fname | ) |
Definition at line 395 of file qpOASESinterface.c.
int int_initVM | ( | char * | fname | ) |
Definition at line 507 of file qpOASESinterface.c.
int int_qpOASES | ( | char * | fname | ) |
Definition at line 115 of file qpOASESinterface.c.
int int_solve | ( | char * | fname | ) |
int int_solveSB | ( | char * | fname | ) |
int int_solveVM | ( | char * | fname | ) |
void qpoases | ( | double * | H, |
double * | g, | ||
double * | A, | ||
double * | lb, | ||
double * | ub, | ||
double * | lbA, | ||
double * | ubA, | ||
int * | nV, | ||
int * | nC, | ||
int * | nWSR, | ||
double * | x, | ||
double * | obj, | ||
int * | status, | ||
int * | nWSRout, | ||
double * | y | ||
) |
Definition at line 143 of file qpOASESroutines.cpp.
int C2F() qpOASESgateway | ( | ) |
int sci_gateway | ( | char * | name, |
gate_function | f | ||
) |
int qp_rowsA = -1 |
Definition at line 106 of file qpOASESinterface.c.
int qp_rowsH = -1 |
Definition at line 105 of file qpOASESinterface.c.
int qpb_rowsH = -1 |
Definition at line 107 of file qpOASESinterface.c.
int sqp_rowsA = -1 |
Definition at line 109 of file qpOASESinterface.c.
int sqp_rowsH = -1 |
Definition at line 108 of file qpOASESinterface.c.