8#ifndef IGL_MOSEK_MOSEK_QUADPROG_H
9#define IGL_MOSEK_MOSEK_QUADPROG_H
10#include "../igl_inline.h"
16#define EIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET
18#include <Eigen/Sparse>
88 template <
typename Index,
typename Scalar>
91 std::vector<Index> & Qi,
92 std::vector<Index> & Qj,
93 std::vector<Scalar> & Qv,
94 const std::vector<Scalar> & c,
97 std::vector<Scalar> & Av,
98 std::vector<Index> & Ari,
99 const std::vector<Index> & Acp,
100 const std::vector<Scalar> & lc,
101 const std::vector<Scalar> & uc,
102 const std::vector<Scalar> & lx,
103 const std::vector<Scalar> & ux,
105 std::vector<Scalar> & x);
122 const Eigen::SparseMatrix<double> & Q,
123 const Eigen::VectorXd & c,
125 const Eigen::SparseMatrix<double> & A,
126 const Eigen::VectorXd & lc,
127 const Eigen::VectorXd & uc,
128 const Eigen::VectorXd & lx,
129 const Eigen::VectorXd & ux,
131 Eigen::VectorXd & x);
135#ifndef IGL_STATIC_LIBRARY
136# include "mosek_quadprog.cpp"
#define IGL_INLINE
Definition igl_inline.h:15
bool mosek_quadprog(const Index n, std::vector< Index > &Qi, std::vector< Index > &Qj, std::vector< Scalar > &Qv, const std::vector< Scalar > &c, const Scalar cf, const Index m, std::vector< Scalar > &Av, std::vector< Index > &Ari, const std::vector< Index > &Acp, const std::vector< Scalar > &lc, const std::vector< Scalar > &uc, const std::vector< Scalar > &lx, const std::vector< Scalar > &ux, MosekData &mosek_data, std::vector< Scalar > &x)
Structure for holding MOSEK data for solving a quadratic program.
Definition mosek_quadprog.h:26
std::map< MSKiparame, int > intparam
Integer parameters.
Definition mosek_quadprog.h:28
MosekData()
Default values.
std::map< MSKdparame, double > douparam
Double parameters.
Definition mosek_quadprog.h:30