Graphviz  2.41.20171026.1811
mosek_quad_solve.h
Go to the documentation of this file.
1 /* $Id$ $Revision$ */
2 /* vim:set shiftwidth=4 ts=8: */
3 
20 #ifdef MOSEK
21 #ifndef _QSOLVE_H_
22 #define _QSOLVE_H_
23 
24 #include <mosek.h> /* Include the MOSEK definition file. */
25 #include "types.h"
26 #include <csolve_VPSC.h>
27 
28 typedef struct {
29  int r;
30  MSKenv_t env;
31  MSKtask_t task;
32  double *qval;
33  int *qsubi,*qsubj;
34  double *xx;
35  int num_variables;
36 } MosekEnv;
37 
38 MosekEnv* mosek_init_hier(float* lap, int n,int *ordering,int *level_indexes,int num_divisions, float separation);
39 void mosek_quad_solve_hier(MosekEnv*,float *b,int n,float* coords, float *hierarchy_boundaries);
40 MosekEnv* mosek_init_sep(float* lap, int nv, int ndv, Constraint** cs, int m);
41 void mosek_quad_solve_sep(MosekEnv*,int n,float *b,float* coords);
42 void mosek_delete(MosekEnv*);
43 
44 
45 #endif /* _QSOLVE_H_ */
46 #endif /* MOSEK */