Public Member Functions | |
void | addBound (boost::fusion::vector< Chars, Chars, Chars, Chars, Chars, Chars, Chars, double > const &vars) |
void | addColumn (boost::fusion::vector< Chars, Chars, Chars, Chars, Chars, double, Chars > const &vars) |
void | addColumnDouble (boost::fusion::vector< Chars, Chars, Chars, Chars, double, Chars, Chars, Chars, double > const &vars) |
void | addFreeBound (boost::fusion::vector< Chars, Chars, Chars, Chars, Chars, Chars, Chars > const &vars) |
void | addQuadTerm (boost::fusion::vector< Chars, Chars, Chars, Chars, Chars, double, Chars > const &vars) |
void | addRangeDouble (boost::fusion::vector< Chars, Chars, Chars, Chars, Chars, double, Chars, Chars, Chars, double > const &vars) |
void | addRangeSingle (boost::fusion::vector< Chars, Chars, Chars, Chars, Chars, double, Chars > const &vars) |
void | addRHS (boost::fusion::vector< Chars, Chars, Chars, Chars, Chars, double, Chars > const &vars) |
void | addRHSDouble (boost::fusion::vector< Chars, Chars, Chars, Chars, Chars, double, Chars, Chars, Chars, double > const &vars) |
void | addRow (boost::fusion::vector< Chars, char, Chars, Chars, Chars > const &vars) |
QP | makeQP () |
QPSVisitor () | |
void | setName (boost::fusion::vector< Chars, Chars, Chars > const &name) |
Private Types | |
typedef std::unordered_map< Key, Matrix11 > | coefficient_v |
typedef std::unordered_map< std::string, coefficient_v > | constraint_v |
Private Attributes | |
std::unordered_map< std::string, double > | b |
const bool | debug = false |
constraint_v | E |
double | f = 0 |
KeyVector | free |
std::unordered_map< Key, double > | fx |
std::unordered_map< Key, Vector1 > | g |
std::unordered_map< Key, std::unordered_map< Key, Matrix11 > > | H |
constraint_v | IG |
constraint_v | IL |
std::unordered_map< Key, double > | lo |
std::string | name_ |
unsigned int | numVariables |
std::string | obj_name |
std::unordered_map< std::string, double > | ranges |
std::unordered_map< std::string, constraint_v * > | row_to_constraint_v |
std::unordered_map< Key, double > | up |
std::unordered_map< std::string, Key > | varname_to_key |
As the parser reads a file, it call functions in this visitor. This visitor in turn stores what the parser has read in a way that can be later used to build the full QP problem in the file.
Definition at line 64 of file QPSParser.cpp.
|
private |
Definition at line 66 of file QPSParser.cpp.
|
private |
Definition at line 67 of file QPSParser.cpp.
|
inline |
Definition at line 99 of file QPSParser.cpp.
|
inline |
Definition at line 245 of file QPSParser.cpp.
|
inline |
Definition at line 108 of file QPSParser.cpp.
|
inline |
Definition at line 126 of file QPSParser.cpp.
|
inline |
Definition at line 265 of file QPSParser.cpp.
|
inline |
Definition at line 276 of file QPSParser.cpp.
|
inline |
Definition at line 157 of file QPSParser.cpp.
|
inline |
Definition at line 146 of file QPSParser.cpp.
|
inline |
Definition at line 174 of file QPSParser.cpp.
|
inline |
Definition at line 191 of file QPSParser.cpp.
|
inline |
Definition at line 219 of file QPSParser.cpp.
|
inline |
Definition at line 290 of file QPSParser.cpp.
Definition at line 101 of file QPSParser.cpp.
|
private |
Definition at line 76 of file QPSParser.cpp.
|
private |
Definition at line 96 of file QPSParser.cpp.
|
private |
Definition at line 71 of file QPSParser.cpp.
|
private |
Definition at line 85 of file QPSParser.cpp.
|
private |
Definition at line 94 of file QPSParser.cpp.
|
private |
Definition at line 93 of file QPSParser.cpp.
Definition at line 80 of file QPSParser.cpp.
Definition at line 84 of file QPSParser.cpp.
|
private |
Definition at line 72 of file QPSParser.cpp.
|
private |
Definition at line 73 of file QPSParser.cpp.
|
private |
Definition at line 91 of file QPSParser.cpp.
|
private |
Definition at line 87 of file QPSParser.cpp.
|
private |
Definition at line 74 of file QPSParser.cpp.
|
private |
Definition at line 86 of file QPSParser.cpp.
|
private |
Definition at line 79 of file QPSParser.cpp.
|
private |
Definition at line 70 of file QPSParser.cpp.
|
private |
Definition at line 89 of file QPSParser.cpp.
|
private |
Definition at line 82 of file QPSParser.cpp.