26 #ifndef CASADI_SQIC_INTERFACE_HPP
27 #define CASADI_SQIC_INTERFACE_HPP
29 #include "casadi/core/conic.hpp"
30 #include <casadi/interfaces/sqic/casadi_conic_sqic_export.h>
63 explicit SqicInterface(
const std::map<std::string, Sparsity>& st);
72 std::string
class_name()
const override {
return "SqicInterface";}
78 virtual void generateNativeCode(std::ostream& file)
const;
80 virtual void evaluate();
83 static void sqic_error(
const std::string& module, casadi_int flag);
86 static std::map<casadi_int, std::string> calc_flagmap();
89 static std::map<casadi_int, std::string>
flagmap;
104 std::vector<double>
x_;
110 std::vector<casadi_int>
hs_;
bool is_init_
Flag: is already initialized.
static Conic * creator(const std::map< std::string, Sparsity > &st)
Create a new QP Solver.
std::vector< casadi_int > hEtype_
Storage space for sqic hEtype variable.
std::vector< double > pi_
Storage space for sqic rc variable.
std::vector< double > rc_
Storage space for sqic rc variable.
SqicInterface()
Constructor.
std::string class_name() const override
Readable name of the internal class.
static const std::string meta_doc
A documentation string.
std::vector< casadi_int > locH_
Storage space for sqic locH variable.
std::vector< casadi_int > locA_
Storage space for sqic locA variable.
const char * plugin_name() const override
std::vector< casadi_int > indA_
Storage space for sqic indA variable.
static std::map< casadi_int, std::string > flagmap
Error message map.
std::vector< casadi_int > indH_
Storage space for sqic indH variable.
std::vector< double > bu_
Storage space for sqic bu variable.
std::vector< casadi_int > hs_
Storage space for sqic hs variable.
Function formatA_
Helper function to bring A into correct format.
std::vector< double > x_
Storage space for sqic x variable.
std::vector< double > bl_
Storage space for sqic bl variable.