Graphviz  2.29.20120524.0446
lib/neatogen/mosek_quad_solve.h
Go to the documentation of this file.
00001 /* $Id$ $Revision$ */
00002 /* vim:set shiftwidth=4 ts=8: */
00003 
00020 #ifdef MOSEK
00021 #ifndef _QSOLVE_H_
00022 #define _QSOLVE_H_
00023 
00024 #include <mosek.h> /* Include the MOSEK definition file. */
00025 #include "types.h"
00026 #include <csolve_VPSC.h>
00027 
00028 typedef struct {
00029         int r;
00030         MSKenv_t  env;
00031         MSKtask_t task;
00032         double *qval;
00033         int *qsubi,*qsubj;
00034         double *xx;
00035         int num_variables;
00036 } MosekEnv;
00037 
00038 MosekEnv* mosek_init_hier(float* lap, int n,int *ordering,int *level_indexes,int num_divisions, float separation);
00039 void mosek_quad_solve_hier(MosekEnv*,float *b,int n,float* coords, float *hierarchy_boundaries);
00040 MosekEnv* mosek_init_sep(float* lap, int nv, int ndv, Constraint** cs, int m);
00041 void mosek_quad_solve_sep(MosekEnv*,int n,float *b,float* coords);
00042 void mosek_delete(MosekEnv*);
00043 
00044 
00045 #endif /* _QSOLVE_H_ */
00046 #endif /* MOSEK */