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 63 of file QPSParser.cpp.
|
private |
Definition at line 65 of file QPSParser.cpp.
|
private |
Definition at line 66 of file QPSParser.cpp.
|
inline |
Definition at line 98 of file QPSParser.cpp.
|
inline |
Definition at line 244 of file QPSParser.cpp.
|
inline |
Definition at line 107 of file QPSParser.cpp.
|
inline |
Definition at line 125 of file QPSParser.cpp.
|
inline |
Definition at line 264 of file QPSParser.cpp.
|
inline |
Definition at line 275 of file QPSParser.cpp.
|
inline |
Definition at line 156 of file QPSParser.cpp.
|
inline |
Definition at line 145 of file QPSParser.cpp.
|
inline |
Definition at line 173 of file QPSParser.cpp.
|
inline |
Definition at line 190 of file QPSParser.cpp.
|
inline |
Definition at line 218 of file QPSParser.cpp.
|
inline |
Definition at line 289 of file QPSParser.cpp.
Definition at line 100 of file QPSParser.cpp.
|
private |
Definition at line 75 of file QPSParser.cpp.
|
private |
Definition at line 95 of file QPSParser.cpp.
|
private |
Definition at line 70 of file QPSParser.cpp.
|
private |
Definition at line 84 of file QPSParser.cpp.
|
private |
Definition at line 93 of file QPSParser.cpp.
|
private |
Definition at line 92 of file QPSParser.cpp.
Definition at line 79 of file QPSParser.cpp.
Definition at line 83 of file QPSParser.cpp.
|
private |
Definition at line 71 of file QPSParser.cpp.
|
private |
Definition at line 72 of file QPSParser.cpp.
|
private |
Definition at line 90 of file QPSParser.cpp.
|
private |
Definition at line 86 of file QPSParser.cpp.
|
private |
Definition at line 73 of file QPSParser.cpp.
|
private |
Definition at line 85 of file QPSParser.cpp.
|
private |
Definition at line 78 of file QPSParser.cpp.
|
private |
Definition at line 69 of file QPSParser.cpp.
|
private |
Definition at line 88 of file QPSParser.cpp.
|
private |
Definition at line 81 of file QPSParser.cpp.