30 class CMosek :
public CSGObject
48 CMosek(int32_t num_con, int32_t num_var);
57 inline MSKrescodee get_rescode()
const {
return m_rescode; }
66 static void MSKAPI
print(
void* handle,
char str[]);
84 MSKrescodee init_sosvm(int32_t M, int32_t N,
85 int32_t num_aux, int32_t num_aux_con,
86 SGMatrix< float64_t > C, SGVector< float64_t > lb,
87 SGVector< float64_t > ub, SGMatrix< float64_t > A,
88 SGVector< float64_t > b);
102 MSKrescodee add_constraint_sosvm(SGVector< float64_t > dPsi,
115 static MSKrescodee wrapper_putaveclist(MSKtask_t & task, SGMatrix< float64_t > A);
126 static MSKrescodee wrapper_putboundlist(MSKtask_t & task, SGVector< float64_t > b);
138 MSKrescodee wrapper_putqobj(SGMatrix< float64_t > Q0)
const;
146 MSKrescodee optimize(SGVector< float64_t > sol);
149 void delete_problem();
159 void display_problem();
166 float64_t get_primal_objective_value()
const;
169 virtual const char* get_name()
const {
return "Mosek"; }
179 MSKrescodee m_rescode;